delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/17/04:43:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Steve Rainbird" <steve DOT rainbird AT mssint DOT com>
Subject: Re: Printing to network printers
Date: Wed, 17 Dec 2008 09:42:47 -0000
Lines: 77
Message-ID: <giahio$ugt$1@ger.gmane.org>
References: <gi6p1c$rq6$2 AT ger DOT gmane DOT org> <189950 DOT 11753 DOT qm AT web65613 DOT mail DOT ac4 DOT yahoo DOT com> <gi98rc$m6s$1 AT ger DOT gmane DOT org> <315835 DOT 54676 DOT qm AT web65606 DOT mail DOT ac4 DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <315835.54676.qm@web65606.mail.ac4.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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


"Rick Rankin" <rrankin1424-cygwin AT yahoo DOT com> wrote in message 
news:315835 DOT 54676 DOT qm AT web65606 DOT mail DOT ac4 DOT yahoo DOT com...
>
>
>
>
>> From: Steve Rainbird
>>
>> "Rick Rankin" wrote in message
>> news:189950 DOT 11753 DOT qm AT web65613 DOT mail DOT ac4 DOT yahoo DOT com...
>> >> From: Steve Rainbird
>> >>
>> >
>> >> How can I print to a network printer?
>> >>
>> >> I know if its attached to a server I can say
>> >>
>> >> lpr -d //server/printer file
>> >>
>> >>
>> >> But what do I do if the printer isn't attached to a server and is just 
>> >> a
>> printer
>> >> on the network?
>> >
>> > You should be able to add the printer through control panel, which will 
>> > give
>> it a local name. You can then use that name as the argument to -d. It's 
>> usually
>> simpler if the name doesn't contain any spaces, but that's not a 
>> requirement.
>> >
>> > Many network printers also provide a UNC-style name (//server/printer), 
>> > even
>> though they're not directly connected a server, per se. If you can browse 
>> to the
>> printer when you're adding it, you should be able to use that name 
>> directly. It
>> all depends on how the provides its networking capability.
>> >
>> > I assume you know that lpr is quite stupid, i.e., it just spools the 
>> > file,
>> assuming that it is already correctly formatted for the target printer. 
>> It was
>> originally written to spool a postscript file to a postscript printer. It 
>> didn't
>> need to do any formatting.
>> >
>> > --Rick
>> >
>> >
>>
>> I am actually using enscript which I assume uses lpr for its printing?
>>
>> -- Steve
>>
>
> Well, by default it does. A couple of (hopefully) obvious questions: Is 
> the file you're trying to print (PRINT.BALANCES.20081203083027) a simple 
> ASCII file, and is the printer (IAS_HP4PBN_A) a postscript printer?
>
> --Rick
>
>

Rick,

Yes its a simple ascii file.

I think its a postscript printer but even if I use lpr directly it does the 
same thing (or doesn't if you see what I mean).

-- 
Steve 



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

- Raw text -


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