Universal Document Converter
Informazioni sul prodotto
Scarica
Acquista
Tutorial
Soluzioni per sviluppatori
Servizio di assistenza
Chi fCoder SIA


      Cerca nel sito
   


      Conversioni più richieste
Da Adobe PDF a JPEG
Da documento Word a PDF
Da foglio di lavoro Excel a PDF
Da PowerPoint a JPEG
Da disegno Visio a PDF
Da disegno AutoCAD a TIFF
Da pagina Web a JPEG
Convertire di lavoro Excel in PDF
Convertire da DjVu in PDF
Pagine Web in PDF



Pagina principale>Developer Solutions>Interfaces>IUDC>IUDCPrinter>IStatus

IStatus


The IStatus interface provides status information on the Universal Document Converter virtual printer

Properties

Integer DocsInQueue

Returns the number of documents in the spooler queue waiting to be printed on the Universal Document Converter virtual printer. Read only.

Integer Progress
Shows the percentage job progress for the Universal Document Converter virtual printer. Read only.

Enum State
Returns the current status of the Universal Document Converter virtual printer. Read only.
ConstantValueDescription
ST_READY0Virtual printer ready to accept jobs.
ST_RENDERING1Output file rendering underway.
ST_SAVING2Output file save underway.
ST_POSTPRINT3Post-print process underway.
ST_PAUSED4Virtual printer paused.

Examples

Visual Basic 6

Dim objUDC As IUDC Dim itfPrinter As IUDCPrinter Dim sMsg As String Set objUDC = New UDC.APIWrapper Set itfPrinter = objUDC.Printers("Universal Document Converter") Select Case itfPrinter.Status.State Case ST_READY sMsg = "Virtual printer is ready to use" Case ST_RENDERING sMsg = "Rendering a document" Case ST_SAVING sMsg = "Saving to file" Case ST_POSTPRINT sMsg = "Post-print task processing" Case ST_PAUSED sMsg = "Printing paused" End Select sMsg = sMsg & Chr(10) & Chr(13) sMsg = sMsg & itfPrinter.Status.DocsInQueue & " documents in queue." If itfPrinter.Status.DocsInQueue > 0 Then sMsg = sMsg & Chr(10) & Chr(13) & "Actual document converting progress is: " sMsg = sMsg & itfPrinter.Status.Progress & " %" EndIf Call MsgBox(sMsg, , "Information about Universal Document Converter status")


© 2001-2017 fCoder SIA Chi fCoder SIA | Mappa del sito