Can't print because .lnk makes printer name invalid
Rockefeller, Harry
harryr@ssd.fsi.com
Thu Apr 20 14:48:00 GMT 2006
I had our UNIX administrator work on this for
a couple of days. He totally reinstalled
Cygwin. The problem still exists.
However, I created a workaround which may be
of benefit to others.
With a postscript file or output from a2ps
use this command
cat $i.ps | $HOME/bin/print.pl
and this perl file
#!/usr/bin/perl -w
# print.pl: Cygwin print workaround
use IO::Socket::INET;
$socket = IO::Socket::INET->new("10.30.16.51:9100")
or die "Couldn't Connect to 10.30.16.51 port 9100: $!";
while (<>) {
print $socket "$_\n";
}
print "\n";
exit;
--
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