Print Settings for ASCII Texts with CUPS
Support knowledgebase (mmichna_cups_margins)
Applies to
SuSE Linux: Version 8.1
Situation
You use the printing system CUPS and want to change the print settings for
ASCII texts (for example, the margins or the size or number of characters).
Procedure
-
If you do not use KDE:
-
First, install the package "xpp" as "root" with the command
yast -i xpp
-
Start this application as a normal user with the command
xpp
-
Select the queue to change.
-
Click "Options" then "Text". You can change the settings now.
-
To adopt these settings permanently, click "Save settings"
then "OK". By doing this, the settings for every normal user will be separately
stored in the file
~/.lpoptions
.
-
To exit the program, click "Close".
-
If you use KDE (SuSE Linux standard installation):
-
After selecting the queue, the KDE printing program "kprinter" enables you
to modify the settings under "Properties..." and "Text". Then
apply the changes permanently with "Save".
As in the case of "xpp", the settings are stored in the file ~/.lpoptions
.
-
Once the configuration is completed, click "OK" then "Print" under kprinter's
main menu.
-
After doing this, kprinter asks whether the ASCII text data should be
converted or maintained.
Select "maintain" if you want the CUPS printing system to receive actual
ASCII text data, as the text configuration performed above applies only for ASCII.
If, on the other hand, you selected "Convert", kprinter would convert the ASCII
text data to PostScript and the performed settings would not apply.
PostScript settings can be changed under "Properties..." then
"General".
For example, the following settings will produce a similar output:
-
Under "Properties...general": 2 pages per sheet, landscape orientation,
then "Convert".
-
Under "Properties...text": 15 characters per inch, 9 lines per inch, and 2
columns. Under "Properties...general": landscape orientation and "Maintain".
-
The default setting of kprinter's dialog allows you to choose between "Convert"
and "Maintain". However, if you check "Do not ask again", kprinter will no
longer display this dialog and "Convert" will be selected automatically.
To reset the standard settings of kprinter, delete its configuration file with
the command
rm ~/.kde/share/config/kprinterrc
-
If you use the command line:
-
Resetting the queues to their standard settings
-
To reset the queue's modified settings to the system standard settings,
delete the relevant file as a normal user with
rm ~/.lpoptions
See also:
Print Settings with CUPS
ASCII Editors
Keywords: CUPS, MARGIN, MARGINS, SETTINGS, PRINTER, PRINT
Categories:
Printer
Feedback welcome: Send Mail to mmichna@suse.de (Please give the following subject: SDB-mmichna_cups_margins
)
SDB-mmichna_cups_margins, Copyright SuSE Linux AG, Nürnberg, Germany
- Version: 07. Oct 2002
SuSE Linux AG - Last generated: 04. Feb 2003 by mmichna (sdb_gen 1.40.0)