[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tips: setup a printer on linux box



 
    
setup a printer on linux box:

[root@igloo /root]# cat /etc/printcap
#
# Please don't edit this file directly unless you know what you are doing!
# Be warned that the control-panel printtool requires a very strict format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.


##PRINTTOOL3## REMOTE POSTSCRIPT 600x600 a4 {} PostScript Default 1
lanston:\
        :sd=/var/spool/lpd/lanston:\
        :mx#0:\
        :sh:\
        :rm=lanston.asis.unimacq.edu.au:\
        :rp=lanston:\
        :if=/var/spool/lpd/lanston/filter:
##PRINTTOOL3## REMOTE ljet4 600x600 a4 {} LaserJet4 Default {}
caslon:\
        :sd=/var/spool/lpd/caslon:\
        :mx#0:\
        :sh:\
        :rm=caslon.its.unimacq.edu.au:\
        :rp=caslon:\
        :if=/var/spool/lpd/caslon/filter:
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


running printtool to set up:

[terrence@igloo terrence]$ rpm -qi printtool-3.40-3
Name        : printtool                    Relocations: (not relocateable)
Version     : 3.40                              Vendor: Red Hat Software
Release     : 3                             Build Date: Mon Mar 22 14:44:06 1999
Install date: Thu Aug  5 18:19:55 1999      Build Host: porky.devel.redhat.com
Group       : Applications/Publishing       Source RPM: printtool-3.40-3.src.rpm
Size        : 116553                           License: GPL
Packager    : Red Hat Software <http://developer.redhat.com/bugzilla/>
Summary     : A printer configuration tool with a graphical user interface.
Description :
The printtool is a printer configuration tool with a graphical user
interface.  Printtool can manage both local and remote printers,
including Windows (SMB) and NetWare (NCP) printers.

Printtool should be installed so that you can manage local and remote
printers.


Another way to add your printer manually is:

1. mkdir /var/spool/lpd/caslon

Do we need to add a filter (e.g, Apple Laserprinter) for it, which 
filters come from rhs-printfilters-1.51-2. Copy it directly.

[terrence@igloo /tmp]$ diff /var/spool/lpd/caslon/filter /usr/lib/rhs/rhs-printfilters/master-filter 

They are same!!!


Google