Saving The Configuration File - Red Hat LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE Manual

Hide thumbs Also See for LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE:
Table of Contents

Advertisement

Section 21.9:Saving the Configuration File
Extra time is required to perform this action. Do not choose it unless you are having problems
printing the correct fonts.
Convert Text to Postscript
lecting this when printing plain text documents to decrease the time it takes to print.
allows you to select the paper size for your printer such as US Letter, US Legal, A3,
Page Size
and A4.
Effective Filter Locale
erwise, accept the default of
If you modify the driver options, click
change and restart the printer daemon.

21.9 Saving the Configuration File

When you save your printer configuration using printconf, it creates its own configuration file that
is used to create the /etc/printcap file that the printer daemon (lpd) reads. You can use the
command line options to save or restore this file. If you save your /etc/printcap file and over-
write your existing /etc/printcap file with the saved file, your printer configuration will not be
restored. Each time the printer daemon is restarted, it creates a new /etc/printcap file from the
special printconf configuration file. If you have configured a backup system for your configuration
files, you should use the following method to save your printer configuration. If you added any custom
settings in the /etc/printcap.local file, you should save it as part of your backup system also.
To save your printer configuration, type this command as root:
/usr/sbin/printconf-tui --Xexport > settings.xml
Your configuration is saved to the file settings.xml.
If you save this file, you can restore your printer settings. This is useful if your printer configuration is
deleted, you reinstall Red Hat Linux and do not have your printer configuration file anymore, or you
want to use the same printer configuration on multiple systems. To restore the configuration, type this
command as root:
/usr/sbin/printconf-tui --Ximport < settings.xml
If you already have a configuration file (you have configured one or more printers on the system
already) and you try to import another configuration file, the existing configuration file will be over-
written. If you want to keep your existing configuration and add the configuration in the saved file,
you can merge the files with the following command (as root):
/usr/sbin/printconf-tui --Ximport --merge < settings.xml
is selected by default. If your printer can print plain text, try unse-
defaults to
C
. If you are printing Japanese characters, select
.
C
to return to the main window. Click
OK
ja_JP
. Oth-
to save the
Apply
223

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux 7.2

Table of Contents