View Single Post
  #2  
Old March 29th 08, 02:05 AM posted to microsoft.public.win98.printing
Jeff Richards
External Usenet User
 
Posts: 1,526
Default Need command line lpr for Win98

Can you describe what you are trying to do in more detail? LPR won't work
without the LPD deamon, and there is no equivalent in Windows. Or is it LPD
on a UNIX server that you are trying to print to?

A W98 batch file can't print to a remote (or any) printer - only an
application, which understands the features of the particular printer, can
print a document. A batch file could copy a print file (usually type PRN)
created by an application to a remote printer - is that what you are trying
to do?

Or, you could write a script that uses the scripting feature of the
application (such as WORD) to automate the printing function of that
application which could (depending on the scripting engine used) select a
network printer.
--
Jeff Richards
MS MVP (Windows - Shell/User)
"Jim Seymour" wrote in message
...
I am in need of a lpr command-line utility for Windows 98 - but my searches
so far have revealed only one (overpriced) option.

My backup plan is to install Cygwin and use their lpr utility, but it
seems like somebody somewhere would have written a native-Windows
utility...

Barring that, can someone suggest a way to print to a network-connected
printer from a Win98 batch file?

--
Jim Seymour