Jump to content

Easy PDF SDK (easypdfsdk)


Recommended Posts

Has anyone used this with AutoIt? I've testing the trial version now, but I need to be able to automate it. I can do it via VB, but I am much better at AutoIt. I seem to be able to access the COM object, and can get some functions to work, but the basic ones like this, do not:

$oPrinter   = ObjCreate('easyPDF.Printer.5')
$oPrintJob  = $oPrinter.PrintJob
$oPrintJob.PrintOut('Network Details.doc', 'Network Details.pdf')

This is the error I get:

C:\Documents and Settings\keithdavis\My Documents\Scripts\Misc\EasyPDFSDKTest.au3 (38) : ==> The requested action with this object has failed.:

$oPrintJob.PrintOut('Network Details.doc', 'Network Details.pdf')

$oPrintJob.PrintOut('Network Details.doc', 'Network Details.pdf')^ ERROR

Keith Davis

MCSA, ZCE, A+, N+

http://www.laurinkeithdavis.com

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...