A Windows XP help forum. PCbanter

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.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Printing and Faxing with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Print from DOS app under XP



 
 
Thread Tools Display Modes
  #1  
Old October 28th 06, 01:28 PM posted to microsoft.public.windowsxp.print_fax,microsoft.public.windowsxp.general
Pegasus \(MVP\)
external usenet poster
 
Posts: 4,441
Default 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  
Old November 3rd 06, 01:10 AM posted to microsoft.public.windowsxp.print_fax,microsoft.public.windowsxp.general
Davide Guolo
external usenet poster
 
Posts: 45
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 12:26 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.