If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Print from DOS app under XP
wrote in message ... I need to print to a USB MFP from a DOS app under XP. When I issue a MODE command it finds COM3: (modem) and CON: but not the printer. When I try to PRINT a file XP responds; Unable to initialize device PRN Is there some magickry to do with NET USE to enable DOS printing, or this DOSPRN shareware app? What's the simplest solution which involves least work for my users? Thank you for answers. (An answer which works also for Ethernet networked printers would be great, as would something which will work also in Vista and win2k) 1. Share your printer. 2. Link it to an LPT port: net use LPT2: \\%ComputerName%\PrinterShare 3. Send the print stuff to LPT2: copy c:\print.prn LPT2:. 4. Eject the page if necessary: echo Ctrl+L LPT2: |
Ads |
#2
|
|||
|
|||
Print from DOS app under XP
Pegasus,
1. Share your printer. 2. Link it to an LPT port: net use LPT2: \\%ComputerName%\PrinterShare 3. Send the print stuff to LPT2: copy c:\print.prn LPT2:. 4. Eject the page if necessary: echo Ctrl+L LPT2: this may work only if the printer itself is DOS compatible. Many USB MFP nowadays are GDI (AKA Windows-Only). For printing to this kind of printers from DOS you may want to have a look at Printfil. More info and a free trial version is available for download at http://www.printfil.com Kind 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 -------------------------------------------------------------- |
Thread Tools | |
Display Modes | |
|
|