I have Cygwin on a Windows 7 machine. In my
.bashrc file, I have tried
Escaping the backslashes, which, when I type
$lpr -D, gives me
Windows Printer Name = '\\myPrintServer\myPrinter.lnk' lpr: printer error: can't open '\\myPrintServer\myPrinter.lnk' for writing: The printer name is invalid.
But I didn't type the
.lnk there and don't think I want it. If this is the problem, how do I get it to not append
.lnk? If the problem is something else, I'm all ears.