Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 72 #98
i
i
i
i
i
i
i
i
Advanced Settings Normally, there should be no need to change any of
these settings.
Configuration for Applications
Applications rely on the existing printer queues in the same way as any
command-line tools do. There is usually no need to reconfigure the printer
for a particular application, as you should be able to print from applica-
tions using the available queues.
Printing from the Command Line To print from the command line, enter
the command lp -d hqueuenamei hfilenamei, substituting the
corresponding names for hqueuenamei and hfilenamei.
Printing from Applications Using the Command-Line Tool
Some applications rely on the above-mentioned lp command for
printing. In this case, enter the correct command in the application’s
print dialog (but usually without specifying hfilenamei), for example,
lp -d hqueuenamei. To make this work with KDE programs,
enable ‘Print through an external program’. Otherwise you cannot
enter the print command.
Using the CUPS Printing System Tools such as xpp and the KDE pro-
gram kprinter provide a graphical interface to choose among queues
and to set both CUPS standard options and printer-specific options as
made available through the PPD file. You can use kprinter as the stan-
dard printing interface of other (non-KDE) applications by specifying
kprinter or kprinter --stdin as the print command in the print
dialogs of these applications. The behavior of the application itself de-
termines which of these two commands to choose. If set up correctly,
the application should call the kprinter dialog whenever a print job is
issued from it, so you can use the dialog to select a queue and to set
other printing options. This requires that the application’s own print
setup does not conflict with that of kprinter and that printing options
are only changed through kprinter after it has been enabled.
Troubleshooting
If there is some kind of error in the communication between the com-
puter and the printer, the printer may no longer be able to interpret data
in the correct way. This could cause the output to be garbled and use up
large amounts of paper. To correct this, follow the instructions in Sec-
tion 13.7.8 on page 315.
72 2.4. Hardware