Print method - Object does not support this method?

The PDF Creator enables you to create secure PDF documents and to view, print and process existing PDF documents.
If you have any questions about the installation and usage of the PDF Creator please post them here.
Post Reply
DCarpenter
Posts: 1
Joined: Fri Jun 13 2003

Print method - Object does not support this method?

Post by DCarpenter »

:?:
I've got the latest version of the demo, PDFCreactiveX.dll 1.09e, and can not get the following code to work. I simply want to print a PDF to the default printer. I have also tried specifing the printer name, and using different values for the Prompt parameter, since the documentation differs between boolean and long.

Private Sub Form_Load()
oPDF.Open "D:\SHARE\T.PDF", ""
oPDF.Print "", False
End Sub

The file opens properly, but when the print method is called, I get the following runtime error: 438 - Object does not support this property or method.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Please specify the printer name to which you want to print.

Also please try to use oPDF.[Print]

Hope this helps.
Post Reply