Skip to content

Linux at NC State

wiki support   search:

Printing

As of the Realm Kit for Red Hat Linux 7.2 printing is much easier to set up than in previous versions. The sections below describe what must be done to set up printing for some of the most common cases on campus

Campus Lab Printer

The realmconfig tool does everything you need to set up printing to an NCSU printer in the global printcap. Run realmconfig and select the Printing configuration option. You will see a text entry box to type in the name of the printer that you would like to print to. Click the Ok or the Apply button for the changes to take effect depending on if you are in text mode or graphical mode respectively.

This operation places the name of the default printer into /etc/rc.conf.d/HostPrinter. This file is read to set the default printer at login.

Networked Printer Not in Global Printcap

If you are printing to a networked printer which is not listed in the global printcap used for campus lab printers, you have to do a little bit more to set up the printer. You will need to use the -P with the LPRng tools or you can do the following to change your default printer just your your terminal window.

% setenv PRINTER printername@printserver

As of Red Hat Linux 9 the default printing system is Cups . Unfortunately, Cups does not work in the NCSU environment. LPRng is what the Linux Realm Linux uses and Cups is ignored by default. In order to use some of the Red Hat printer configuration tools and utilities you will have to remove the ncsu-printing package.

# rpm -e ncsu-printing

[Warning]Warning

Note that removing the ncsu-printing package will disable printing to any NCSU realm printer. At this writing Cups does not support kerberos authentication that is required to print to campus printers.

If you don't know the settings for your printer you should ask your systems administrator and consult the Red Hat Getting Started Guide for assistance.