Dos Based Printing

G

Guest

I have been trying to get some of my dos based programs to be able to print
using windows xp. so far I have not been able to make it happen. I have
tried mapping the printer to my lpt port using the net use command and also
enabled printer pooling and neither has helped. before, when i attempted to
rpint from a dos based program the program froze and i ended up having to
kill it through the device manager. now since i have mapped the lpt1 port
using the net use feature, it will try to print, and the lexmark printer
progress bar shows up and instantly goes from zero percent to one hundred
percent and it says printing started and printing completed but nothing
actually prints. any suggestions would be greatly appreciated. I have
searched this group for dos printing and it seems every reply to anyones
quetion is always a link to bruce sanderson's article on dos printing. I
have already viewed that page and it has not helped, just wanting to get that
out of the way to eliminate an unecessary and already attempted resource.
thank you for your time and efforts
 
D

Davide Guolo

Dear Mr. Clay Powell,
I have
searched this group for dos printing and it seems every reply to anyones
quetion is always a link to bruce sanderson's article on dos printing. I
have already viewed that page and it has not helped, just wanting to get that
out of the way to eliminate an unecessary and already attempted resource.

your printer may be a Windows-only (AKA GDI) one.
If this is your case, then there's no way for you print from DOS simply by
redirecting the stream (by NET USE, pooling or whatever else), because the
printer cannot understand a simple DOS ascii stream, but it needs a raw
stream created by the Windows driver.

You may want to have a look at Printfil, which enables character-based
applications (incl. DOS) printing to Windows printers (incl. GDI).
More info and a free trial is available for download at
http://www.printfil.com

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


Top