General discussion

Locked

Dos LPT1 and LPT2

By Shawn Wheeler ·
i am trying to use NET USE to print to a network printer on LPT2. Net use will connect and print to LPT1; however net use will connect to LPT2 but not print...
any suggestions?
win2K, HP4050

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Dos LPT1 and LPT2

by OldChewie In reply to Dos LPT1 and LPT2

This is from TechNet - the Win2k Server manual. It is basically a list of things to double-check.

To run printing commands from the command prompt
1. From the Start menu, point to Programs, point to Accessories, and then click Command Prompt to open a command window.
2. At the command prompt, you can run the following printing-related commands: Print to print a text file or display the contents of a print queue.
For command syntax, see Print.
Example:
To print the text file Autoexec.bat to a printer on parallel port LPT2:
print /d:LPT2: C:\autoexec.bat
Net print to display or control print jobs and printer queues.
For command syntax, see Net print.
Examples:
To view the print queue of MyPrinter1 on print server W2KPRN1:
net print \\W2KPRN1\MyPrinter1
To delete print job number 2 on MyPrinter1 on print server W2KPRN1:
net print \\W2KPRN1 2/delete
Net use to connect or disconnect to a shared printer.
For command syntax, see Net use.
Examples:
To redirect print output for the LPT1 port to MyPrinter1 on print server W2KPRN1:
net use LPT1: \\W2KPRN1\MyPrinter1
To display information about the LPT1 port:
net use LPT1:
Net start to start the print spooler service.
For command syntax, see Net start.
Example:
To start the Print Spooler service:
net start spooler
Net stop to stop the print spooler service.
For command syntax, see Net stop.
Example:
To stop the Print Spooler service:
net stop spooler
Note that other dependant services might need to bestopped as well. The system prompts you to confirm, while listing the other service names.
Note Command-prompt commands can be useful if you need to connect users to shared printers through a login script or any other automated batch or a script procedure.

Back to Desktop Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums