fgl_report_setPrinterRequestingUserName

Specify end user's name.

Syntax

fgl_report_setPrinterRequestingUserName(
   requestingUserName STRING )
  1. requestingUserName - the user name.

Usage

Function to specify end user's name.

Specifies the end user's name who submitted the print job. A requesting user name is an arbitrary string defined by the client. The printer does not put the client-specific requestingUserName attribute into the print job's attribute set; rather, the printer puts in a jobOriginatingUserName attribute. This means that services which support specifying a username with this attribute should also report a jobOriginatingUserName in the job's attribute set. Note that many print services may have a way to independently authenticate the user name, and so may state support for a requesting user name, but in practice will then report the user name authenticated by the service rather than that specified by this attribute. Default: "not set" Setting this option reduces the set of usable printers to those matching it.

For a generic example of Genero code using a reporting function, see Using report output functions. This example may not use the specific function discussed in this topic, however it provides details on where you would place this (and other) report output functions.