delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/28/15:45:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 28 Jul 2003 15:44:40 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Hannu E K Nevalainen (garbage mail)" <garbage_collector AT telia DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: Local printer access question..
In-Reply-To: <NGBBLLIAMFLGJEOAJCCEOEEIDCAA.garbage_collector@telia.com>
Message-ID: <Pine.GSO.4.44.0307281542220.14714-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Mon, 28 Jul 2003, Hannu E K Nevalainen (garbage mail) wrote:

> > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf Of Igor Pechtchanski
>
> > On Sun, 27 Jul 2003, Ishwar Rattan wrote:
> >
> > > Hello,
> > > I am using cygwin (dll 1.3.22) under Windows 2K Pro.
> > > An attempt to use lpr results in:
> > >
> > > lpr: can't open 'prn' for writing
> > > lpr: The printer name is invalid
> > >
> > > Is there a way to access the printer (Deskjet 694C on parallel port)??
> > >
> > > Thanks in advance.
> > > -ishwar
> >
> > If your Windows printer name is "Deskjet 694C", try 'lpr -P "Deskjet
> > 694C"'.  You can also 'export PRINTER="Deskjet 694C"'.
> >       Igor
>
>  I wish it was that easy... I have a "Deskjet 720C" which should be about
> the same thing as the one above. I've tried all of the possible ways
> described in "man lpr".
>
>  All I get is a document showing up "Start > Settings > Printers > HP720C"
> indicating that it is printing. The printer itself does nothing.
>
>  This seems not be cygwin failing but windows or the driver - as the
> behaviour is the same from "cmd.exe" using "PRINT /D:<all possibilities
> tried>"
>
> /Hannu E K Nevalainen, B.Sc EE/Microcomputer systems, 59?14'N, 17?12'E.

Well, it *is* that easy for me on Win2k.  I haven't tried it on other
systems, there might be some peculiarities on 9x/ME/XP.

Some things to try that I can think of are: renaming your printer, or
making it shared and using the UNC notation to access it (e.g., export
PRINTER='\\MYCOMPUTER\HP720C').
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


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