Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can NPRINTER.EXE "auto-load"???

Status
Not open for further replies.

GaryEllington

Programmer
Feb 3, 2001
11
US
I have the following situation:

DOS 6.2 workstation with a printer attached to LPT1:, printer exists in PCONSOLE, PSERVER loads automatically on server startup, installed NPRINTER on workstation, everything works fine, the printer prints the jobs sent to the print queue.

But.... how can I make NPRINTER "auto-load"? I don't want the user to have to go through the selection of which printer, is it parallel/serial, which LPT/Interrupt, press F10 to install, etc, etc, every time they reboot this machine.

I've got the call to NPRINTER.EXE in autoexec.bat, with the printername specified, but cannot figure out how to answer the other prompts in the command line.
 
Thanks, but I've already seen that info in the docfiles on my NW411 CD.

According to this doc, it is not possible to do what I want; i.e. invoke NPRINTER.EXE in a batch file without requiring ANY user input.

Anyone know if this is true/false? Or a workaround? Will stuffing the keyboard buffer with the necessary keystrokes before calling NPRINTER.EXE work?
 
We run nprint in batch files. Nprint is stored on the network, and the printer queue and options are specified in the batch file using syntax:

nprint filename Q=queuename /options

You can view all the options by typing nprint /? all

John
 
I figured it out, thanks for the advice.

I had the printer configured as "Other" in PCONSOLE. Didn't realize that I could leave it set it to parallel and just make it a "manual load" printer.

I love it when it is something obvious and stoooooopid, and I beg for help in front of everyone! Reminds me not to be snotty when someone else asks a dumb one.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top