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" Subject: Re: Printing to network printers Date: Tue, 16 Dec 2008 22:10:49 -0000 Lines: 75 Message-ID: References: <4947D2A9 DOT 3060505 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=response Content-Transfer-Encoding: 7bit In-Reply-To: X-Antivirus-Status: Clean X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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" wrote in message news:gi98pb$m01$1 AT ger DOT gmane DOT org... > > > "Larry Hall (Cygwin)" 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 /// >> syntax may work. An IP address may be used in place of >> 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/