Solved

NT Printing to LPT1:

Posted on 1997-03-05
7
537 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.
0
Comment
Question by:reuphk
7 Comments
 
LVL 1

Expert Comment

by:uli
ID: 1558938
More details, please.
- Why is NET USE not applicable ?
- 'dynamically'. What do you exactly mean ?
- NT version ?
0
 

Author Comment

by:reuphk
ID: 1558939
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
 

Author Comment

by:reuphk
ID: 1558940
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
Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

 
LVL 1

Expert Comment

by:uli
ID: 1558941
Printers - Add Printer - * Network Printer - [Browse] - ... - ...MS-DOS... * Yes - - [Capture Printer Port] - LPT1

0
 

Author Comment

by:reuphk
ID: 1558942
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
 
LVL 5

Expert Comment

by:cer
ID: 1558943
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
 
LVL 1

Accepted Solution

by:
mccarthy earned 70 total points
ID: 1558944
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

Featured Post

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now