April 26, 2015

Setting Printer Network HP LaserJet P2035n di Arch Linux

Install paket: hplip dan cups

Aktifkan CUPS dengan menjalankan daemon:

# cupsd

Install driver HP. Siapkan file ppd (hp-laserjet_p2035n-hpijs-pcl3.ppd), diperoleh di /usr/share/ppd/HP/hp-laserjet_p2035n-hpijs-pcl3.ppd.gz. Ekstrak file tersebut di suatu lokasi, setting permission access ke user. Untuk kasus ini, saya meletakkan file tersebut di /home/bpdp/ppd/hp-laserjet_p2035n-hpijs-pcl3.ppd. Ikuti langkah2 berikut:

[root@bpdp-arch ~]# hp-setup -i
HP Linux Imaging and Printing System (ver. 3.15.2)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
(Note: Defaults for each question are maked with a '*'. Press to accept the default.)
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
  Num       Connection  Description                                              
            Type                                                                
  --------  ----------  ----------------------------------------------------------
  0*        usb         Universal Serial Bus (USB)                              
  1         net         Network/Ethernet/Wireless (direct connection or JetDirect)
  2         par         Parallel Port (LPT:)                                    
Enter number 0...2 for connection type (q=quit, enter=usb*) ? 1
Using connection type: net
Using device: hp:/net/HP_LaserJet_P2035n?ip=172.17.51.109
Setting up device: hp:/net/HP_LaserJet_P2035n?ip=172.17.51.109

---------------------
| PRINT QUEUE SETUP |
---------------------
Please enter a name for this print queue (m=use model name:'HP_LaserJet_P2035n'*, q=quit) ?
Using queue name: HP_LaserJet_P2035n
Locating PPD file... Please wait.
error: No PPD found for model laserjet_p2035n using old algorithm.
error: Unable to find an appropriate PPD file.
Would you like to specify the path to the correct PPD file to use (y=yes, n=no*, q=quit) ? /home/bpdp/ppd/hp-laserjet_p2035n-hpijs-pcl3.ppd
error: Please press or enter 'y', 'n', or 'q'.
Would you like to specify the path to the correct PPD file to use (y=yes, n=no*, q=quit) ? y
Please enter the full filesystem path to the PPD file to use (q=quit) :/home/bpdp/ppd/hp-laserjet_p2035n-hpijs-pcl3.ppd
Description for the file: HP LaserJet p2035n hpijs pcl3, 3.15.2, requires proprietary plugin
Use this file (y=yes*, n=no, q=quit) ? y
Enter a location description for this printer (q=quit) ?Ruang SI Jaringan
Enter additonal information or notes for this printer (q=quit) ?
Adding print queue to CUPS:
Device URI: hp:/net/HP_LaserJet_P2035n?ip=172.17.51.109
Queue name: HP_LaserJet_P2035n
PPD file: /home/bpdp/ppd/hp-laserjet_p2035n-hpijs-pcl3.ppd
Location: Ruang SI Jaringan
Information:

---------------------
| PRINTER TEST PAGE |
---------------------
Would you like to print a test page (y=yes*, n=no, q=quit) ? n
Done.
[root@bpdp-arch ~]#

Setelah itu, setiap kali print, akan muncul printer tersebut. Enjoy!

1 komentar:

  1. Pak, minta kisi-kisi UTS materi Cloud Computingnya.
    Terima kasih!

    BalasHapus