Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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-Server-Uuid: 2d3b7162-db1d-11d3-b8ee-0008c7dfb6f1 Message-ID: <718198F862F1D411B10F0002A50A4DB1059FE8F6@e90wwce3.dx.deere.com> From: "Polley Christopher W" To: "'cygwin AT cygwin DOT com'" cc: "'jason AT astadhyayi DOT net'" Subject: RE: Printing postscript file Date: Tue, 2 Apr 2002 08:35:21 -0600 MIME-Version: 1.0 X-WSS-ID: 10B71E4A96749-01-02 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I don't use XP, so this is based on my NT/W2K/95/ME experience, but when used in conjunction with '//host', 'name' should be the name that it is shared as -- from the "Sharing..." menu option. Type \\JASON in your Start->Run dialog -- that will show you the shares that are exposed. HTH, Chris > -----Original Message----- > From: Jason C. Johnston [SMTP:jason AT astadhyayi DOT net] > Sent: Tuesday, April 02, 2002 3:11 AM > To: cygwin AT cygwin DOT com > Subject: RE: Printing postscript file > > Michael A Chase wrote: > >> > >> lpr -P //host/name gmeta1.ps- what to put in //host etc. ? > >> > > > >Check your Window's printer definitions. 'host' is the name of the > server > >hosting the printer. 'name' is the shared name of the printer in that > >host. > >If its a local printer, use your computer's name and the printer's > name. > > Doesn't work for me on XP. Mine is a local printer, my computer's name > is -- according to the value of the COMPUTERNAME envvar -- 'JASON', and > my printer name is -- according to the Printers and Faxes control panel > -- 'HP LaserJet 1200 Series PCL'. This information is also given thus on > the Windows XP Printer Test Page. However: > > $ lpr -P "//JASON/HP LaserJet 1200 Series PCL" eight.c > lpr: can't open '//JASON/HP LaserJet 1200 Series PCL' for > writing > lpr: The printer name is invalid. > > (Yes, I know I shouldn't be sending it a textfile but rather PCL, but I > don't think that's the issue here.) > > Just for laughs I tried substituting the 'Port name", whatever that is, > for the 'Printer name', with equally dismal results: > > $ lpr -P "//JASON/DOT4_001" eight.c > lpr: can't open '//JASON/DOT4_001' for writing > lpr: The printer name is invalid. > > I have read all the postings in this on-again, off-again thread, but > although they raise, they do not appear to solve, the issue which is > that some of us cannot connect to our printer *at all* under Cygwin, and > it always comes down to the fact the we do not know how to refer to it > *symbolically* (an ability which all the various fixes assume). > > It may be relevant that my printer is connected via USB, but then again, > private correspondence with someone else having these problems, and who > is connected via the parallel port I gather, suggests that it may not > be. > > Cygcheck output attached as file cygout.txt. > > _____________________________________________ > Jason C. Johnston > mailto:jason AT astadhyayi DOT net > http://www.astadhyayi.net > > << File: cygout.txt >> << File: ATT11063004.txt >> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/