PrintPRO™ enables you to create a document to print, display, or store, and include elements such as binary data, graphics, and bitmaps within the document.
To create a document:
- Set the Document name using the DocName Property.
- Start the document by selecting the StartPrintDoc Method.
-
Create the Print Job by performing the following:
-
-
Add Text - add text to the document to be printed.
-
-
Add Bitmaps - add bitmaps to the document to be printed.
-
- For multiple page documents, use the NewPage Method to advance to the next page. The Page Property returns the current page number.
- End the document by selecting the EndPrintDoc Method. This will result in your document being sent to the device spooler. KillPrintDoc Method can be called to immediately terminate the print job if needed.