GSTN - Cups documentation: Difference between revisions
No edit summary |
No edit summary |
||
| Line 238: | Line 238: | ||
<div style="color:#00000a;">2. Click on''''' “Maintenance” '''''and select “'''''Print Test Page'''''”.</div> | <div style="color:#00000a;">2. Click on''''' “Maintenance” '''''and select “'''''Print Test Page'''''”.</div> | ||
[[Image: | [[Image:GSTNCUPS13.png]] | ||
| Line 244: | Line 244: | ||
[[Image: | [[Image:GSTNCUPS14.png]] | ||
| Line 263: | Line 263: | ||
''<nowiki># vi /usr/local/samba/etc/smb.conf</nowiki>'' | ''<nowiki># vi /usr/local/samba/etc/smb.conf</nowiki>'' | ||
[[Image: | [[Image:GSTNCUPS15.png]] | ||
| Line 289: | Line 289: | ||
[[Image: | [[Image:GSTNCUPS16.png]] | ||
| Line 311: | Line 311: | ||
[[Image: | [[Image:GSTNCUPS17.png]] | ||
| Line 343: | Line 343: | ||
[[Image: | [[Image:GSTNCUPS18.png]] | ||
| Line 362: | Line 362: | ||
<div style="color:#00000a;">''<nowiki># systemctl stop samba4.service</nowiki>'' </div> | <div style="color:#00000a;">''<nowiki># systemctl stop samba4.service</nowiki>'' </div> | ||
[[Image: | [[Image:GSTNCUPS19.png]] | ||
| Line 370: | Line 370: | ||
[[Image: | [[Image:GSTNCUPS20.png]] | ||
Latest revision as of 05:33, 1 February 2019
CUPS (Common Unix Printing System)
Installation and configuration for CUPS
Date : 25.08.2016
Document Version : 1.0
Table of Contents:Configure CUPS Printing3
:CUPS Web interface (Adding printers).6
:Testing printer (Print test page).9
:CUPS Integration with Samba.11
== Configure CUPS Printing ==
1. Login to server, using root user and install CUPS.
# yum install cups*
2. Edit cupsd.conf file.
# vi /etc/cups/cupsd.conf
3. Make below entries and save file.
MaxLogSize 1m
LogLevel debug
# Allow remote access
Listen localhost:631
Listen 172.18.101.14:631
Listen 2404:a800:1000:d:7800::e:631
Listen /var/run/cups/cups.sock
Browsing On
BrowseLocalProtocols dnssd
DefaultAuthType Basic
WebInterface Yes
<Location />
</Location>
<Location /admin>
</Location>
<Location /admin/conf>
4. Restart cups service.
# systemctl restart cups.service
== CUPS Web interface (Adding printers). ==
From here we can add and manage printers. to add a new printer click “Administration”.
Now printer configuration has been done.
== Testing printer (Print test page). ==
== CUPS Integration with Samba. ==
# vi /usr/local/samba/etc/smb.conf
# mkdir -p /var/spool/samba4/ ; chmod 1777 /var/spool/samba4/
[ProLaserJet]
[ProLaserJet2]



















