U23841-J-Z915-6-76 17
Producing Output with Xprint V7.0 Printing files
3.2 Printing files
This section describes the simplest way of printing files with Xprint V7.0. This
might be sufficient for some users while other users will require further options.
Use the following basic command to print a complete document on your default
printer:
xpadd [-job] -dr selection
If you want to print a file, you do not have to specify the object type -job for the
xpadd command as this is the default for xpadd. The -dr option (document
reference) is used to select one or more files for printing. After this option, for
selection, specify the names of the files to be printed. The command could have
the following format:
xpadd -dr file
xpadd -dr file1 file2.txt file3.xyz
If you have specified only one file, only this file is sent to the printer; if you have
specified several files, these are sent to the printer as one block. This block of
combined files or the solitary file is called a print job.
Instead of the xpadd command you can also use the X/Open command lp to
submit a print job. As with the other X/Open commands lpstat and cancel, the
lp command is described in the “SINIX - Commands” manual and in the
appendix of the “Xprint V7.0 - Reference Manual”.
In addition to the -dr option, there are numerous possible options for controlling
the printing process. In the following sections many of these options are listed
according to topics. A complete alphabetical overview of all the available options
can be found in the “Xprint V7.0 - Reference Manual” under the command
xpadd -job. The table below serves as a guide through this section.
If you want to ... Read ...
print a document on a specific device section “Selecting a printer” on
page 19
print parts of a document section “Printing parts of a document”
on page 21
print a document with special data not
suitable for the printer
section “Printing files with special
content types” on page 23
Table 2: Options for controlling the printing process