Generic text printing using windows xp and windows 2000

T

Tsunade

Hi! I'm using generic printing in windows 98 for a delphi3 application.
No problem with that. But if i use windows xp for the same delphi 3
application, it doesn't follow the font codes. Can anyone tell me if
you have encountered such problem? What must I do?
 
C

ColinD

Tsunade said:
Hi! I'm using generic printing in windows 98 for a delphi3 application.
No problem with that. But if i use windows xp for the same delphi 3
application, it doesn't follow the font codes. Can anyone tell me if
you have encountered such problem? What must I do?

The problem with printing in Windows from a non-windows-based program
like DOS is addressed by a program called 'dosprint'. Basically, if
your program can write its output to a file, Dosprint will pick up the
file and print it under Windows, including font choices.

http://www.andtechnologies.com/dosprint.html

Colin D.
 
T

Tsunade

ColinD said:
The problem with printing in Windows from a non-windows-based program
like DOS is addressed by a program called 'dosprint'. Basically, if
your program can write its output to a file, Dosprint will pick up the
file and print it under Windows, including font choices.

Thanks for the immediate reply! So if I save it in a text file, my
escape codes could be recognized? Is that it? Is that what you mean?
 
R

rwap

I am not convinced that DOSPrint tackles the main problem in that if
the DOS program is sending plain text direct to the printer, most
printers available today cannot handle text - they expect Windows to
convert the text to a graphics dump.

In this case, simply capturing and re-directing the port will not work.

You need a program similar to Printfil by Davide Guolo
[http://www.regnow.com/softsell/visitor.cgi?affiliate=23903&action=sit...]

which takes the captured data and then processes it under Windows
before using the windows printer driver to output it to the printer.
Printfil is quite good and handles text and graphics in various fonts -

a similar program has been designed for use with Sinclair QL emulators
running under Windows (QPCPrint by Jochen Merz Software:
http://smsq.j-m-s.com/qpcprint/qpcprint.htm)


Rich Mellor
http://www.rwapservices.co.uk
 

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

Top