Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [KDE] Network printing

    Reply
    winteum | # 1 | 2008-01-16, 15:06 | Report

    How to in KDE, gain root access, configure samba and print through windows printer?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    penguinbait | # 2 | 2008-01-16, 20:16 | Report

    Originally Posted by winteum View Post
    How to in KDE, gain root access, configure samba and print through windows printer?
    #1 make sure you know the root password

    You can change the root password in xterm.

    As root type

    passwd <hit enter>

    Now set the password to what you want.

    2# Open Konqueror, use the CUPS bookmark

    This will allow you to configure your printer
    when prompted for user/password, use root and your root password.

    You will need to configure it as following, when you get to the right page in cups/konqueror

    smb://server/printersharename
    smb://username:password@server/printersharename smb://username:password@workgroup/server/printersharename

    Mine is like this, but I have no authentication
    smb://192.168.0.35/hpd

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to penguinbait For This Useful Post:
    winteum

     
    lorez1 | # 3 | 2008-03-29, 14:01 | Report

    Has anyone managed to get a windows workgroup networked Canon i860 working with cups and KDE. Do I need to dl the linux driver for it onto KDE-OS2008? I've been trying repeatedly to find the right settings... generic....raw smb .. http.. IPP I'm at a loss as to how to proceed.
    thx

    Edit | Forward | Quote | Quick Reply | Thanks

     
    penguinbait | # 4 | 2008-03-30, 14:21 | Report

    Originally Posted by lorez1 View Post
    Has anyone managed to get a windows workgroup networked Canon i860 working with cups and KDE. Do I need to dl the linux driver for it onto KDE-OS2008? I've been trying repeatedly to find the right settings... generic....raw smb .. http.. IPP I'm at a loss as to how to proceed.
    thx
    How is the 860 on the network? If it is hooked to a Windows System and shared out, you want to do samba.

    If it is hooked to a HP jetdirect box or other using IPP, it should be able to find it on the network, you just need to choose it and set it up.

    Can you provide more information?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lorez1 | # 5 | 2008-03-30, 22:59 | Report

    Thanks for your reply, the i860 is hooked to a windows computer on my home LAN. I,ve tried via samba using RAW and Generic [because there are no Canon drivers in the KDE cups install]
    it is addressed as:"smb://borgbox/Canoni860"
    This setup seems to find the printer it says it is ready to print but nothing comes out the printer.
    Do I have to install Canon drivers in KDE? where? how?
    thanks for your help and patience... 8-)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    penguinbait | # 6 | 2008-03-31, 14:30 | Report

    Originally Posted by lorez1 View Post
    Thanks for your reply, the i860 is hooked to a windows computer on my home LAN. I,ve tried via samba using RAW and Generic [because there are no Canon drivers in the KDE cups install]
    it is addressed as:"smb://borgbox/Canoni860"
    This setup seems to find the printer it says it is ready to print but nothing comes out the printer.
    Do I have to install Canon drivers in KDE? where? how?
    thanks for your help and patience... 8-)
    Can you print to it from other windows printers? Is any authentication needed? Can you provide any error info from the cups interface? any log info?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lorez1 | # 7 | 2008-03-31, 21:10 | Report

    Yes I can print from all other PC's [7 of them running XP or Vista] but not from the imac, hackentosh [OSx86 10.4.6 I built] or Ubuntu 7.10 [again drivers a problem]
    here is the log of my many attemps:
    BusyBox v1.6.1 (2007-09-27 18:08:59 EEST) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    ~ $ cd /home/user/bjcups-2.4-0
    ~/bjcups-2.4-0 $ install
    /bin/sh: install: not found
    ~/bjcups-2.4-0 $ ls
    COPYING LICENSE bjcups libs
    ChangeLog Makefile filter ppd
    INSTALL README include
    ~/bjcups-2.4-0 $ Home Administration Classes Documentation/Help Jobs Printers
    /bin/sh: Home: not found
    ~/bjcups-2.4-0 $ modify-printercanoni860borgboxcanon i860 bubblejetCanon PIXUS 860i ver.2.4
    /bin/sh: modify-printercanoni860borgboxcanon: not found
    ~/bjcups-2.4-0 $ Device URI for canoni860
    /bin/sh: Device: not found
    ~/bjcups-2.4-0 $ Device URI:
    /bin/sh: Device: not found
    ~/bjcups-2.4-0 $ smb://192.168.2.12/Canoni860 Examples:
    /bin/sh: smb://192.168.2.12/Canoni860: not found
    ~/bjcups-2.4-0 $ http://hostname:631/ipp/
    /bin/sh: http://hostname:631/ipp/: not found
    ~/bjcups-2.4-0 $ http://hostname:631/ipp/port1
    /bin/sh: http://hostname:631/ipp/port1: not found
    ~/bjcups-2.4-0 $
    ~/bjcups-2.4-0 $ ipp://hostname/ipp/
    /bin/sh: ipp://hostname/ipp/: not found
    ~/bjcups-2.4-0 $ ipp://hostname/ipp/port1
    /bin/sh: ipp://hostname/ipp/port1: not found
    ~/bjcups-2.4-0 $
    ~/bjcups-2.4-0 $ lpd://hostname/queue
    /bin/sh: lpd://hostname/queue: not found
    ~/bjcups-2.4-0 $
    ~/bjcups-2.4-0 $ socket://hostname
    /bin/sh: socket://hostname: not found
    ~/bjcups-2.4-0 $ socket://hostname:9100
    /bin/sh: socket://hostname:9100: not found
    ~/bjcups-2.4-0 $
    ~/bjcups-2.4-0 $ See "Network Printers" for the correct URI to use with your printer.
    /bin/sh: See: not found
    ~/bjcups-2.4-0 $

    Did Gutenberg have all this problem with his printing?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to lorez1 For This Useful Post:

     
    penguinbait | # 8 | 2008-03-31, 21:30 | Report

    Originally Posted by lorez1 View Post
    Yes I can print from all other PC's [7 of them running XP or Vista] but not from the imac, hackentosh [OSx86 10.4.6 I built] or Ubuntu 7.10 [again drivers a problem]
    here is the log of my many attemps:
    BusyBox v1.6.1 (2007-09-27 18:08:59 EEST) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    ~ $ cd /home/user/bjcups-2.4-0
    ~/bjcups-2.4-0 $ install
    /bin/sh: install: not found
    ~/bjcups-2.4-0 $ ls
    COPYING LICENSE bjcups libs
    ChangeLog Makefile filter ppd
    INSTALL README include
    ~/bjcups-2.4-0 $ Home Administration Classes Documentation/Help Jobs Printers
    /bin/sh: Home: not found
    ~/bjcups-2.4-0 $ modify-printercanoni860borgboxcanon i860 bubblejetCanon PIXUS 860i ver.2.4
    /bin/sh: modify-printercanoni860borgboxcanon: not found
    ~/bjcups-2.4-0 $ Device URI for canoni860
    /bin/sh: Device: not found
    ~/bjcups-2.4-0 $ Device URI:
    /bin/sh: Device: not found
    ~/bjcups-2.4-0 $ smb://192.168.2.12/Canoni860 Examples:
    /bin/sh: smb://192.168.2.12/Canoni860: not found
    ~/bjcups-2.4-0 $ http://hostname:631/ipp/
    /bin/sh: http://hostname:631/ipp/: not found
    ~/bjcups-2.4-0 $ http://hostname:631/ipp/port1
    /bin/sh: http://hostname:631/ipp/port1: not found
    ~/bjcups-2.4-0 $
    ~/bjcups-2.4-0 $ ipp://hostname/ipp/
    /bin/sh: ipp://hostname/ipp/: not found
    ~/bjcups-2.4-0 $ ipp://hostname/ipp/port1
    /bin/sh: ipp://hostname/ipp/port1: not found
    ~/bjcups-2.4-0 $
    ~/bjcups-2.4-0 $ lpd://hostname/queue
    /bin/sh: lpd://hostname/queue: not found
    ~/bjcups-2.4-0 $
    ~/bjcups-2.4-0 $ socket://hostname
    /bin/sh: socket://hostname: not found
    ~/bjcups-2.4-0 $ socket://hostname:9100
    /bin/sh: socket://hostname:9100: not found
    ~/bjcups-2.4-0 $
    ~/bjcups-2.4-0 $ See "Network Printers" for the correct URI to use with your printer.
    /bin/sh: See: not found
    ~/bjcups-2.4-0 $

    Did Gutenberg have all this problem with his printing?
    I am unsure what you have pasted in here?

    did you configure a printer at http://localhost:631

    open a web browser, go to http://localhost:631


    what is bjcups? you most likely will not be able to use drivers not included? stick to postscript

    what happens when you setup the printer and print?? /var/log/cups look at the error log

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by penguinbait; 2008-03-31 at 21:32.

     
    lorez1 | # 9 | 2008-04-01, 23:07 | Report

    Looked at the error log says:
    I [01/Apr/2008:09:20:40 -0400] commptr=""
    I [01/Apr/2008:09:20:40 -0400] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=3059)
    E [01/Apr/2008:09:20:40 -0400] CUPS-Add-Modify-Printer: Unauthorized
    I [01/Apr/2008:09:20:40 -0400] Setting canoni860 device-uri to "smb://BORG-NH0GEQ78/Canoni860" (was "smb://BORG-NH0GEQ78/Canoni860".)
    I [01/Apr/2008:09:20:40 -0400] Setting canoni860 printer-is-accepting-jobs to 1 (was 1.)
    I [01/Apr/2008:09:20:40 -0400] Setting canoni860 printer-state to 3 (was 5.)
    I [01/Apr/2008:09:20:40 -0400] Saving printers.conf...
    I [01/Apr/2008:09:20:40 -0400] Printer "canoni860" modified by "root".
    I [01/Apr/2008:09:20:46 -0400] commptr="?OP=redirect&URL=/printers/canoni860"
    I [01/Apr/2008:09:20:46 -0400] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=3063)
    I [01/Apr/2008:09:20:47 -0400] commptr=""
    I [01/Apr/2008:09:20:47 -0400] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=3066)
    I [01/Apr/2008:09:21:01 -0400] commptr="?op=print-test-page"
    I [01/Apr/2008:09:21:01 -0400] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=3077)
    I [01/Apr/2008:09:21:01 -0400] Adding start banner page "none" to job 14.
    I [01/Apr/2008:09:21:01 -0400] Adding end banner page "none" to job 14.
    I [01/Apr/2008:09:21:01 -0400] Job 14 queued on "canoni860" by "root".
    I [01/Apr/2008:09:21:01 -0400] Started filter /usr/lib/cups/filter/pstops (PID 3078) for job 14.
    I [01/Apr/2008:09:21:01 -0400] Started backend /usr/lib/cups/backend/smb (PID 3079) for job 14.
    I [01/Apr/2008:09:21:04 -0400] commptr=""


    I did configre a printer via Cups link in Konquer in fact I tried with every combination I could think of to try.... no go.
    For the time being I'm sending files to a PC and printing with vnc and winSCP clunky but it works.
    thanks anyways for your help and for KDE

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout