Can I print the PDF file to a physical printer ...

This is a read only forum. It contains the most frequently asked questions about Amyuni products and licensing.
Post Reply
Dany
Amyuni Team
Posts: 113
Joined: Wed Sep 11 2002
Location: Montreal.
Contact:

Can I print the PDF file to a physical printer ...

Post by Dany »

using the Developer version of the PDF Converter?

Yes, printing the PDF file to a physical printer is available in the Professional version 2.1 of the driver. Here is a snippet of Visual Basic code that illustrates how this is done.

PDFdoc.SetLicenseKey "Evaluation Version Developer", "07EFCDAB0100...."
PDFdoc.Open "c:\temp\sample.pdf"
With PDFdoc
'Print function available in Pro version only
'Print(PrinterName As String, StartPage As Long, EndPage As Long, Copies As Long)
'PrinterName
' Name of printer as it shows in the printers control panel.
' If this parameter is left empty, the document will print to the default printer.
'StartPage
' Page number from which to start printing. The index of the first page is 1.
'EndPage
' Page number at which to stop printing.
'Copies
' Number of copies to print the document.
.Print "", 1, 1, 1
End With
Set PDFdoc = Nothing
Post Reply