Question #1: Is there a "Step-Up" document that itemizes the differences between 1.59 to 2.10.
Question #2: Does anybody have some simple VB code that exercises the 2.10 driver so I can see if the driver is even installed correctly?
Question #3: Is there anything wrong with the steps I have taken here:
1. Installed the Amyuni Application
2. Ran Install.exe using "NG PDF Printer" as the printer driver name
3. Used the following code to run the driver:
Code: Select all
Set PDFObject = New CDIntfEx.CDIntfEx
If (Not PDFObject Is Nothing) Then
PDFObject.PDFDriverInit PRINTER_NAME ' "NG PDF Printer"
PDFObject.DriverInit PRINTER_NAME
PDFObject.SetDefaultPrinter
PDFObject.DefaultFileName = mCURRENT_PDF_FILE
PDFObject.DefaultDirectory = mPATH_TO_WORKING_DIRECTORY
PDFObject.FileNameOptions = NoPrompt + UseFileName
PDFObject.FontEmbedding = CBool(mFontEmbedding)
If (IsNumeric(mResolution)) Then
PDFObject.Resolution = CLng(mResolution)
End If
PDFObject.JPEGCompression = CBool(mJPGCompression)
'If Margins set...
If (IsNumeric(mMARGIN_HORIZONTAL)) Then
PDFObject.HorizontalMargin = CLng(mMARGIN_HORIZONTAL)
End If
If (IsNumeric(mMARGIN_VERTICAL)) Then
PDFObject.VerticalMargin = CLng(mMARGIN_VERTICAL)
End If
PDFObject.SetDefaultConfig
Code: Select all
arMainRpt.Printer.DeviceName = PRINTER_NAME
arMainRpt.Printer.RenderMode = 1
arMainRpt.Printer.StartJob arMainRpt.documentName
==== Error 482 ====
Obviously, I don't expect any Active Reports experts here, but can you see anything out of whack in the above code?