| United States-English |
|
|
|
![]() |
HP Distributed Print Service User's Guide: HP 9000 Computers > Chapter 2 Basic Printing Tasks Specifying Attributes for HPDPS Print Jobs |
|
Quite often, the characteristics, or attributes, of print jobs differ from job to job. You may have a particularly large job that requires printing on two sides. You may have other jobs that require rotation of the printing orientation or multiple copies. You may also have jobs that require a combination of these things. You can specify attributes for your jobs and documents by specifying an attribute and a value, referred to as an attribute value pair. For a complete list of attributes, see the manpages for attributes that belong to each HPDPS object. See “Getting Help for HPDPS Commands ” earlier for a list of these manpages or enter:
Examples of some of these attributes are:
To enter an attribute value pair, you use the -x attribute flag. For example, to print three copies of File1, enter:
If you want to specify several attributes and their values, the following example illustrates how:
The above command specifies three copies with two-sided printing.
Some attributes have additional flags that can be used to substitute for the attribute name. For example, to print three copies of File1 you can also use -n CopyCount flag and its value:
Refer to Chapter 3 “Command Reference ” for a complete description of all flags and more information on attribute value pairs.
Use -n CopyCount or -x copy-count=CopyCount with the pdpr command to specify the number of document copies in a job that you want to print. If you do not specify a copy count for your job, HPDPS prints the default number of copies. For examples, see the previous section. Use -x sides=2 with the pdpr command to specify two-sided (duplexed) printing for your job. Duplexed jobs print on both sides of the paper such that the top of each side is at the same edge of the paper. If you do not specify the sides attribute, HPDPS applies the default value for this attribute. To submit file File1 to the default logical printer and specify duplexed printing, enter:
Use -x content-orientation=OrientationValue with the pdpr command to specify the page orientation for your job. The two most common page orientations are portrait and landscape. Portrait orientation has the short edges of the printed page as the top and bottom with the long edges as the sides. Landscape orientation rotates the page 90 degrees so that the long edges of the page are at the top and bottom. If you do not specify the content-orientation attribute, HPDPS prints your job in portrait orientation. To submit the file File1 to the default logical printer and specify landscape orientation, enter:
Use -x document-format=Format with the pdpr command to specify the document format of your job. HPDPS accepts jobs in different document formats such as PostScript, PCL, and ASCII. If you do not specify the document format of the job when you submit the print request, HPDPS automatically tries to determine the format and process the request accordingly. This saves you time when entering print commands from the command line. It is also an advantage if you are not sure of the data format of the job. There can be times when you need to explicitly tell HPDPS the document format of your job. If HPDPS cannot determine the document format, it treats the file as ASCII data and the printed results may not be acceptable. In such cases, you should specify the document format. For example, to submit file PSFile2 to the default logical printer and specify the document format PostScript, enter:
Use -x number-up=NumberOfImages to specify the number of images on a page. The value for NumberOfImages can be 1, 2, 3, or 4. For example, to print File1 with an image displaying on each half of a page for a total of two images per page, enter:
To print jobs that contain more than one document, you can either specify the name of each document with the pdpr command, or, you can create a reference file that lists each document. To print multiple documents in one job, list each of the document file names as arguments of the pdpr command. All document files in the job must have the same attributes or HPDPS will reject the job. For example, they must have the same data format such as ASCII or PostScript. Specify any document attributes, such as sides=2 or number-up=4 before the list of file names. The following examples show how you can specify multiple files with a single pdpr command. To submit the files File1 and File2 to the default logical printer, enter:
To submit the documents File1 and File2 to the default logical printer and specify three copies of each document with duplexed printing, enter:
In the above example, HPDPS prints three copies of File1 followed by three of File2. As an alternative, to print multiple copies of the same job, you can use the job-copies component of the results-profile job attribute. So, to submit a job that prints a single copy of File3 and File4 and then prints the job again, enter:
Here, results-profile is a complex attribute, that is, one that has multiple values. It contains the following components: In the example above, the components are separated by colons. See "Complex Attributes Using Colons" in Chapter 3 for rules on colon syntax. See HP Distributed Print Service Administration Guide or the manpage pd_att_job(5) for details on results-profile. To specify a particular medium to print, you can specify a value for input-tray-select, such as top or middle. If you do not specify a value for this document attribute, HPDPS uses the default-medium attribute value, such as iso-a4-white or iso-a4-transparent. If that is not defined, then HPDPS uses the value identified for the default-input-tray, such as top or middle. You can include information about the size of a document within your job. This may be helpful to you or an HPDPS administrator to help manage job flow. For example, if your job file File3 is about 50 pages long, you might enter the command:
When submitting a job consisting of two files, you can specify the number of pages for each document:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||