On Wednesday, 02/11/2009 at 11:39 EST, Mary Zervos <[email protected]> 
wrote:
> We're trying to use the LPR command from a z/VM 5.4 system to print to a
> windows print server.  The problem we're having is we'd like the print
> file to be identified with a user different from the logon user.  Is
> there some kind of option on the LPR command or global variable to
> achieve this?

There are no built-in options to override the user name.  However, LPR 
gets your user ID by issuing the "IDENTIFY (LIFO" command and expects to 
find "userid AT nodeid" as the first 3 tokens.  If you're familiar with 
building nucleus extensions and the NUCXLOAD command, you can build your 
own IDENTIFY program that returns whatever you want.

If you have the REXX compiler, this is exceptionally easy to do.

If you use RSCS for printing, the user ID is taken from the spool file 
origin.  If you want ALL files sent via that RSCS LPR link to appear to be 
from one specific user, then you can code USERNAME=userid in the LPRXONE 
or LPRXPSE CONFIG file.  See the RSCS Exit Customization book for details.

Alan Altmark
z/VM Development
IBM Endicott

Reply via email to