GSTN - Cups documentation: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
[[category:GSTN]] | [[category:GSTN]] | ||
| Line 48: | Line 50: | ||
[[Image:]] | [[Image:GSTNCUPS1]] | ||
| Line 58: | Line 60: | ||
[[Image:]] | [[Image:GSTNCUPS2]] | ||
| Line 159: | Line 161: | ||
[[Image:]] | [[Image:GSTNCUPS3]] | ||
4. Restart cups service. | 4. Restart cups service. | ||
| Line 166: | Line 168: | ||
<div style="color:#00000a;">[[Image:]]</div> | <div style="color:#00000a;">[[Image:GSTNCUPS4]]</div> | ||
| Line 185: | Line 187: | ||
From here we can add and manage printers. to add a new printer click '''''“Administration”'''''. | From here we can add and manage printers. to add a new printer click '''''“Administration”'''''. | ||
[[Image:]] | [[Image:GSTNCUPS5]] | ||
<div style="color:#00000a;">2. Click and “'''''Add Printer”''''' and type root username and password of the cups server:</div> | <div style="color:#00000a;">2. Click and “'''''Add Printer”''''' and type root username and password of the cups server:</div> | ||
[[Image:]] | [[Image:GSTNCUPS6]] | ||
| Line 198: | Line 200: | ||
[[Image:]] | [[Image:GSTNCUPS7]] | ||
<div style="color:#00000a;">4. In connection tab type the '''''ipp://172.18.5.67:631/ipp''''' (172.18.5.67 is printer IP) and click ''Continue''.</div> | <div style="color:#00000a;">4. In connection tab type the '''''ipp://172.18.5.67:631/ipp''''' (172.18.5.67 is printer IP) and click ''Continue''.</div> | ||
[[Image:]] | [[Image:GSTNCUPS8]] | ||
| Line 210: | Line 212: | ||
<div style="color:#00000a;">5. Fill the required information and click on “'''''Share This Printer''''' “ and click on “'''''Continue'''''”.</div> | <div style="color:#00000a;">5. Fill the required information and click on “'''''Share This Printer''''' “ and click on “'''''Continue'''''”.</div> | ||
[[Image:]] | [[Image:GSTNCUPS9]] | ||
<div style="color:#00000a;">6. Select the '''“''Generic''”''' print driver and click on '''''“continue”'''''.</div> | <div style="color:#00000a;">6. Select the '''“''Generic''”''' print driver and click on '''''“continue”'''''.</div> | ||
[[Image:]] | [[Image:GSTNCUPS10]] | ||
| Line 227: | Line 229: | ||
Now printer configuration has been done. | Now printer configuration has been done. | ||
[[Image:]] | [[Image:GSTNCUPS11]] | ||
== Testing printer (Print test page). == | == Testing printer (Print test page). == | ||
| Line 233: | Line 235: | ||
<div style="color:#00000a;">1. Click on ''“'''Printers'''” ''tab''. ''Here we can see the installed printers click on printer which we want to test.</div> | <div style="color:#00000a;">1. Click on ''“'''Printers'''” ''tab''. ''Here we can see the installed printers click on printer which we want to test.</div> | ||
[[Image:]] | [[Image:GSTNCUPS12]] | ||
<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]] | ||
| Line 244: | Line 246: | ||
[[Image:]] | [[Image:GSTNCUPS14]] | ||
| Line 263: | Line 265: | ||
''<nowiki># vi /usr/local/samba/etc/smb.conf</nowiki>'' | ''<nowiki># vi /usr/local/samba/etc/smb.conf</nowiki>'' | ||
[[Image:]] | [[Image:GSTNCUPS15]] | ||
| Line 289: | Line 291: | ||
[[Image:]] | [[Image:GSTNCUPS16]] | ||
| Line 311: | Line 313: | ||
[[Image:]] | [[Image:GSTNCUPS17]] | ||
| Line 343: | Line 345: | ||
[[Image:]] | [[Image:GSTNCUPS18]] | ||
| Line 362: | Line 364: | ||
<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]] | ||
| Line 370: | Line 372: | ||
[[Image:]] | [[Image:GSTNCUPS20]] | ||
Revision as of 12:02, 31 January 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
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]