Accusoft.PrintPro8.ActiveX
Create Print Job

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:

  1. Set the Document name using the DocName Property.
  2. Start the document by selecting the StartPrintDoc Method.
  3. HINT: To ensure that the Page Property is reset after printing an image, it is critical that the SelectDefaultPrinter Method or SetDefaultPrinterW Method is used before calling the StartPrintDoc Method

Create the Print Job by performing the following:

  1. Set Margins - set the margins on the printed page.
  2. Add Text - add text to the document to be printed.
  3. Add Binary Data - add binary data to the document to be printed.
  4. Add Bitmaps - add bitmaps to the document to be printed.
  5. Add Graphics - add graphics to the document to be printed.
  6. For multiple page documents, use the NewPage Method to advance to the next page. The Page Property returns the current page number.
  7. 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.

 

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback