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
--------------------------------------------------------------
 

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

Similar Threads

Error printing 2
Printing mode 1
Printing from Ms-Dos Windows XP Pro 2
How to close the LTP-port 1
Net Use 1
Path Setting for LPT1 1
DOS printing 1
Intermittent non operation of printers 2

Back
Top