Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-06-2005, 12:38 PM   #1
Registered: Dec 2004
Location: Vermont
Distribution: Ubuntu
Posts: 58

Rep: Reputation: 15
Samba+Printer Woe..

I am using SuSE 10 from, and have my printer (Laserjet 1012) setup as a share in Samba. On my WinXP machine I can access the printer, however after a length of time, the printer in WinXP says ready, however when I printer I don't get anything, not even a test page. I usually have to restart the XP machine, and then it is fine again, for a length of time. Anyone have any solutions? or tips? Thank you in advance as this has been the best place for questions.

Old 10-07-2005, 02:11 PM   #2
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
I'm going to take a stab at this and say that since you can print from Win XP -> Laserjet (over SAMBA), at least initially, that it isn't a connectivity problem. There may be something buggy about this setup. Because I don't have a lot of info about your setup (such as relevant logs, etc.), I'm going to suggest something slightly different.

Instead of printing over SAMBA, you can instead try printing over CUPS (Common Unix Printing Service). It works similarly in that the server you are sharing the printer on must be running CUPS (and only CUPS ... if you have LPR installed, it must be removed because they may conflict). You then set the printer up locally on the server (using either KControl or the web-based interface at http://localhost:631).

Sharing it for a Windows PC is a bit of a pain if you are new to this. However, you must essentially do two things ... first, edit /etc/cups/cupsd.conf to allow printing from IP addy's other than I know the file is long, but you should be able to find the right spot. You would need to add an "Allow From 192.168.1." (assuming that is your network IP scheme)

Second, edit /etc/cups/mime.types (I think) and /etc/cups/mime.conv (I think) and search for the row with the word "octet" in them and uncomment them out (remove the "#" at the front of the row). I believe in Slackware both rows are towards the end of those files. YMMV.

Now, restart CUPS by either rebooting the computer or by doing a

#/etc/rc.d/rc.cups restart <-- This is for Slackware

In SuSE land, you can probably restart CUPS through a GUI interface of some type.

Once you've restarted CUPS with the new changes in place, to print from your Windows PC, set up a new printer and when asked for the URL, provide ...


This link will help you out if I've totally confused you.


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
Help printer from a samba shared printer from linux (using cups) epod69 Linux - Networking 3 12-04-2005 10:44 PM
Samba Question/Woe hongman Linux - Networking 4 02-19-2005 07:57 AM
Samba printer help(can see and have access to printer but nothign prints out) rmanocha Linux - Networking 1 11-05-2003 06:54 AM
Woe Is I...More RedHat 7.2 RLee Linux - Software 4 03-30-2002 05:41 AM
Upgrade woe stevecoh1 Linux - Software 0 02-08-2002 06:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:58 PM.

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