We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

NT Printing to LPT1:

reuphk
reuphk asked
on
Medium Priority
574 Views
Last Modified: 2013-12-19
How do you print to your default NT PrinterQ as LPT1: without using net use i.e. we need to dynamically make the  NT printerQ point to LPT1: for DOS Apps.
Comment
Watch Question

uli

Commented:
More details, please.
- Why is NET USE not applicable ?
- 'dynamically'. What do you exactly mean ?
- NT version ?

Author

Commented:
Using Nt 4.0
It must be able to detect from NT which printer has been set as default printer and set LPT1: likewise.
Problem:  Certain Oracle programs print to LPT1: port.  NT uses printerq's instead of actual LPT ports.  The user can typically change the printer q he/she wishes to print to.  In Novell, that would mean change LPT1 routing to a different q.  In NT:  what LPT1??

Author

Commented:
Using Nt 4.0
It must be able to detect from NT which printer has been set as default printer and set LPT1: likewise.
Problem:  Certain Oracle programs print to LPT1: port.  NT uses printerq's instead of actual LPT ports.  The user can typically change the printer q he/she wishes to print to.  In Novell, that would mean change LPT1 routing to a different q.  In NT:  what LPT1??

uli

Commented:
Printers - Add Printer - * Network Printer - [Browse] - ... - ...MS-DOS... * Yes - - [Capture Printer Port] - LPT1

Author

Commented:
Uli,
The option after Network Printer is to select the printer q, then set as default printer.  No MS DOS (unless we are talking about a different location/option?)  or is there a way to add MS Dos option?  i do not find a capture printer port anywhere.

cer

Commented:
I don't understand you. Do you mean:
If Programm A is printing to LPT1: NT should print there
If Programm B is printing to LPT1: NT should redirect it to somewhere else.

If not I do not understand why you can not use
    net use lpt1: \\server\printer

Regards,

          Cer


Commented:
Uli was on the right track, but he gave you the answer for Win95 not WinNT.  There is no capture printer port in NT 4.0.

It seems like you need to have LPT1 mapped to your print queue, and you need it mapped that way every time you login.  Here's how to do it:

   net use lpt1 \\server\printer  /persistent:yes

That command will reconnect LPT1 each time you login.  You should then be able to print to it.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.