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
):
![[pc3] [pc3] [pc3]](/data/assets/smilies/pc3.gif)
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
.
![[evil] [evil] [evil]](/data/assets/smilies/evil.gif)
![[smarty] [smarty] [smarty]](/data/assets/smilies/smarty.gif)
![[pc3] [pc3] [pc3]](/data/assets/smilies/pc3.gif)
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
![[hourglass] [hourglass] [hourglass]](/data/assets/smilies/hourglass.gif)