Τετάρτη 11 Φεβρουαρίου 2015

How to install printer in Kali linux

Now you can print docs,photos using Kali linux follow this steps and good printing.

Work with: Work with: Local Printers: Local Printers: HP Printer (HPLIP)----- i mean all HP HP Printer (HPLIP)----- i mean all HP series series Canon MP270 series (Canon MP270 Canon MP270 series (Canon MP270 series)---I mean all cannon series series)---I mean all cannon series HP Fax (HPLIP) HP Fax (HPLIP)

Discovered Network Printers: Discovered Network Printers:

Other Network Printers: Other Network Printers: Internet Printing Protocol (http) Internet Printing Protocol (http) Backend Error Handler Backend Error Handler Internet Printing Protocol (ipps) Internet Printing Protocol (ipps) Internet Printing Protocol (ipp) Internet Printing Protocol (ipp) AppSocket/HP JetDirect AppSocket/HP JetDirect Internet Printing Protocol (https) Internet Printing Protocol (https) LPD/LPR Host or Printer LPD/LPR Host or Printer Windows Printer via SAMBA Windows Printer via SAMBA

1.With synaptic install: 1.With synaptic install: cups cups cups-client cups-client or apt-get install cups cups-client or apt-get install cups cups-client "foomatic-db*" "foomatic-db*"

2. In terminal type: 2. In terminal type: adduser root lpadmin adduser root lpadmin

you got this: you got this: Adding user `root' to group `lpadmin' ... Adding user `root' to group `lpadmin' ... Adding user root to group lpadmin Adding user root to group lpadmin Done. Done.

(root mean your (root mean your system account,if your system account,if your account is with different name, type account is with different name, type different name) different name) 3. restart kali 3. restart kali

4. Open terminal and type: 4. Open terminal and type: /etc/init.d/cups start /etc/init.d/cups start you got this: you got this: [ ok ] Starting Common Unix Printing [ ok ] Starting Common Unix Printing System: cupsd. System: cupsd.

5. In terminal type: 5. In terminal type: netstat -ant | grep 631 netstat -ant | grep 631 you got this: you got this: tcp tcp 0 0 0 127.0.0.1:631 0 127.0.0.1:631 0.0.0.0:* 0.0.0.0:* LISTEN LISTEN tcp6 tcp6 0 0 0 ::1:631 0 ::1:631 :::* :::* LISTEN LISTEN tcp6 tcp6 0 0 0 ::1:39723 0 ::1:39723 ::1:631 ::1:631 ESTABLISHED ESTABLISHED tcp6 tcp6 0 0 0 ::1:39722 0 ::1:39722 ::1:631 ::1:631 ESTABLISHED ESTABLISHED tcp6 tcp6 0 0 0 ::1:631 0 ::1:631 ::1:39723 ::1:39723 ESTABLISHED ESTABLISHED tcp6 tcp6 0 0 0 ::1:39721 0 ::1:39721 ::1:631 ::1:631 ESTABLISHED ESTABLISHED tcp6 tcp6 0 0 0 ::1:631 0 ::1:631 ::1:39721 ::1:39721 ESTABLISHED ESTABLISHED tcp6 tcp6 0 0 0 ::1:39720 0 ::1:39720 ::1:631 ::1:631 ESTABLISHED ESTABLISHED tcp6 tcp6 0 0 0 ::1:39724 0 ::1:39724 ::1:631 ::1:631 TIME_WAIT TIME_WAIT tcp6 tcp6 0 0 0 ::1:631 0 ::1:631 ::1:39722 ::1:39722 ESTABLISHED ESTABLISHED tcp6 tcp6 0 0 0 ::1:631 0 ::1:631 ::1:39720 ::1:39720 ESTABLISHED ESTABLISHED

also in terminal type: lsusb also in terminal type: lsusb you got this: you got this: Bus 001 Device 010: ID 04a9:173b Canon, Bus 001 Device 010: ID 04a9:173b Canon, Inc. Inc. (depends on your printer series) (depends on your printer series)

6. Open iceweasel and type: 6. Open iceweasel and type: http://127.0.0.1:631/http://127.0.0.1:631/In In semicolon: CUPS for Administrators semicolon: CUPS for Administrators click on Adding Printers and Classes click on Adding Printers and Classes click on add printer click on add printer type your username(system account) and type your username(system account) and password(system password) password(system password) choose your printer choose your printer and follow instructions...... and follow instructions......

in system settings: go and check in system settings: go and check printers printers and you see your and you see your installed printer installed printer

7. Add cups for printer to startup 7. Add cups for printer to startup programs: programs: go to system tools-preferences-startup go to system tools-preferences-startup programs programs click on add click on add type: type: Name: Cups&printers Name: Cups&printers command : /etc/init.d/cups start command : /etc/init.d/cups start comment: comment: CUPS-standards-based, open CUPS-standards-based, open source printing system

1 σχόλιο: