Active Topics

 


Reply
Thread Tools
Posts: 28 | Thanked: 0 times | Joined on Dec 2007
#1
How to in KDE, gain root access, configure samba and print through windows printer?
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#2
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
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.
 

The Following User Says Thank You to penguinbait For This Useful Post:
Posts: 7 | Thanked: 1 time | Joined on Dec 2007
#3
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
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#4
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?
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.
 
Posts: 7 | Thanked: 1 time | Joined on Dec 2007
#5
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-)
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#6
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?
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.
 
Posts: 7 | Thanked: 1 time | Joined on Dec 2007
#7
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?
 

The Following User Says Thank You to lorez1 For This Useful Post:
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#8
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
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.

Last edited by penguinbait; 2008-03-31 at 21:32.
 
Posts: 7 | Thanked: 1 time | Joined on Dec 2007
#9
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
 
Reply

Tags
cups, kde, kde35


 
Forum Jump


All times are GMT. The time now is 23:45.