LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 04-13-2013, 05:49 PM   #1
myglide
Member
 
Registered: Mar 2013
Location: Texas
Distribution: slackware 14.0
Posts: 58

Rep: Reputation: Disabled
printer sharing between windows and linux


Can I use the printer connected to my windows 7 pro 64bit box with my linux box? I can see the windows box on the network from my linux box. but when I try to connect it asks for authenication, username and password. I haven't set up anything on the windows box but a username. i'm not sure what to enter. everything I've tried doesn't work.

2. when i open the printer applet in linux and try to configure printers i get this message "The service "printer configuration" does not provide an interface "kcmodule" with keyword "System-config-printer-kde/system-config-printer-kde.py" The factory does not support creating components of the specified type."
possible reasons:
an error occured during your last KDE upgrade leaving an orphaned control module.
you have old third party modules lying around.

I have just done a re-install on the linux box.
 
Old 04-13-2013, 07:19 PM   #2
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 147Reputation: 147
Did you try http://127.0.0.1:631/admin
 
1 members found this post helpful.
Old 04-13-2013, 09:07 PM   #3
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,578

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
Are other windows boxes in your local network able to access that printer?
 
Old 04-13-2013, 09:46 PM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
As guanx said, use the CUPS web interface at http://localhost:631. When asked for the device URI, enter
<connectiontype>://<username>:<password>@<server>/<printer>
where
<connectiontype> is smb
<username> and <password> are the authentication on the Windows box
<server> is the name of the Windows box (you can also use the IP address)
<printer> is the printer name on the Windows box (check with 'smbclient -L //<server>').

Last edited by allend; 04-13-2013 at 09:49 PM.
 
1 members found this post helpful.
Old 04-14-2013, 12:04 AM   #5
myglide
Member
 
Registered: Mar 2013
Location: Texas
Distribution: slackware 14.0
Posts: 58

Original Poster
Rep: Reputation: Disabled
Thanks for the replies.

Are other windows boxes in your local network able to access that printer?

yes


Did you try [url]http://127.0.0.1:631/admin

tried it at the command line and did not work. opened the KDE gui and used web browser and got the message below.

As guanx said, use the CUPS web interface at http://localhost:631. tried that and this http://127.0.0.1:631/admin both returned this message.

the requested operation could not be completed...connection to server refused

opened terminal and typed 'smbclient -L //<server>'). <where server was name of windows box> got...params .c: OpenconfFile() - unable to open configuration

file " /etc/samba/smb.conf": no such file or directory smbclient :cant load the /etc/samba/smb.conf - run testparm to debug it.

it then asked for the root password, gave it.

i could then see the domain, OS, server. (windows box) then 3 columes named sharename, type, comment. I could see the printer in the lists that followed,

another recap of domain, OS, server, then command prompt again...

didnt know what to do next...
 
Old 04-14-2013, 03:20 AM   #6
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
Quote:
the requested operation could not be completed...connection to server refused
Is the CUPS daemon running?
'ps ax | grep cups' should show
Code:
bash-4.2$ ps ax | grep cups
 1862 ?        Ss     0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
 2480 pts/0    D+     0:00 grep cups
If not, as root, do 'sh /etc/rc.d/rc.cups start' and try again.

The CUPS daemon can be started at boot by making /etc/rc.d/rc.cups executable.
i.e. As root, 'chmod +x /etc/rc.d/rc.cups'.
 
1 members found this post helpful.
Old 04-14-2013, 09:56 AM   #7
myglide
Member
 
Registered: Mar 2013
Location: Texas
Distribution: slackware 14.0
Posts: 58

Original Poster
Rep: Reputation: Disabled
@allend thank you for your reply.

got cups running and should now run at bootup. I noticed that I have "no network interfaces", a little red box with a white x in it on the taskbar on the KDE desktop. also my windows box does not see my linux box.

tried to configure with the printer applet and was unsuccessful. looks okay but test page wont print.

using web browser now trying to follow your instructions.

clicked on adding printers and classes

add printer

other network printers, selected windows printer via SAMBA? continue

i get connection box with the line started with "smb...where i should enter "://usernameassword@server/printer"

still unsure what to enter for username and password. my linux login? or windows login? if windows only have username no password. if linux root login?

i used windows username without password continued to next page

add printer: typed in printer name, description, location, checked share box, continue

recap of info list of makes, i choose, continue, model not in list so choose the most common driver. could not provide PPD file, clicked add printer

set defaults

got page that looks like all went well list ip1500(idle,accepting jobs,not shared, server default)

maintenance and administration button clicked test page, got warning box warning-konqueror the page you are trying to view is the result of posted form data. if you resend data , any action the form carried out will be repeated...
 
Old 04-14-2013, 10:13 AM   #8
zafar_dandoti
Member
 
Registered: Dec 2005
Location: India
Distribution: Fedora 17,ubuntu,centos 6.3
Posts: 64

Rep: Reputation: 6
you need to have a valid username and password to connect to the shares on windows either map your windows users to Linux user in
/etc/samba/smbusers or disable password protected sharing in advanced sharing option under windows.
 
Old 04-14-2013, 10:36 AM   #9
myglide
Member
 
Registered: Mar 2013
Location: Texas
Distribution: slackware 14.0
Posts: 58

Original Poster
Rep: Reputation: Disabled
thank you zafar for reply. i do have password protected sharing turned off in advanced sharing options in windows. only have username for windows box no password.
 
Old 04-14-2013, 11:14 AM   #10
myglide
Member
 
Registered: Mar 2013
Location: Texas
Distribution: slackware 14.0
Posts: 58

Original Poster
Rep: Reputation: Disabled
thank you allend. when I used the ps ax | grep cups i got similar results. first line was the same except for the puid the second line read: "3599 tty1 S+ 0:00 grep cups"
 
Old 04-14-2013, 11:56 AM   #11
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
Quote:
"3599 tty1 S+ 0:00 grep cups
That is unimportant. It is simply showing that the grep command is running. That you now have the CUPS daemon running is the key ingredient.

Quote:
I noticed that I have "no network interfaces", a little red box with a white x in it on the taskbar on the KDE desktop.
That is probably the NetworkManager widget in KDE. If you have networking configured in /etc/rc.d/rc.inet1.conf after running 'netconfig' during installation it can be safely ignored. That you could see your Windows shares with 'smbclient' shows that networking appears to be configured correctly.

Quote:
still unsure what to enter for username and password. my linux login? or windows login?
As stated in the earlier post#4, it needs to be the credentials to login to Windows.
Quote:
i used windows username without password continued to next page
Right username, so good. (Side issue - No amount of inconvenience excuses the poor security of running a Windows box without a password).

Quote:
recap of info list of makes, i choose, continue, model not in list so choose the most common driver. could not provide PPD file, clicked add printer
meh - I was afraid of that. What is the make and model of the printer?
 
1 members found this post helpful.
Old 04-14-2013, 12:34 PM   #12
myglide
Member
 
Registered: Mar 2013
Location: Texas
Distribution: slackware 14.0
Posts: 58

Original Poster
Rep: Reputation: Disabled
thank you allend. canon pixma ip1500.

agreed. will set a password
 
Old 04-14-2013, 01:03 PM   #13
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
Canon PIXMA iP1500.
Good news is that there is actually a Linux driver available. http://software.canon-europe.com/products/0010092.asp
Bad news is it will be a challenge to install. There is a guide here http://ubuntuforums.org/showthread.php?t=1517089 that says that the driver files are supplied as .rpm packages.
You could try the technique described here for installing them. http://docs.slackware.com/howtos:har...r_installation
 
1 members found this post helpful.
Old 04-14-2013, 01:09 PM   #14
myglide
Member
 
Registered: Mar 2013
Location: Texas
Distribution: slackware 14.0
Posts: 58

Original Poster
Rep: Reputation: Disabled
thank you allend
 
Old 04-14-2013, 01:43 PM   #15
myglide
Member
 
Registered: Mar 2013
Location: Texas
Distribution: slackware 14.0
Posts: 58

Original Poster
Rep: Reputation: Disabled
comments and questions...
1 usa canon web site shows no linux driver for that printer.
2 the link you supplied clearly states the driver is for suse 9.1 pro.
3 the second link is for a specific version of ubuntu 64 bit os
4 the 3rd is for Brother printers/scanners

I have a couple of question after reading some of the links.
1. are these going to be compatable with my printer and os?
2. does slackware 14.0 have RPM? i've only seen pkgtool.
3. how can i tell if my slackware is 64bit or are all versions of slackware 14.0 64bit?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows Printer Sharing with Linux ? soroccoheaven Linux - Networking 1 09-06-2007 07:10 PM
Printer sharing Linux to Windows Celettu Linux - Networking 0 07-20-2004 12:26 PM
sharing Windows printer with linux 1kyle Linux - Networking 2 02-19-2004 03:05 PM
Sharing printer under linux to windows xp heathpitts Linux - Software 4 12-10-2003 12:39 PM
Linux-windows Printer sharing NGraphiX Linux - Networking 2 08-19-2002 09:55 AM


All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration