| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
| Message-ID: | <3820F00D.4E641973@mr.qld.gov.au> |
| Date: | Thu, 04 Nov 1999 12:31:41 +1000 |
| From: | Brett Gerrard <bmgerra AT qdot DOT qld DOT gov DOT au> |
| X-Mailer: | Mozilla 4.51 [en] (WinNT; I) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| To: | cygwin AT sourceware DOT cygnus DOT com |
| Subject: | Using Nt LPR with Cygwin |
I am in the process of converting a UNIX system to run
under Cygwin and WINNT and am having some problems
printing to LPR.
A lot of the scripts pipe output to LPR and since NTs
version needs command line switches I have had to use
a perl script to create a file and then make a system call
with the line :-
system("lpr -S 110.25.32.179 -P AUTO c:\\tmp\\bmg");
Now here is the rub. When I run this I get nothing from the printer.
If I run it from the command line it works and if I change the
name of the input file in the script to one that dosen't exist I get an
error msg from LPR stating that the file dosen't exist.
Any ideas? Or does anyone have a LPR that works normaly
under NT so I can nor use the MS LPR?
Regards,
Brett.
---------------------------------------------------------
Brett Gerrard.
Senior Information Technology Officer
Qld Dept of Main Roads
Work bmgerra AT mr DOT qld DOT gov DOT au
or bmgerra AT mainroads DOT qld DOT gov DOT au
Home bmgerra AT spiderweb DOT com DOT au
Phone 0419738950
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |