View Full Version : [KDE] Network printing
winteum
01-16-2008, 11:06 AM
How to in KDE, gain root access, configure samba and print through windows printer?
penguinbait
01-16-2008, 04:16 PM
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
lorez1
03-29-2008, 10:01 AM
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
03-30-2008, 10:21 AM
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?
lorez1
03-30-2008, 06:59 PM
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
03-31-2008, 10:30 AM
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?
lorez1
03-31-2008, 05:10 PM
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?
penguinbait
03-31-2008, 05:30 PM
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
lorez1
04-01-2008, 07:07 PM
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
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.