Auxiliary project - Print job list - HP_1220C
The helper project only contains a script, no form. The script is executed as the initial project of main project Print jobs – HP_1220C. The script only contains 2 lines.
The first script action sets the value of variable %Printer%. The value must equal the name of a network printer (queue). Syntax of this value is: \\name_of_computer\nam_of_printer . Example: \\COUNT\HP DeskJet 1220C.

Figure 2 – Setting the variable %Printer% to the required printer
In another network environment, this variable must be set to the name of the printer of interest. The variable is used in the other script action and in the other main form project.
The second action collects the list with printer documents.

Figure 3 - Action - Get printer documents info and store in table variable
The action collects the list with printer documents from the specified %Printer%. The result is a table that is stored in a variable specified for property Documents table.

Figure 4 – Storing a table with documents info in variable %DocumentsTable%
The property is an output only property: the property is not needed as an input value to execute the action. Instead, the property is used to hold the output values of the action.
|