Ricoh: LPRAFP with Infoprint Server for z/OS

LPRAFP with Infoprint Server for z/OS

Product category: Printing Management and Driver Software
Product(s): Infoprint Server
Operating system(s): AIX, UNIX, Windows
Version: none
DocNumber: P4000243
Publish date: 2014-03-07


Abstract:
LPRAFP sample code that runs on Windows and UNIX systems for use with Infoprint Server for z/OS.


Download description:
You can use the lprafp command to submit print requests from Windows systems and UNIX systems such as HP-UX and SunOS. The lprafp command lets you specify Infoprint Server job attributes. For example, with the lprafp command, you can specify the name of a form definition in the form-definition job attribute, and the number of copies in the copies job attribute. Format of lprafp command: lprafp [-n] [-o "XAOPattribute=value..." | -o "Xattribute=value..."]... [-p printer] [-q delay] [-r retries] [-s server] filename ... Options: -n The lprafp command displays only error messages, not informational messages. -o Infoprint Server job attributes you want to use to print the files. For a list of job attributes, see "Using Job Attributes" in z/OS Infoprint Server User's Guide at the link in the Installation Instructions section below. You must prefix the list of attributes with either XAOP or X, where the X is an uppercase X:

If you use the XAOP prefix and there are errors in the attributes or values, Infoprint Server rejects the print request. You receive a server error message, and Infoprint Server writes an error message in the z/OS system console log.

If you use the X prefix and there are errors in the attributes or values, Infoprint Server accepts the print request but does not use the attributes. You do not receive a server error message.

TIP: Use the XAOP prefix so that you know whether z/OS Infoprint Server accepted the print request.

To specify more than one attribute, you can repeat the -o option or you can specify more than one attribute separated with spaces. If a space or special character exists anywhere after the XAOP prefix, enclose the entire -o argument in single or double quotation marks. For example:

-o XAOPattribute1=value

-o "XAOP attribute1=value"

-o "XAOPattribute1=value with spaces"

-o "XAOPattribute1=value attribute2=value"

-o XAOPattribute1=value

-o XAOPattribute2=value

If an attribute value contains spaces, do not enclose the value itself in quotation marks. For example, this does NOT work:

-o: XAOPattribute="value with spaces"

-p: The name of the printer definition that your administrator created in the Printer Inventory. The default is the value of the LPR_PRINTER environment variable.

-q: The number of seconds between lprafp command retries. The default is 10 seconds.

-r: The number of times the lprafp command retries the transmission to the server. The default is 3 times.

-s: The host name or IP address of the z/OS system where Infoprint Server is running. The default is the value of the LPR_SERVER environment variable.

Operand:

Filename: The name of the file to print. You can specify more than one file name.

EXAMPLE:

To print two copies of file1 and two copies of file2 on printer myprinter, using form definition F1MYFORM, enter this command:

lprafp -o"XAOP form-definition=f1myform copies = 2" -p myprinter
-s systema.xyz.com file1 file2

NOTES:
1. IBM does not provide support for the lprafp command.
2. Some Windows and UNIX print commands might let you specify Infoprint Server job attributes using the same XAOP or X formats. If so, you do not need to use the lprafp command.
3. On AIX systems, IBM recommends that you use the AIX enq command instead of the lprafp command, because the AIX enq command lets you specify Infoprint Server job attributes and the enq command is supported by IBM. For information about how to specify job attributes with the enq command, see "Printing from an AIX workstation" in z/OS Infoprint Server User's Guide at the link in the Installation Instructions section below.
4. The README file for the lprafp command describes how to use the lprafp command to send print requests to Infoprint Manager, not to z/OS Infoprint Server. This page contains information about how to use lprafp with z/OS Infoprint Server.



Prerequisites:
Infoprint Server for z/OS APAR OA08262.


Installation instructions:
Read the README in the lprafp package for installation instructions.

Download Language Size URL
Printing from an AIX WorkstationEnglish1000FTP
Using Job AttributesEnglish1000FTP

Download package:

Download Release date Language Size Download options
LPRAFP1/23/2014English80172FTP

Back to Top