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 Date: Fri, 28 Feb 2003 09:07:29 -0500 From: Charles Krug To: cygwin AT cygwin DOT com Subject: Re: Printing from cygwin? Message-ID: <20030228140729.GB26496@pentek.com> Mail-Followup-To: cygwin AT cygwin DOT com References: <20030227230356 DOT GO22545 AT pentek DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030227230356.GO22545@pentek.com> User-Agent: Mutt/1.4i On Thu, Feb 27, 2003 at 06:03:56PM -0500, Charles Krug wrote: > I'm having trouble with cygwin lpr printing to my default Win2k printer. > A search of the archives revealed many mailings from people who > similarly could not print using the cygwin lpr, but I couldn't find any > stories of "success." > > I invoke: > > lpr -P\\\\server\\printer file > > Printer is considered by Win2k to be a network printer. > > Regardless of the type of file I send, I get the same error reported by > lpr from (apparantly) Win2k about "incorrect datatype." > Probably a fair sight more useful if I post the actual error message: lpr: StartDocPrinter error lpr: The specified datatype is invalid Sorry about that Charles -- Charles Krug, Jr. Systems Engineer Pentek Corp 1 Park Way Upper Saddle River, NJ 07458 -- 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/