SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have Suse 9.1 Personal edition. I have setup Samba to get printing to work from the Windows XP box. When I print something from Windows XP, it seems to work just fine except nothing comes out of the printer.
I have been working on this for 3 days now and I could really use some help.
Here is my smb.conf file:
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/10/19 12:06:04
# Global parameters
[global]
workgroup = TUX-NET
load printers = yes
map to guest = Bad User
interfaces = 127.0.0.1, eth0
printing = cups
printer admin = @ntadmin, root, administrator
bind interfaces only = Yes
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
[users]
comment = All users
path = /home
read only = No
inherit permissions = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit permissions = Yes
The Linux machine is networked to the XP machine and the XP machine has the printer connected to it?
Quote:
When I print something from Windows XP, it seems to work just fine except nothing comes out of the printer.
So which does not work? A print job sent from the Linux machine or a print job from the Xp machine or neither?
I had a similar problem where jobs sent from the Linux machine would get stuck in the spool on the XP and hang the printer (although the print head would move then stop). To get round this on the XP machine goto Printer > Properties > Port then uncheck 'Enable bi-directional Support'.
I'm going to answer, assuming that the printer is on the Linux box and the client is the XP machine.
In my experience, you ought to have the client machine open a file share before printing. XP is terrible at sending authentication for printing when the machine isn't a member of a domain.
This happened to me last week. My wife didn't have a password set on her XP machine, so her mapped drives (we keep our mp3's on the Linux box) eventually timed out and didn't reconnect, which also killed her attempt to print. I fixed the issue by convincing her to use a password at login, persistently mapping the drives and now she has no more printing problems.
Opps! Edit
I just realized that the jobs are obviously getting to the machine just fine. I'm going to leave the above (just in case it helps someone), but I think you need to add
Code:
cups options = raw
to the global portion of your smb.conf.
Last edited by Praetor Judis; 10-20-2004 at 03:46 PM.
Thanks everyone. Sorry I wasn't too clear. The printer is connected to the Linux box and I want the XP machine to print to it. There are only two machines in my network. They share an Internet connection through a D-Link router.
I will give your suggestions a try and see what happens.
I had a very similar situation, and the fix lies in the /etc/cups/mime.convs & /etc/mime.types files.
Those 2 files you have to edit and uncomment the entries in both that prevent RAW printing.
Okay, thanks. I haven't tried printing yet, but now testparm shows this:
"Invalid combination of parameters for service lexmark. Level II oplocks can only be set if oplocks are also set."
Server role: ROLE_STANDALONE
UPDATE: I set oplocks to "Yes" and am not getting this error message. When I can, I'll try printing form the Windows host and see what happens. I'll let you know if this works.
So, essentially, the only thing that's between XP and printing to samba is CUPS. ... and from my own experience with it, those two mime.types and mime.convs files were the culprit, as they denied RAW printing....
But besides that, you might want to check your firewall on the SuSE host to check whether it blocks access from the internal LAN.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.