PrinterClass
Use this function to find out the type of print stream the system is generating.
Syntax
There are no parameters for this function.
Example
Here are some examples. Assume these INI options exist:
< Printer >
PrtType = AFP
< PrtType:AFP >
PrintViewOnly = Yes
OnDemandScript = OnDemand
Function |
Result |
Explanation |
type = PrinterClass ( ) |
a string |
The DAL target variable, type will contain AFP. |
If (PrinterClass() = ‘PrtType:AFP’) Then AddComment( AppIdxRec() ) End |
a string |
If the print type is AFP then execute following statement. |