IUDCPrinter

The interface is designed to provide access to the Universal Document Converter virtual printer. It helps perform general printer configuration and configure all the conversion settings.

Properties

String Name
Contains the Universal Document Converter virtual printer name. Only for reading.

IProfile Profile
Provides access to the IProfile interface which is used to configure the conversion process using the Universal Document Converter virtual printer.

IStatus Status
Provides access to the IStatus interface which is used to obtain information on the status of the Universal Document Converter virtual printer.

Methods

EmptyQueue()
Removes from the print queue all the tasks sent to the Universal Document Converter virtual printer. Administrative access is required to call the EmptyQueue method.

Stop()
Stops the printing process and conversion. Using this command is identical to using the “cancel” button of the Universal Document Converter.

Examples

Visual Basic 6

Dim objUDC As IUDC Dim itfPrinter As IUDCPrinter Set objUDC = New UDC.APIWrapper Set itfPrinter = objUDC.Printers("Universal Document Converter") Call MsgBox ("Printer name is: " + itfPrinter.Name) Call itfPrinter.Stop Call itfPrinter.EmptyQueue