delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/16/17:15:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.0 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: Tue, 16 Dec 2008 22:10:49 -0000
Lines: 75
Message-ID: <gi991a$mtm$1@ger.gmane.org>
References: <gi6p1c$rq6$2 AT ger DOT gmane DOT org> <4947D2A9 DOT 3060505 AT cygwin DOT com> <gi98pb$m01$1 AT ger DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <gi98pb$m01$1@ger.gmane.org>
X-Antivirus-Status: Clean
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


"Steve Rainbird" <steve DOT rainbird AT mssint DOT com> wrote in message 
news:gi98pb$m01$1 AT ger DOT gmane DOT org...
>
>
> "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> wrote in message 
> news:4947D2A9 DOT 3060505 AT cygwin DOT com...
>> Steve Rainbird wrote:
>>> 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?
>>
>> So it's connected to the network with what, some kind of print server?
>> If so and assuming the print server allows you to descibe the printer as
>> a samba share, then the //<printer server name>/<printer share name>
>> syntax may work.  An IP address may be used in place of
>> <printer server name> too.  If not, you need to configure the printer
>> through Windows as a network TCP/IP printer and then access it as you
>> would a local printer.
>>
>>
>> -- 
>> Larry Hall                              http://www.rfk.com
>> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
>> 216 Dalton Rd.                          (508) 893-9889 - FAX
>> Holliston, MA 01746
>>
>> _____________________________________________________________________
>>
>> A: Yes.
>> > Q: Are you sure?
>> >> A: Because it reverses the logical flow of conversation.
>> >>> Q: Why is top posting annoying in email?
>>
>
> I have configured the printer in windows and printed the file to it using 
> notepad.
>
> In the event viewer it says
>
> Document 13, \cobol\prints\PRINT.BALANCES.20081203083027 owned by 
> steve.rainbird was printed on IAS_HP4PBN_A via port IP_10.26.5.11.  Size 
> in bytes: 274872; pages printed: 2
>
> When I print the same file using enscript I get
>
> Document 14, stdin owned by steve.rainbird was printed on IAS_HP4PBN_A via 
> port IP_10.26.5.11.  Size in bytes: 21499; pages printed: 0
>
> For some reason its not printing anything.
>
>
>
> -- 
> Steve
>
>

BTW enscript says

$  enscript -d IAS_HP4PBN_A PRINT.BALANCES.20081203083027
[ 4 pages * 1 copy ] sent to IAS_HP4PBN_A



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