delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/20/15:22:18

X-Spam-Check-By: sourceware.org
Date: Thu, 20 Apr 2006 15:22:06 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Rockefeller, Harry" <harryr AT ssd DOT fsi DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Can't print because .lnk makes printer name invalid
In-Reply-To: <B774920D825C2D4880A3C1B0D6EF941805B28BA5@ssdmx.ssd.fsi.com>
Message-ID: <Pine.GSO.4.63.0604201520300.10467@access1.cims.nyu.edu>
References: <B774920D825C2D4880A3C1B0D6EF941805B28BA5 AT ssdmx DOT ssd DOT fsi DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Thu, 20 Apr 2006, Rockefeller, Harry wrote:

> I had our UNIX administrator work on this for a couple of days.  He
> totally reinstalled Cygwin.  The problem still exists.

This has nothing to do with Cygwin -- the link is probably on the server
share...  Can you "ls" it and see what the permissions are?

> 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;

You do realize that this completely bypasses the printer driver and sends
the postscript directly to the printer, right?  If this is what you want,
fine, but I wanted to make sure the caveat was in the archives.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019