delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/26/14:39:55

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:to:from:subject:date:message-id:references
:mime-version:content-type; q=dns; s=default; b=OqUahGuO0BsDXcMJ
1xOGFJpjFHJZqjp+Oh4F/tcsFJdPiht11FZBv0NL7WStbBUOs/BcEFkf4O+yS2K/
hXLHmEUsJ7p9+SUsQcS+24uxBq9Z36fgxhnOtwtYsyyix3aGlVBgiY93oswQbQlq
STlXicC28ifKwxJiVewOo+7GHzM=
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:to:from:subject:date:message-id:references
:mime-version:content-type; s=default; bh=f+W973NhoBAY0blOrCiqeu
QwRoQ=; b=cT/ptla70Iie6aPw8/yA/KTmife99iojnUFaG9gVzxOlT6wQb3wroW
2Bo0adgN074ChhtUon7b414iZS6OPSCSJjtD0bTHEvinH81uWD+4vaOhXApO2NFk
PXEFazLT6cOoztYn5tjJ2090v9GE1VMdSNHOvZb8jQZBHKAGOrjqE=
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=2.1 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: David Masterson <dsmasterson AT gmail DOT com>
Subject: Re: LPR problem ?
Date: Wed, 26 Mar 2014 11:39:22 -0700
Lines: 41
Message-ID: <86siq4rehx.fsf@gmail.com>
References: <86lhw4yzzh DOT fsf AT gmail DOT com> <532BF99A DOT 5020100 AT tlinx DOT org>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (cygwin)
X-IsSubscribed: yes

Let's try this again...

Linda Walsh writes:

> David Masterson wrote:
>
>> Anyone have ideas on how to debug this??
>
> ----
> Have you tried the -D switch with
> lpr to enable debugging output?
>
> Are you sure you are correctly specifying the device
> name?

It seems to be correct.  The debug switch on lpr doesn't say a whole lot:

$ lpr -D tasks.txt 
Windows printer name = 'Dell AIO 810'
isWindows9x = 0, isWindows2K_NT4 = 1
Printer name: 'Journal Note Writer', Port name: 'Journal Note Writer Port:'
Printer name: 'Send To Neat', Port name: 'sdtn'
Printer name: 'Microsoft XPS Document Writer', Port name: 'PORTPROMPT:'
Printer name: 'Fax', Port name: 'SHRFAX:'
Printer name: 'Dell PC Fax', Port name: 'Dell PC Fax'
Printer name: 'Dell AIO 810', Port name: 'USB001'

So, this gives me the impression that it is sending the information to
the right place.  Also, when I do this, the Dell popup that tells you
what is being printed and where *DOES* popup to suggest that it got the
print request and it is trying to print it out.  The problem is that it
seems to send the file "somewhere", take a second to close the port,
then finish up and not report any problems.

p.s. "print /p tasks.txt" seems to work from cygwin Xterm I did the
"lpr" above from.  Just not sure how to control the size of the output
and would prefer to use the cygwin command.

Any other options?
-- 
David Masterson


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019