Difference between revisions of "CentOS 7.x Configure cups printing server"

From Notes_Wiki
(Created page with "<yambe:breadcrumb self="Configure cups printing server">CentOS_7.x_Print_server|Print server</yambe:breadcrumb> =CentOS 7.x Configure cups printing server= To configure cups...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb self="Configure cups printing server">CentOS_7.x_Print_server|Print server</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x Print server|Print server]] > [[CentOS 7.x Configure cups printing server]]
=CentOS 7.x Configure cups printing server=


To configure cups print server on CentOS 7.x use following steps:
To configure cups print server on CentOS 7.x use following steps:
Line 40: Line 39:




<yambe:breadcrumb self="Configure cups printing server">CentOS_7.x_Print_server|Print server</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x Print server|Print server]] > [[CentOS 7.x Configure cups printing server]]

Latest revision as of 16:34, 28 August 2022

Home > CentOS > CentOS 7.x > Print server > CentOS 7.x Configure cups printing server

To configure cups print server on CentOS 7.x use following steps:

  1. yum -y install cups ghostscript hplip-common
    In case there is no real printer for testing and you want to use a virtual printer for practising cups then also do:
    yum -y install cups-pdf
  2. Start, enable and check status of cups services
    systemctl start cups
    systemctl enable cups
    systemctl status cups
  3. Configure cups to be accessible on LAN by editing '/etc/cups/cupsd.conf as follows:
    1. Prepend following at begining of configuration file
      DefaultEncryption Never
    2. Add additional 'Listen <lan-ip>:631' directive along with other 'Listen' directives to listen on additional IPs (non-loopback)
    3. Edit access configuration for <Location /> to give access to others to cups print server
    4. Edit access configuration for <Location /admin> to give admin access to admin station IPs
    5. Restart cups for changes to take effect
      systemctl restart cups
  4. Now cups can be accessed at https://<lan-ip-or-fqdn>:631/ from IPs whitelisted in the access configuration
  5. To add the printer on any other Linux machine over IPP use printer URL such as:
    ipp://<lan-ip-or-fqdn>/printers/<printer-name>
    For example, 'ipp://192.168.123.91/printers/cups-pdf' can be used to access cups-pdf printer setup on 192.168.123.91 machine.


Refer:



Home > CentOS > CentOS 7.x > Print server > CentOS 7.x Configure cups printing server