Use this function to find out the type of print stream the system is generating.
There are no parameters for this function.
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. |
© Copyright 2014, Oracle and/or its affiliates. All rights reserved. Legal notices.