A user is printing jobs from SAP/AS400 via LPR to a windows print server. There is no user name in the job stream so the job is denied.
SAP/AS400 systems can be set to insert a HOSTLOGINNAME into the stream
If Retrieve username from PJL setting HOSTLOGINNAME is enabled, and the print stream has the command @PJL SET HOSTLOGINNAME=xxxxx, then the print job is tracked against User xxxxx.
NOTE: This feature is required for applications that submit the print job under a system name rather than the name of the user (e.g. SAP/AS400). The application printing the job must have the capability to insert the desired PJL string into the print job.
They would need to insert @PJL SET HOSTLOGINNAME=xxxxxx into the printjob file, and it must be part of the PJL block.
You will also be required to select "Retrieve username from PJL setting" found in System Manager > Configuration > DRE/DREC and Print-to-Me Printing > Other (at the bottom).
So a prn file might look like:
@PJL COMMENT XRXbegin
@PJL COMMENT OID_ATT_JOB_OWNER "VMSARVAL"
@PJL SET HOSTLOGINNAME=Accounting
@PJL COMMENT OID_ATT_JOB_NAME "Test Page"
@PJL COMMENT OID_ATT_DEFAULT_MEDIUM_TYPE "Unspecified"; @PJL COMMENT OID_ATT_DEFAULT_MEDIUM_COLOUR "Unspecified"; @PJL COMMENT XRXend @PJL ENTER LANGUAGE=PCL