| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| MIME-Version: | 1.0 |
| Subject: | Can't print because .lnk makes printer name invalid |
| Date: | Thu, 20 Apr 2006 08:51:20 -0500 |
| Message-ID: | <B774920D825C2D4880A3C1B0D6EF941805B28BA5@ssdmx.ssd.fsi.com> |
| From: | "Rockefeller, Harry" <harryr AT ssd DOT fsi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id k3KDpGUU016766 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |