Executing UNIX commands depending on properties of an output request
-or-
Is there a way to call a script in UNIX (during initialization for editing types) which calls a specific layout on the printer, provided the printer supports the layout?
Keywords: rspo/host_spool/print
As a rule, the parameters can be used in an NT system in the same way.
Request for specific printer adaptation
SolutionThe list of possible host spooler commands (profile value rspo/host_spool/print) has been enhanced in Release 2.1g/2.2a: && : a single '&'&P : output device (as before)
&F : transfer file (as before)
&f : name of transfer file without path name share (as of 4.0A)
&p : path name of transfer file (as of 4.0A)
&C : number of copies (as before)
&I : job name of SAP spooler
&J : job name of SAP spooler with database name
&L : layout
&M : client of owner
&O : owner
&m : printing client
&o : printing user
&t : phone number (FAX)
&T : title
&R : recipient (cover sheet)
&D : department (cover sheet)
&S : SAP name of output device
&Y : priority
&U : UNIX cover sheet requested? ('N'=No, 'X'=Yes, 'D'=Default)
&N: number of the spool request (as of Release 4.5A)
&n: number of the output request (as of Release 4.5A)
&c: number of pages (as of Release 4.0A)
&s: field 'Suffix2' of the spool request (as of Release 4.0A)
This information can be used to provide a shell script or UNIX command with data by taking the profile value of "rspo_host_spool/print", which normally appears somewhat like the following:
Additional key words
Access method L, command pattern, command line, command parameter, parameter
No comments:
Post a Comment