Printer Server: Difference between revisions

From AbahDoku Wiki
No edit summary
m 15 revisions imported
 
(6 intermediate revisions by the same user not shown)
Line 6: Line 6:
==Install CUPS==
==Install CUPS==
  apt install cups
  apt install cups
==Enable cups==
systemctl enable cups


==Cek status cups==
==Cek status cups==
  systemctl status
  systemctl status
systemctl stauts cups


==Configurasi cups==
==Configurasi cups==
Line 20: Line 24:
mejadi :
mejadi :
  # Only listen for connections from the local machine.
  # Only listen for connections from the local machine.
  Port:631
  Port 631
  Listen /var/run/cups/cups.sock
  Listen /var/run/cups/cups.sock


Line 59: Line 63:
==Configurasi Printer Server melalui Browser==
==Configurasi Printer Server melalui Browser==
IP Printer Server sama dengan IP Armbian Server dengan port 631 sesuai configurasi pada file cupsd.conf
IP Printer Server sama dengan IP Armbian Server dengan port 631 sesuai configurasi pada file cupsd.conf
Contoh :
seperti Contoh berikut :
  192.168.1.10:631
  192.168.1.10:631
==Tab Administration==
===Add Printer===
Add Printer
Pada tahap ini akan diminta user dan password root server
===Pilih Printer===
Pilih printer yang sudah terhubung ke Armbian Server STB dan sudah dalam posisi menyala, misal EPSON_L120_Series
Pilih Model : Epson L120-CUPS+Gutenprint v5.3.3(en)
Klik Add Printer, akan masuk ke menu Set Printer Options
===Set Printer Options===
====General====
Set Printer sesuaikan dengan kebutuhan
Klik Set Default Options jika sudah sesuai.
Akan muncul sesaat :
Printer EPSON_L120_Series default options have been set successfully.
Selanjutnya setting pada Komputer Desktop, Laptop, SmartPhone yang terhubung di jaringan yang sama. Printer siap digunakan.

Latest revision as of 22:47, 19 November 2024

OS yang digunakan adalah "Armbian Server 5.84 user-built Debian GNU/Linux 9 (stretch) 5.1.0-rc1-aml-s905" pada Set Top Box (STB)

Update Armbian[edit]

apt update

Install CUPS[edit]

apt install cups

Enable cups[edit]

systemctl enable cups

Cek status cups[edit]

systemctl status
systemctl stauts cups

Configurasi cups[edit]

nano /etc/cups/cupsd.conf

Edit baris berikut :

# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock

mejadi :

# Only listen for connections from the local machine.
Port 631
Listen /var/run/cups/cups.sock

dan tambahkan :

Allow @LOCAL

pada baris setelah Order allow,deny

# Restrict access to the server...
<Location />
  Order allow,deny
</Location>

dan

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
</Location>

sehingga menjadi :

# Restrict access to the server...
<Location />
  Order allow,deny
  Allow @LOCAL
</Location>

dan

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
  Allow @LOCAL
</Location>

Install Driver Printer[edit]

Printer Epson | Canon

apt install printer-driver-gutenprint

Printer HP

apt install hplip

Configurasi Printer Server melalui Browser[edit]

IP Printer Server sama dengan IP Armbian Server dengan port 631 sesuai configurasi pada file cupsd.conf seperti Contoh berikut :

192.168.1.10:631

Tab Administration[edit]

Add Printer[edit]

Add Printer

Pada tahap ini akan diminta user dan password root server

Pilih Printer[edit]

Pilih printer yang sudah terhubung ke Armbian Server STB dan sudah dalam posisi menyala, misal EPSON_L120_Series Pilih Model : Epson L120-CUPS+Gutenprint v5.3.3(en) Klik Add Printer, akan masuk ke menu Set Printer Options

Set Printer Options[edit]

General[edit]

Set Printer sesuaikan dengan kebutuhan Klik Set Default Options jika sudah sesuai. Akan muncul sesaat :

Printer EPSON_L120_Series default options have been set successfully.

Selanjutnya setting pada Komputer Desktop, Laptop, SmartPhone yang terhubung di jaringan yang sama. Printer siap digunakan.