A printer init file on the application (e.g. UNIX) server need only specify the ASHLPR subroutine, using the following syntax:
COMMAND=SBX:ASHLPR{,FLAG{,SERVER:PORT}}
The FLAG parameter, if specified, may be set to 1 to cause the print file to ALSO be printed on the specified printer on the application server (in addition to being printed via ASHLPD). In this case, the printer init file must also contain a DEVICE statement, e.g.:
COMMAND=SBX:ASHLPR,1
DEVICE=laser1
The above example would send the printout to the laser1 print queue on the application server, in addition to the ASHLPD server.
The SERVER:PORT parameter may be used to override the SERVER parameter in the OPR:ASHLPR.INI file. This is handy when certain individual logical printers have their own ASHLPD server (such as at a particular remote location), for example:
COMMAND=SBX:ASHLPR,0,192.168.200.100:31515