DIGIT-ARC read-only archive · snapshot: July 23, 2026

USB Printing Problem

6 posts · originally from https://geek.digit.in/community/threads/usb-printing-problem.57378/

K
kuhupihu Original post #1
May 9, 2007 at 7:09 PM
I have old dos based software. It was running fine in my desktop with dotmatrix printer. But I had purchase new laptop in which there is no parallel port. I had installed laserprinter on usb port. Software works fine, but it dos'nt print to laser printer. Is there any way to redirect lpt1 port output to usb port.
S
May 10, 2007 at 6:05 AM
Try using "net use lpt1" command after setting up home networking and sharing the printer...

Arun
Dipen01
Dipen01 #3
May 10, 2007 at 1:37 PM
Well even i had to face this problem while taking run time Output printouts from C++ Codes..!!

@sakumar:- can u elaborate it further
S
May 10, 2007 at 2:10 PM
'net use lpt1 \\server\printer /persistent:yes' allows you to map lpt1 port onto a shared network printer... In this case, if the Dot Matrix Printer named DMP is shared on desktop machine named Desk, the command would be 'net use lpt1 \\Desk\DMP' The persistent switch will enforce the mapping to occur even after reboot...

Arun
K
May 14, 2007 at 5:06 PM
sakumar79 said:
'net use lpt1 \\server\printer /persistent:yes' allows you to map lpt1 port onto a shared network printer... In this case, if the Dot Matrix Printer named DMP is shared on desktop machine named Desk, the command would be 'net use lpt1 \\Desk\DMP' The persistent switch will enforce the mapping to occur even after reboot...

Arun

I had tried this command, but it gives and error, you cannot use it in the same PC, it should be from other remote PC of the network.
S
squid #6
May 14, 2007 at 6:48 PM
kuhupihu said:
I had tried this command, but it gives and error, you cannot use it in the same PC, it should be from other remote PC of the network.
Goto the 'printer and faxes' folder. Right click and select sharing. In this check share this printer option and give a share name. Then you will be able to use the net use command as mentioned above