WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Need command line lpr for Win98

 
   Home -> Windows Other -> Printing RSS
Next:  US CERT - CISCO  
Author Message
Jim Seymour

External


Since: Mar 28, 2008
Posts: 3



(Msg. 1) Posted: Fri Mar 28, 2008 4:38 pm
Post subject: Need command line lpr for Win98
Archived from groups: microsoft>public>win98>printing (more info?)

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
Back to top
Login to vote
Jeff Richards

External


Since: Mar 14, 2004
Posts: 2440



(Msg. 2) Posted: Sat Mar 29, 2008 4:01 am
Post subject: Re: Need command line lpr for Win98 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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" <nntp.js RemoveThis @thentao.com> wrote in message
news:47ED8176.3040703@thentao.com...
>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
Back to top
Login to vote
Jim Seymour

External


Since: Mar 28, 2008
Posts: 3



(Msg. 3) Posted: Mon Mar 31, 2008 8:46 am
Post subject: Re: Need command line lpr for Win98 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jeff Richards wrote:
> 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?

Thanks for the response.

The network printer I'll be using (a Brother HL2070N) acts as a LPD
daemon. From a UNIX or Windows 2000+ command line, I could run "lpr"
and easily send a text file to the printer.

With Win98, however, there is no built-in lpr utility.

My next option is to capture the printer to "LPTx" and see if I can
simply use "copy file LPTx".

But "lpr" seems like a better solution - if I can find such a utility.

> [...] 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?

Nope. I need to access the same printer from four machines. Since
these four PCs are not guaranteed to be ON at any given time, I can't
use a "shared" printer.

--
Jim Seymour
Back to top
Login to vote
Jim Seymour

External


Since: Mar 28, 2008
Posts: 3



(Msg. 4) Posted: Tue Apr 01, 2008 1:43 pm
Post subject: Re: Need command line lpr for Win98 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jim Seymour wrote:
> 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?

Following up to my own post...

I was, perhaps, over-thinking my problem. I found a simple solution in
the freeware "PrintFile" utility: http://www.lerup.com/printfile/

By installing the drivers for my printer - and making it my default
printer, I am now able to easily print to it from a batch file.

All is good. Thanks to those who listened...

--
Jim Seymour
Back to top
Login to vote
Display posts from previous:   
       Home -> Windows Other -> Printing All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
  Windows Other
 Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET