X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=w/QsIattnvk2D1VH muEAgU46fQp5Sp5fgJXBfQXNGzhr2ck8kmgm9rWodOevSTzyiGV3P3qtidoRDJcj BJEnTO0Zi5o5Z3j249Cc/SOAKoOJtwLh+cmMdEwDeb77/UDbwMqaQ6p7BPCHdDa6 VWxLdc4HGJhXxziDfzSTLyIciBo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=TizEbOIr9jVvjPqCXqnGJf rxtKE=; b=i3pDBHoll3Q7Kt3eu74zz7VB32s/FHTJJy9gWW9m9ZHQhQwUwFZi8g J1lwtWT/ShgbPFHh6CGLyKdak2mTusBbKd9gPXRjjtJUxP0+UXIPXAFp5BuLTE9S DpE1ig57L3V4CE59s9oVmoza53zwM3uCACxK/xR5A8QaeU271Kmzk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: <cygwin.cygwin.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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtpback.ht-systems.ru Date: Thu, 27 Mar 2014 01:40:37 +0400 From: Andrey Repin <anrdaemon AT yandex DOT ru> Reply-To: cygwin AT cygwin DOT com Message-ID: <1803838655.20140327014037@yandex.ru> To: David Masterson <dsmasterson AT gmail DOT com>, cygwin AT cygwin DOT com Subject: Re: LPR problem ? In-Reply-To: <8661n0r8xg.fsf@gmail.com> References: <86lhw4yzzh DOT fsf AT gmail DOT com> <681723866 DOT 20140326234117 AT yandex DOT ru> <8661n0r8xg DOT fsf AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, David Masterson! >>> I've installed the complete Cygwin environment on my Windows 8.1 system. >>> When I try to use 'lpr', >> >> lpr to where?... > Not sure I understand the question. I'm trying to LPR a file to my Dell > AIO 810 printer. Basically, just 'lpr file' from within a Cygwin shell > window. Then you probably printing to localhost. >>> it seems like the file is printed properly *except* nothing comes out of the >>> printer. This is a Dell AIO 810 printer that, once I installed the proper >>> driver, doesn't seem to have a problem printing from Windows via (say) >>> Notepad. When I 'lpr' a file under Cygwin, >> >> Are you sure you're using Cygwin's LPR, and not Windows own? > Windows has an 'lpr' command?!? Since the moment it gained TCP/IP support. Part of standard protocol stack. Along with ftp, telnet and other stuff. And not to disappoint anyone, but I've found that windows LPR works better in certain cases. > The command 'which lpr' reports /usr/bin/lpr. Ok. >>> there is no errors and, in fact, the dialog box showing >>> that the file is being printed comes up, cycles out to 99%, thinks for a >>> few seconds, goes to 100%, and then seems to be done. The problem is >>> that nothing comes out of the printer. >> >> Erm...? >> What dialog box? > It seems to be a Dell dialog box possibly produced by the printer > driver. I get it for anything that I try to print out to the printer > under Windows. It pops up in the lower right of the screen and tells > you how far the printout has progressed as well as whether the ink > cartridge is running out. This, at least, gives me the clue that the > 'lpr' command is "kicking" the printer if not quite kicking it > properly. > Do you have a Dell AIO 810 printer? No, but I can quite imagine this kind of annoying boxes. Epson do that alot, so does HP last six or so years. This just confirms that you probably printing to localhost. The answer could be that the resulting job missing something critical, and is refused either by printer driver or the printer itself. If you print something from Windows right after this failure of an experiemnt, don't your LPR'd job gets out as well? Another thought is that LPR works with printer on a low level. Which means... the document you are sending to print must be preformatted in a language the printer understand. I.e. it must be a plain text, PS, PCL or something of that kind. -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 27.03.2014, <01:31> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple