U23841-J-Z915-6-76 23
Producing Output with Xprint V7.0 Using Xprint V7.0 options
Examples
– To print a document from page 5 through page 10:
xpadd -dr file1 -ps 5-10
– To print a document from page 7 to the end:
xpadd -dr file1 -ps 7-
– To print a document from page 1 through 5:
xpadd -dr file1 -ps --5
– To print a document from the string Example 1 up to the string
}/* main */:
xpadd -dr file1 -fr"Example 1" -to"}/* main */"
– To select the page range from page 5 to page 19 and print the section
starting with the string abc up to the string xyz in this range:
xpadd -dr
file1 -ps 5-19 -fr abc -to xyz
3.4.2 Printing files with special content types
The basic print command requires that the contents of the specified files can be
processed by the printer. However, sometimes this is not the case. For example,
a PostScript printer cannot print ASCII files directly. The simple ASCII data in
the file must be converted to PostScript format before printing.
Xprint V7.0 can make such conversions automatically if it knows the content
type of the file and what the printer expects. The administrator specifies the
supported content type when configuring the printer, while the content type of
the print data must be specified by the user when defining the print job.
If the two types match, Xprint V7.0 can send the print job directly to the printer;
if they do not match, Xprint V7.0 will try to convert the print job data into a format
suitable for the printer.
If you do not specify a content type, the following will occur automatically:
● Xprint V7.0 will read the start of the data. If %! are the very first characters,
or the string %!PS occurs in the first 15 characters, then the content type will
be set to POSTSCRIPT.
● If this is not the case and only SIMPLE characters are detected in the first 15
characters, then the content type is set to SIMPLE.