X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: Can't print because .lnk makes printer name invalid Date: Fri, 21 Apr 2006 12:39:28 -0500 Message-ID: From: "Rockefeller, Harry" To: X-IsSubscribed: yes 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k3LHdR9T002268 I erased much of the previous email. Here is the context: $ lpq -Sntserver1 -Psw-txt1 Windows 2000 LPD Server Printer \\192.83.227.33\sw-txt1 Owner Status Jobname Job-Id Size Pages Priority ------------------------------------------------------------------------ ---- harryr AT harryr-pc ~/Desktop $ echo $PRINTER \\NTSERVER1\sw-txt1 harryr AT harryr-pc ~/Desktop $ lpr junk lpr: printer error: can't open '\\NTSERVER1\sw-txt1.lnk' for writing: The printer name is invalid. > -----Original Message----- > From: cygwin-owner AT cygwin DOT com > [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Corinna Vinschen > Sent: Friday, April 21, 2006 12:17 PM > To: cygwin AT cygwin DOT com > Subject: Re: Can't print because .lnk makes printer name invalid > > On Apr 21 12:02, Rockefeller, Harry wrote: > > I can open and view the security tab on the properties section > > of the Windows share. > > > > I created a desktop shortcut to the printer and searched all > > files for *servername.lnk but only the desktop link shows up. > > I interpret this to mean that Cygwin itself is appending > > '.lnk' to the printer share. > > No, the .lnk was appended by Windows. The printer shortcut on the > desktop is not the printer, it's just a shortcut. To access > the printer > you need the real printer name, for instance \\server\printer. You > can't use the shortcut for this. > > > Corinna > > -- > Corinna Vinschen Please, send mails > regarding Cygwin to > Cygwin Project Co-Leader cygwin AT cygwin DOT com > Red Hat > > -- > 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/ > > -- 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/