Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 551
  • Last Modified:

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.
0
reuphk
Asked:
reuphk
1 Solution
 
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now