in reply to Re^2: Win32 Printing
in thread Win32 Printing
Either way, you are faced with the same problem if you want to format and then print. You either:
Which is the Win32::GUI or Win32::OLE method.
This is by far the harder task. Even with years, and hundreds or even thousands of man hours behind them, both browsers and Adobe's reader still don't always make a great job of printing their formats. Doing it your self is extremely hard in the case of html, and both extremely hard and possibly illegal in the case of PDF.
If your very unfussy about the way the output is rendered you might get away with using something like the linx text browser to render the html or ghostscript for the PDF, but neither is very satisfactory.
I'm not sure, but I seem to remember that at least one of the popular browsers had a command line switch that would cause it to render the url supplied, print to the default printer and then exit--but I don't recall where I got that notion from?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Win32 Printing
by bkiahg (Pilgrim) on Nov 03, 2004 at 00:40 UTC |