XerxesTheMighty
Programmer
I want a simple little code to send a file to the printer... MSDN.com() gives a 'simple little code', if you will (quoted directly):
The sequence for a print job is as follows:
[ol]
[li]To begin a print job, call StartDocPrinter. [/li]
[li]To begin each page, call StartPagePrinter. [/li]
[li]To write data to a page, call WritePrinter. [/li]
[li]To end each page, call EndPagePrinter. [/li]
[li]Repeat 2, 3, and 4 for as many pages as necessary. [/li]
[li]To end the print job, call EndDocPrinter. [/li]
[/ol](
But they won't give an 'implentation code'. If anyone who knows how to do this stuff, or possibly an easier way,
Answer ASAP.
The sequence for a print job is as follows:
[ol]
[li]To begin a print job, call StartDocPrinter. [/li]
[li]To begin each page, call StartPagePrinter. [/li]
[li]To write data to a page, call WritePrinter. [/li]
[li]To end each page, call EndPagePrinter. [/li]
[li]Repeat 2, 3, and 4 for as many pages as necessary. [/li]
[li]To end the print job, call EndDocPrinter. [/li]
[/ol]
But they won't give an 'implentation code'. If anyone who knows how to do this stuff, or possibly an easier way,
Answer ASAP.