Printing Directly from KDE Applications

Support knowledgebase (jsmeix_print-kde)
Applies to

SuSE Linux: Versions up to (including) 7.3

Request:

You want to print from a KDE application.

Premise:

You can print an ASCII or a PostScript file from the command line with the command lpr filename. If this will not work, configure your printer.

Procedure:

Here is an example for printing within the KDE text editor:

First, save the text into a file, because KDE only prints the content of this file. Choose 'File' and 'Print' and, in the 'Print Dialog', the option 'print directly using lpr'. KDE executes the following printing instruction:

lpr 'filename' &
(filename is the name of the file that contains the text to print )

If you do not want to use the standard queue 'lp', select 'Print Dialog' then 'Print using Command' and enter, for example,

lpr -Pascii
to use the queue 'ascii'. KDE executes the following printing instruction:
lpr -Pascii 'filename' &
(filename is the name of the file that contains the text to print)
See also:
o Installing a Printer
o Printing from Applications

Keywords: PRINTER, PRINTING, APPLICATION, KDE

SDB-jsmeix_print-kde, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 12. Apr 2001
SuSE Linux AG - Last generated: 15. Oct 2002 by jsmeix (sdb_gen 1.40.0)