I can't find info on redirrecting a Dos LPT to a USB.

G

Guest

My Laptop only uses USB connections, Can I rename or redirrect a Dos LPT
port to USB so my dos program can print. Thanks
 
B

Bruce Chambers

Dosuser said:
My Laptop only uses USB connections, Can I rename or redirrect a Dos LPT
port to USB so my dos program can print. Thanks


Create a network share for the printer (This can be done even if you're
PC is the only member of its workgroup), and then use the Net Use
command to redirect the DOS output. For example:

NET USE LPT1 \\ComputerName\PrinterShareName /PERSISTENT:YES



--

Bruce Chambers

Help us help you:



They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -Benjamin Franklin

Many people would rather die than think; in fact, most do. -Bertrand Russell
 
N

NoConsequence

My Laptop only uses USB connections, Can I rename or redirrect a Dos LPT
port to USB so my dos program can print. Thanks

You can't do anything in DOS with XP since DOS does NOT EXIST in XP.
 
M

Michael W. Ryder

NoConsequence said:
You can't do anything in DOS with XP since DOS does NOT EXIST in XP.

Since XP is a Disk Operating System your statement is categorically
Wrong. Maybe you mean MS-DOS does not run natively in XP, but MS-DOS
programs do run fine under XP unless they try to directly access the
hardware. The only problem with MS-DOS programs under XP is that they
consume 100% of the CPU, unless you are using a HT or multi-core processor.
 
D

Davide Guolo

Bruce said:
Create a network share for the printer (This can be done even if you're PC
is the only member of its workgroup), and then use the Net Use command to
redirect the DOS output. For example:

NET USE LPT1 \\ComputerName\PrinterShareName /PERSISTENT:YES

this works if the USB printer is DOS compatible, but more and more printers
nowaday are GDI (AKA Windows-Only), expecially cheaper USB printers.

You may want to have a look at Printfil to print from DOS to GDI printers
and virtual printers (Fax printers, PDF writers etc.)
More info and a free trial version is available for download at
http://www.printfil.com

Regards,
Davide Guolo
aSwIt s.r.l.
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.printfil.com
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.aswit.com/odbc4all
@Kill - Batch Close Windows Applications - Freeware
http://www.aswit.com/akill
--------------------------------------------------------------
 
D

Davide Guolo

Michael said:
Maybe you mean MS-DOS does not run natively in XP, but MS-DOS programs do
run fine under XP unless they try to directly access the hardware.
true.

The only problem with MS-DOS programs under XP is that they consume 100%
of the CPU, unless you are using a HT or multi-core processor.

This is not completely true.

There are patches for popular DOS compilers which releases the CPU when the
DOS app. is in the "wait state", like Clip2F for Clipper:
http://support.citrix.com/article/CTX846521 and "Command Prompt
Replacements" designed to work around this issue, like TameDOS:
http://www.tamedos.com

Regards,
Davide
aSwIt s.r.l.
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.printfil.com
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.aswit.com/odbc4all
@Kill - Batch Close Windows Applications - Freeware
http://www.aswit.com/akill
--------------------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top