You are here: Function Reference > Alphabetical Listing > P > PrinterGroup

PrinterGroup

Use this function to retrieve the group name that is being used to generate the print stream. This name is stored in the INI file.

Syntax

PrinterGroup ( )

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

G_name = PrinterGroup()

PrtType:AFP

Retrieves the printer group name.

ScriptName = GetINIString

(, PrinterGroup(), ‘OnDemandScript’)

OnDemand

Contains the name of the DAL script you want to execute.

See also