Can't print because .lnk makes printer name invalid
Rockefeller, Harry
harryr@ssd.fsi.com
Mon Apr 24 14:01:00 GMT 2006
Jay Abel wrote:
>I would love to know how to get lpr to just print directly to the
printer's
>IP address, but the above isn't as bad as it seems, since it keeps
windows
>and cygwin print jobs in sequence, and visible in the queue.
>
>I'm sure there is a better way, but the above worked for me.
With help I received from this list I found that the Windows (DOS?)
lpr command *does* work. So, my latest workaround is to create
a couple of aliases which call the Win lpr command instead of
the Cygwin one. From my ~/.bash_login and ~/.bashrc files:
alias lprbw='/cygdrive/c/WINNT/system32/lpr -S ntserver1 -P sw-txt1 '
alias lprcl='/cygdrive/c/WINNT/system32/lpr -S ntserver1 -P hpcj1 '
Maybe something like this will also work for you?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list