From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8572 invoked by alias); 28 Jun 2014 06:00:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 8547 invoked by uid 89); 28 Jun 2014 06:00:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sat, 28 Jun 2014 06:00:16 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X0lgH-00031l-9D for cygwin@cygwin.com; Sat, 28 Jun 2014 08:00:09 +0200 Received: from 71-84-12-50.dhcp.trlk.ca.charter.com ([71.84.12.50]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Jun 2014 08:00:09 +0200 Received: from dsmasterson by 71-84-12-50.dhcp.trlk.ca.charter.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Jun 2014 08:00:09 +0200 To: cygwin@cygwin.com From: David Masterson Subject: Re: LPR output disappearing Date: Sat, 28 Jun 2014 06:00:00 -0000 Message-ID: <86mwcxd15w.fsf@gmail.com> References: <868uoi9k6p.fsf@gmail.com> <76430859.20140628042746@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (cygwin) X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00434.txt.bz2 Andrey Repin writes: > Greetings, David Masterson! > >> I created a PDF file with Org-Mode in Emacs and used "gv" and "lpr" to >> try to output. I have a Dell A10 printer attached to my Acer PC. The >> output looked like it was going to work in that the Dell popup that >> shows that the printer is about to print something popped up. However, >> it took a long time and eventually did nothing. I turned around and >> printed the same file with Adobe Acrobat Reader and it printed fine, so >> I guess the file is proper PDF. This is my first time attempting to do >> a printout with "lpr" in Cygwin, so maybe I haven't configured something >> appropriately or given lpr the proper arguments (I think it was given >> just the filename). > >> Anyone know what's wrong? > > If I understand you correctly, you've just tried to send PDF over to > the printer through LPR? I'm afraid, it just not going to work, at > all. LPR, in essence, is just a file transfer tool. It doesn't do any > format conversion. Unless your printer natively understand PDF format > (which I highly doubt), it would only output random ASCII garbage, or, > as you've found out, nothing at best. (Nothing is actually the best > possible output, trust me...) I understand what you are saying here. I had forgotten this issue and have forgotten some of the answer to this issue. Let me summarize again: 1. I have a PDF file. 2. The PDF file prints fine via AcroRead under Windows 8.1. 3. The PDF file displays properly via GV under Cygwin. 4. The PDF file doesn't print via GV to LPR from Cygwin. 4.1. The printout causes the usual print popup. 4.2. The popup takes a long time. 4.3. Ultimately, no printout comes out. 5. You suggest that the PDF file is going to the printer by LPR, but is being ignored because it needs to be processed into a print compatible format. My questions are: 1. GV is displaying the file correctly, so hasn't it already been processed before sending it to LPR? 2. LPR is the default print mechanism for GV, so wasn't this issue previously handled? 3. If not, how do people send PDF/PS printouts from Cygwin to the underlying, locally attached Windows printer? 4. Could this be a simple case of improper line endings (NL vs CRLF) and, if so, shouldn't LPR handle that conversion? The answer to #3 is what I'm most interested in. > -- > WBR, > Andrey Repin (anrdaemon@yandex.ru) 28.06.2014, <04:24> > > Sorry for my terrible english... Forgive my English and repeated answers -- problems of trying to use the iPhone for email when your fingers don't always do what you want... :-( -- David Masterson Programmer At Large -- 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