Last revised: 20-11-2008 (still in the writing).
QueueMonDLL.dll contain the core Publi PDF engine. It is an Apartment Threaded ActiveX DLL component that provide the functionality required for receiving notifications from the Windows Print Spooler Subsystem, building queues to monitor etc.
QueueMonDLL.dll is controlled by PubliPDF.exe, PubliClient.exe or any custom application or VBA macro that want to use or control the Publi PDF functionality via ActiveX.
The following enumeration constants are available via the QueueMonDLL ActiveX object:
| Name | Value | Meaning |
|---|---|---|
| enrmStandardClient | 0 (default) | The application is designed to run as a standard Windows application. |
| enrmAsNTService | 1 | The application is designed to run as a Windows NT Service. |
Applies to the RunMode property of the Application object.
Normally you will not use the enrmAsNTService value, since that would require that you implement support for the Windows SC Manager (which is NOT simple).
Do NOT confuse this RunMode setting with the Attended property of the SpoolQueue object.
| Name | Value | Meaning |
|---|---|---|
| enqtPrintQueueColorConvert | 0 (default) | The queue will monitor and respond to notifications from the Windows Print Spooler Subsystem for Windows print queue instances using the Publi PDF printer driver. |
| enqtPrintQueueManual | 1 | Not documented. |
| enqtPrintQueueRAW | 2 | Not documented. |
| enqtFolderQueueColorConvert | 10 | Not documented. |
| enqtFolderQueueManual | 11 | Not documented. |
The enQueueTypes enumeration is subject to changes.
See also: QueueType in The settings file format.
| Name | Value | The queue will output |
|---|---|---|
| enofFormatNone | 0 | PostScript format. The PostScript stream itself as it arrives in RAW format into the print queue is directed into the output document. |
| enofFormatPDF | 1 (default) | PDF format. The PDF format has only a single format variant, which is written to the output file by the pdfwrite device (default). |
| enofFormatPostScript | 2 | Normalized PostScript format (Ghostscript required) The Normalized PostScript format has only a single format variant, which is written to the output file by the pswrite device. |
| enofFormatEPS | 3 | Normalized EPS format (Ghostscript required) The Normalized PostScript format has only a single format variant, which is written to the output file by the epswrite device. |
| enofFormatTIFF | 4 | TIFF format (Ghostscript required) 11 different writing device variants are available, each of which are dedicated to write separate variants of the TIFF format: tiff24nc, tiffgray, tiff12nc, tiff32nc, tiffsep, tiffcrle, tiffg3, tiffg32d, tiffg4, tifflzw and tiffpack. For variant details refer to the Ghostscript documentation. |
| enofFormatJPEG | 5 | JPEG format (Ghostscript required) 2 different writing device variants are available, each of which are dedicated to write separate variants of the JPEG format: jpeg and jpeggray. For variant details refer to the Ghostscript documentation. |
| enofFormatPSD | 6 | PSD format (Ghostscript required) In the writing |
| enofFormatPNG | 7 | PNG format (Ghostscript required) In the writing |
| enofFormatBMP | 8 | BMP format (Ghostscript required) 6 different writing device variants are available, each of which are dedicated to write separate variants of the BMP format: bmp16m, bmpgray, bmp256, bmp16, bmpmono and bmp32b. For variant details refer to the Ghostscript documentation. |
| enofFormatPCX | 9 | PCX format (Ghostscript required) In the writing |
See also: JobOutputFormat in The settings file format.
Important! The configuration file doesn't accept any name representation for enumerations. In the configuration file only the value for each enumeration element can be used, i.e. the numeric value representation.
The following methods are available via the QueueMonDLL.Application ActiveX object:
If a queue contain more than one job when a queue monitor is started it sometimes, but not always, happen that only the first job will execute. The resolution is to either delete the jobs or stop and start the monitor a sufficient number of times to have the waiting jobs converted.