NT Printing to LPT1:

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.
reuphkAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

uliCommented:
More details, please.
- Why is NET USE not applicable ?
- 'dynamically'. What do you exactly mean ?
- NT version ?
0
reuphkAuthor 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??

0
reuphkAuthor 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??

0
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

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

0
reuphkAuthor 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.

0
cerCommented:
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


0
mccarthyCommented:
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.