SlideShare una empresa de Scribd logo
1 de 12
rabbit@lamed.web.id
Printer Sharing
• Printer Sharing adalah berbagi printer atau satu printer digunakan
oleh beberapa komputer sekaligus. Syaratnya, komputer-komputer
tersebut harus dalam satu jaringan yang sama.
• Agar kita bisa melakukan Printer Sharing setidaknya dibutuhkan dua
komputer yang terhubung dengan sebuah jaringan LAN yang sama,
satu komputer terhubung langsung dengan printer (Komputer
Server) dan satu komputer lagi yang tidak ada printernya (Komputer
Client). Secara umum Ada 2 Tahap proses yang harus dilakukan
untuk bisa Printer Sharing :
1. Pengaturan pada Komputer Server
2. Pengaturan pada Komputer Client
rabbit@lamed.web.id
Konfigurasi Printer Sharing
• # apt-get install cupsys cupsys-driver-gutenprint
foomatic-db-gutenprint foomatic-filters fontconfig
libtiff4 libfreetype6
• # /etc/init.d/networking restart
• Backup dulu file /etc/cups/cupsd.conf kemudian edit
filenya, anda bisa mengcopy scriptnya dibawah ini :
• # nano /etc/cups/cups.conf

rabbit@lamed.web.id
•

•

•

# Encryption
Encryption IfRequested# Show general information in error_log.
LogLevel info
SystemGroup lpadmin
# Allow remote access
Port 631
Listen 192.168.0.1
Listen /var/run/cups/cups.sock# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
# Restrict access to the server…
<location />
Order allow,deny
Allow localhost
Allow 192.168.0.*
</location>
# Restrict access to the admin pages…
<Location /admin>
Encryption IfRequested
Order allow,deny
Allow localhost
Allow 192.168.0.*
</Location>

rabbit@lamed.web.id
• <Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
Allow 192.168.0.*
</Location>
# Set the default printer/job policies…
<Policy default>
# Job-related operations must be done by the owner or an administrator…
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job PurgeJobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription
Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job
Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>

rabbit@lamed.web.id
•

•

•

# All administration operations require an administrator to authenticate…
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer DisablePrinter Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs
Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer
Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-AddClass CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
AuthType Basic
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job…
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
#
#

rabbit@lamed.web.id
• Simpan konfigurasi diatas, kemudian restart
cups.
• # /etc/init.d/cups restart
• Sekarang anda coba dari browser anda dengan
mengetik http://192.168.0.1:631 . Jika proses
installasi berhasil maka anda tinggal install
driver printer melalui menu yang ada.

rabbit@lamed.web.id
Install CUPS Client
• # apt-get install cupsys cupsys-client
• Setelah itu anda buat file /etc/cups/client.conf dan isi
dengan code berikut
# Servername
ServerName 192.168.0.1
# Encryption
Encryption IfRequested
• Restart cups
• # /etc/init.d/cups restart
rabbit@lamed.web.id
Install Samba
•
•
•
•

# apt-get install samba samba-client
Edit file smb.conf
# nano /etc/samba/smb.conf
Cari kata Authentication, kemudian dibawahnya
ada kata security = user. Anda ganti security =
user menjadi security = share.
• Cari kata cups, kemudian dibawahnya ketikan
perintah berikut ini :
printing = cups
printcap name = cups
rabbit@lamed.web.id
• Cari kata /var/spool/samba , kemudian masukan
perintah seperti dibawah ini :
[printers]
comment = All Printers
browseable = yes
path = /var/spool/samba
use client driver = yes
printable = yes
guest ok = yes
read only = yes
create mask = 0700
public = yes
rabbit@lamed.web.id
Installasi Printer di Client
• Untuk client windows 7 bisa anda jalankan
Add a printer, kemudian pilih opsi add a
network, next, secara otomatis windows akan
mensearch device printer, pilih printer dan
next, kemudian anda ikuti seperti install
printer biasanya.

rabbit@lamed.web.id
rabbit@lamed.web.id

