Konfigurasi Printer Server di Debian 7 (Wheezy)

Printer

Untuk Meilhat Nama Printer yang dishare

smbclient –L muna

Cara untuk menshare printer

lpadmin –p PrinterH –v smb://192.168.1.20/terserah –P /home/muna/share/canon.ppd

cupsenable PrinterH

accept PrinterH

lpadmin –d PrinterH

Kita  menggunakan aplikasi tambahan SAMBA (Printer sharing) dan CupSYS (Printer configuration).  CUPSYS sendiri singkatan dari Common UNIX Printing System, yang dibundle dengan driver-driver umum segala jenis Printer. Berjalan pada protokol HTTPS, melalui port 631.

apt-get install cupsys

nano /etc/cups/cupsd.conf

#. . .

# Only listen for connections from the local machine.

Listen localhost:631

Listen 192.168.1.26                                                                                                      #Tambakan script ini

Listen /var/run/cups/cups.sock

 

# Restrict access to the server…

<Location />

Order allow,deny

Allow localhost

Allow 192.168.*.*                                                                                                         #Agar cupsys dapat diakases dari lokal

</Location>

# Restrict access to the admin pages…

<Location /admin>

Order allow,deny

Allow localhost

Allow 192.168.*.*                                                                                                         #Agar cupsys dapat diakases dari lokal

</Location>

# Restrict access to configuration files…

<Location /admin/conf>

AuthType Default

Require user @SYSTEM

Order allow,deny

Allow localhost

Allow 192.168.*.*                                                                                                         #Agar cupsys dapat diakases dari lokal

</Location>

#. . .

/etc/init.d/cups restart

Konfigurasi SAMBA

nano  /etc/samba/smb.conf

####### Authentication #######

security = share                                                                                                          

#. . .

########## Printing ##########

# If you want to automatically load your printer list rather

# than setting them up individually then you’ll need this

load printers = yes                                                                                     #Hilangkan tanda pagar

# lpr(ng) printing. You may wish to override the location of the

# printcap file

; printing = bsd

; printcap name = /etc/printcap

# CUPS printing. See also the cupsaddsmb(8) manpage in the

# cupsys-client package.

printing = cups                                                                                                            

printcap name = cups                                                                                             

#. . .

======================= Share Definitions =======================

[printers]

comment = All Printers

path = /var/spool/samba

browseable = yes

printable = yes

guest ok = yes

writable = yes

create mode = 0700

# Windows clients look for this share name as a source of downloadable printer drivers

[print$]

comment = Printer Drivers

path = /var/lib/samba/printers

browseable = yes

read only = yes

guest ok = yes

#. . .

/etc/init.d/samba restart

Konfigurasi Printer CUPSYS

 

https://192.168.1.18:631

 

sumber : hafizatulmuna

Cara Daftar Google Adsense Indonesia Agar Cepat Diterima

Google Adsense adalah salah satu program PPC (Pay Per Click) yang paling banyak digemari oleh ...

Learn more
Share This:Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPin on Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *