LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 15
Samba+Printer Woe..


I am using SuSE 10 from opensuse.org, 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.



AceMan
 
Old 10-07-2005, 02:11 PM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

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 127.0.0.1. 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 ...

http://server_ip_address:631/printers/your_printer_name

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

http://www.owlfish.com/thoughts/wini...003-07-20.html
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration