Results 1 to 11 of 11

Thread: Install&configure printers on Kali linux....

  1. Post Install&configure printers on Kali linux....

    I have Cannon printer and I decide install and use it on Kali....here is my tutorial about that

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

    Discovered Network Printers:

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


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

    2. In terminal type:
    adduser root lpadmin

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

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

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

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

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

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

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

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

    You don't need windows for printing.....you can print docs&pictures from Kali linux...
    Enoy!!!

  2. #2
    Join Date
    2013-Jun
    Posts
    13
    Thank you for this. I have been trying for awhile now to get my dell laser printer to work. Followed tut and printed a page. Great job.

  3. #3
    Join Date
    2013-Jul
    Posts
    4
    Quote Originally Posted by MasterButcher View Post
    2. In terminal type:
    adduser root lpadmin

    you got this:
    Adding user `root' to group `lpadmin' ...
    Adding user root to group lpadmin
    Done.
    You do not really need to add root to the lpadmin group (root can modify anything even if it is not in a group)
    But you do need to add regular users to lpadmin group if you want them to manage the printing system.


    Quote Originally Posted by MasterButcher View Post
    3. restart kali
    This is also not necessary (this is Linux not Windows), so just restart (or stop and start) the daemons:

    Code:
    service samba restart && service cups restart
    or

    Code:
    service cups restart
    if you do not have SAMBA on your system

  4. #4
    Join Date
    2013-Jun
    Posts
    123
    awesome! thanks

  5. #5
    Join Date
    2013-Dec
    Posts
    3
    Quote Originally Posted by MasterButcher View Post
    I
    7. Add cups for printer to startup programs:
    go to system tools-preferences-startup programs
    click on add
    type:
    Name: Cups&printers
    command : /etc/init.d/cups start
    comment: CUPS-standards-based, open source printing system
    I'm using KDE on my Kali Linux, how can I add cups to startup programs ?

  6. #6
    Join Date
    2013-Mar
    Posts
    7
    Quote Originally Posted by Relto View Post
    I'm using KDE on my Kali Linux, how can I add cups to startup programs ?
    Sorry cause bump old thread I am also on KDE and wasn't sure about 'how can I add cups to startup programs'.

    Well, I make simple script:

    Code:
    #! /bin/sh
    
    /etc/init.d/cups start
    and add script to startup via /system settings/startup/add/add script

    But I am interesting for some another thing: I have a scaner on my printer also. How to scan document on Kali Linux?

  7. #7
    Join Date
    2014-Mar
    Posts
    1
    I bumped into a small problem.

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

    Code:
    tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     
    tcp6       0      0 ::1:631                 :::*                    LISTEN
    But when I run following command I'm able to see my printer -

    Code:
     lsusb
    Bus 004 Device 013: ID 03f0:042a Hewlett-Packard 
    Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 003: ID 0489:d600 Foxconn / Hon Hai 
    Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Later when I try to access the link - it says unable to connect.

    Please help me out here

  8. #8
    Join Date
    2015-Mar
    Posts
    1
    thank you bro.now i can work with printer on kali linux .wooow

  9. #9
    Join Date
    2015-Feb
    Posts
    2
    Thanks. It works.

  10. #10
    Hi guys i did it and everu thing successfully added but now i canr print any thing with non of my printers

  11. #11
    Join Date
    2016-Jun
    Posts
    1
    Thank you very much for this great post!

Similar Threads

  1. Replies: 0
    Last Post: 2014-07-26, 17:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •