The PdfUtil type exposes the following members.

Constructors

  NameDescription
PdfUtil

Methods

  NameDescription
GetCompatiblePrinters
Get list of compatible printers
GetPrinterAppFolder
Get the application folder of the specified printer.
GetPrinterVersion
Get the version of the printer.
GetPrinterVersionInfo
Get the version information of the printer.
GetRegistrySetting
Read printer settings from the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\[PRINTER NAME]
Merge
Merge two or more PDF files. This function requires that you have pdftk.exe installed in your PDF writer application folder.
PrintFile
Send a file to the printer set in the PrinterName property. This method will use the PrintTo verb to send a file to the printer and create a PDF document. You often want to create a runonce.ini before calling this method. It is recommended that you set the following settings:
 Copy Code
ShowSettings=never
 Copy Code
ShowSaveAs=never
 Copy Code
ShowProgress=yes
 Copy Code
ShowProgressFinished=no
 Copy Code
ShowPDF=no
 Copy Code
ConfirmOverwrite=no
WaitForFile
Wait for a file to be created.

Properties

  NameDescription
DefaultPrinterName
Returns the default printer name for the assembly.

See Also