Más contenido relacionado

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Printer sharing berbasis linux debian v5 (#3)

  • 2. Printer Sharing • Printer Sharing adalah berbagi printer atau satu printer digunakan oleh beberapa komputer sekaligus. Syaratnya, komputer-komputer tersebut harus dalam satu jaringan yang sama. • Agar kita bisa melakukan Printer Sharing setidaknya dibutuhkan dua komputer yang terhubung dengan sebuah jaringan LAN yang sama, satu komputer terhubung langsung dengan printer (Komputer Server) dan satu komputer lagi yang tidak ada printernya (Komputer Client). Secara umum Ada 2 Tahap proses yang harus dilakukan untuk bisa Printer Sharing : 1. Pengaturan pada Komputer Server 2. Pengaturan pada Komputer Client rabbit@lamed.web.id
  • 3. Konfigurasi Printer Sharing • # apt-get install cupsys cupsys-driver-gutenprint foomatic-db-gutenprint foomatic-filters fontconfig libtiff4 libfreetype6 • # /etc/init.d/networking restart • Backup dulu file /etc/cups/cupsd.conf kemudian edit filenya, anda bisa mengcopy scriptnya dibawah ini : • # nano /etc/cups/cups.conf rabbit@lamed.web.id
  • 4. • • • # Encryption Encryption IfRequested# Show general information in error_log. LogLevel info SystemGroup lpadmin # Allow remote access Port 631 Listen 192.168.0.1 Listen /var/run/cups/cups.sock# Show shared printers on the local network. Browsing On BrowseOrder allow,deny BrowseAllow @LOCAL # Restrict access to the server… <location /> Order allow,deny Allow localhost Allow 192.168.0.* </location> # Restrict access to the admin pages… <Location /admin> Encryption IfRequested Order allow,deny Allow localhost Allow 192.168.0.* </Location> rabbit@lamed.web.id
  • 5. • <Location /admin/conf> AuthType Basic Require user @SYSTEM Order allow,deny Allow localhost Allow 192.168.0.* </Location> # Set the default printer/job policies… <Policy default> # Job-related operations must be done by the owner or an administrator… <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job PurgeJobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> rabbit@lamed.web.id
  • 6. • • • # All administration operations require an administrator to authenticate… <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer DisablePrinter Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-AddClass CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default> AuthType Basic Require user @SYSTEM Order deny,allow </Limit> # Only the owner or an administrator can cancel or authenticate a job… <Limit Cancel-Job CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit All> Order deny,allow </Limit> </Policy> # # rabbit@lamed.web.id
  • 7. • Simpan konfigurasi diatas, kemudian restart cups. • # /etc/init.d/cups restart • Sekarang anda coba dari browser anda dengan mengetik http://192.168.0.1:631 . Jika proses installasi berhasil maka anda tinggal install driver printer melalui menu yang ada. rabbit@lamed.web.id
  • 8. Install CUPS Client • # apt-get install cupsys cupsys-client • Setelah itu anda buat file /etc/cups/client.conf dan isi dengan code berikut # Servername ServerName 192.168.0.1 # Encryption Encryption IfRequested • Restart cups • # /etc/init.d/cups restart rabbit@lamed.web.id
  • 9. Install Samba • • • • # apt-get install samba samba-client Edit file smb.conf # nano /etc/samba/smb.conf Cari kata Authentication, kemudian dibawahnya ada kata security = user. Anda ganti security = user menjadi security = share. • Cari kata cups, kemudian dibawahnya ketikan perintah berikut ini : printing = cups printcap name = cups rabbit@lamed.web.id
  • 10. • Cari kata /var/spool/samba , kemudian masukan perintah seperti dibawah ini : [printers] comment = All Printers browseable = yes path = /var/spool/samba use client driver = yes printable = yes guest ok = yes read only = yes create mask = 0700 public = yes rabbit@lamed.web.id
  • 11. Installasi Printer di Client • Untuk client windows 7 bisa anda jalankan Add a printer, kemudian pilih opsi add a network, next, secara otomatis windows akan mensearch device printer, pilih printer dan next, kemudian anda ikuti seperti install printer biasanya. rabbit@lamed.web.id