Member variable XbpPrinter():spoolFormat Foundation
The format of the spool file.
The :spoolFormat instance variable contains a value which specifies the format used for spooling print jobs. The spool format is defined when a printer object is created using the method :create(). The value in :spoolFormat is the same value as that assigned to the <nSpoolFormat> parameter to method :create(). If the printer object is not yet created, :spoolFormat is NIL.
The value contained in the instance variable can be one of the following #define constants defined in XBPDEV.CH.
Constant | Meaning |
---|---|
PRN_Q_STD *) | Format defined by the printer driver |
PRN_Q_RAW | Raw commands used by the printer, eg. PCL |
PRN_Q_TEXT | Plain text |
PRN_Q_EMF | Enhanced metafile format |
|
If the printer supports non-standard spool formats, :spoolFormat can also contain a character string with the name of the spool format.
A printer's spool format should not be changed unless the application has specific printing requirements. Selecting an improper spool format may cause the print output to be garbled, or the application may fail to print at all.
For XPS-based printer drivers (Windows 8, Server 2012 and above), pass-through mode is used automatically ("XPS_PASS") if the format PRN_Q_RAW is used.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.