This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Can't print because .lnk makes printer name invalid
- From: "Rockefeller, Harry" <harryr at ssd dot fsi dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 24 Apr 2006 08:41:36 -0500
- Subject: RE: Can't print because .lnk makes printer name invalid
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/