Printing an application that runs in DOS

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm try to print from a DOS application that is configured to print to LTP1. My local printer is connected to a USB port, plus I have access to a network printer. Any ideas as to how to reassign LTP1 so it can print to one of my printers?

Thanks in advanve for your help!
 
Rednosebob,
C:\net use lpt1:\mycomputer\LexmarkX /persistent:yes
System error 67 has occured.

if you are sure the printer name is correct, then maybe the PC name isn't.

Correct syntax: NET USE LPT1: \\Computer\Printer
(Please note that there are TWO backslashes before "Computer")

To find your Pc name try to run: ECHO %USERDOMAIN%

If you want to give a look at a powerful utility to make the redirection and
to add some interesting features like print preview, font selection, color,
graphical background merging and so on, then try Printfil.

Kind regards,
Davide Guolo
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.guolo.com/printfil
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.guolo.com/odbc4all
--------------------------------------------------------------
 
Back
Top