SuSE 8.1 Personal, Samba and CUPS...
Greetings! I'm having trouble trying to get SAMBA and CUPS to work with my Samsung ML-4500 laser printer. If I send a print job to SAMBA from my WinXP machine, the print job is received, a file is deposited into the /var/spool/cups directory and nothing else happens. From the linux side, I can print text pages from YAST2 and send documents to LPR from the command line, and everything works. Any ideas? I'd previously had SAMBA and CUPS working on a SuSE 7.3 Personal install. However, I'm using the 8.1 RPMs instead of installing everything from source. Thanks! Christopher Reimer
On 01/21/2003 04:51 AM, Christopher D. Reimer wrote:
I'm having trouble trying to get SAMBA and CUPS to work with my Samsung ML-4500 laser printer. If I send a print job to SAMBA from my WinXP machine, the print job is received, a file is deposited into the /var/spool/cups directory and nothing else happens. From the linux side, I can print text pages from YAST2 and send documents to LPR from the command line, and everything works. Any ideas?
I'd previously had SAMBA and CUPS working on a SuSE 7.3 Personal install. However, I'm using the 8.1 RPMs instead of installing everything from source.
I'm not sure if this is the problem, but since 8.1 was compiled with gcc 3.2, therefore all the 8.1 rpms would be gcc 3.2 built, it may not work with 7.3 (if I understood your situation). I would recommend getting the 8.1 source rpms and rebuild and reinstall, just to rule out a gcc 2.95/3.2 issue. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
On Tue, 21 Jan 2003, Joe Morris (NTM) wrote:
On 01/21/2003 04:51 AM, Christopher D. Reimer wrote:
I'd previously had SAMBA and CUPS working on a SuSE 7.3 Personal install. However, I'm using the 8.1 RPMs instead of installing everything from source.
I'm not sure if this is the problem, but since 8.1 was compiled with gcc 3.2, therefore all the 8.1 rpms would be gcc 3.2 built, it may not work with 7.3 (if I understood your situation). I would recommend getting the 8.1 source rpms and rebuild and reinstall, just to rule out a gcc 2.95/3.2 issue.
Previously, this configuration was working for SuSE 7.3 Personal, and I had compiled from the sources for SAMBA and CUPS. I did a fresh installation of SuSE 8.1 Personal and use the 8.1 RPMs for SAMBA and CUPS. Maybe if I did compile from the source, I wouldn't have the problems that I have. However, it should work with the RPMs. Something is missing but I can't put my finger on it. SAMBA to CUPS seems to be working. However, once CUPS gets the print job, nothing happens after that. CUPS should be calling LPR to print the job. Is there way to verify that CUPS is working correctly? Thanks! Christopher Reimer
On Tue, 21 Jan 2003 11:35, Christopher D. Reimer wrote:
On Tue, 21 Jan 2003, Joe Morris (NTM) wrote:
On 01/21/2003 04:51 AM, Christopher D. Reimer wrote:
I'd previously had SAMBA and CUPS working on a SuSE 7.3 Personal install. However, I'm using the 8.1 RPMs instead of installing everything from source.
I'm not sure if this is the problem, but since 8.1 was compiled with gcc 3.2, therefore all the 8.1 rpms would be gcc 3.2 built, it may not work with 7.3 (if I understood your situation). I would recommend getting the 8.1 source rpms and rebuild and reinstall, just to rule out a gcc 2.95/3.2 issue.
Previously, this configuration was working for SuSE 7.3 Personal, and I had compiled from the sources for SAMBA and CUPS. I did a fresh installation of SuSE 8.1 Personal and use the 8.1 RPMs for SAMBA and CUPS. Maybe if I did compile from the source, I wouldn't have the problems that I have. However, it should work with the RPMs.
Something is missing but I can't put my finger on it. SAMBA to CUPS seems to be working. However, once CUPS gets the print job, nothing happens after that. CUPS should be calling LPR to print the job. Is there way to verify that CUPS is working correctly?
Thanks!
Christopher Reimer
I think your problem is to do with the Cups mime files. Windows is passing raw data to the printer but you will find Cups is dropping the data as it cannot ascertain what format it is in.
From memory in the /var/log/cups/error_log you will probably see an entry with something like "unknown octet-stream" or similiar.
Have a look at the two mime files in /etc/cups/ and at the bottom of each file you will see a filter for raw data. Uncomment the appropiate line as indicated in the comments. -- Regards, Graham Smith ---------------------------------------------------------
On Tue, 21 Jan 2003, Graham Smith wrote:
Have a look at the two mime files in /etc/cups/ and at the bottom of each file you will see a filter for raw data. Uncomment the appropiate line as indicated in the comments.
Not that. I'd already uncommented those two options in the files. Thanks! Christopher Reimer
On Tue, 21 Jan 2003 14:31, Christopher D. Reimer wrote:
On Tue, 21 Jan 2003, Graham Smith wrote:
Have a look at the two mime files in /etc/cups/ and at the bottom of each file you will see a filter for raw data. Uncomment the appropiate line as indicated in the comments.
Not that. I'd already uncommented those two options in the files.
Thanks!
Christopher Reimer
Have you checked what is in the /var/log/cups/error_log & /var/log/cups/access_log files? You may need to increase the debug level in /etc/cups/cupsd.conf to get meaningful messages. BTW, Please don't CC me as I'm on the list and DO read the messages posted. -- Regards, Graham Smith ---------------------------------------------------------
At 02:52 PM 1/21/2003 +1100, Graham Smith wrote:
Have you checked what is in the /var/log/cups/error_log & /var/log/cups/access_log files? You may need to increase the debug level in /etc/cups/cupsd.conf to get meaningful messages.
I'd completely forgotten about the log files. I get the following error message: Hint: Do you have ESP Ghostscript installed? I figured out that I needed to install the filter .rpm and to add the -oraw option to the printer command for Samba. Everything is working except that I no longer get the queue on my WinXP machine and none of the print jobs get deleted after being printed. (A cron job can take care of that problem.) It shouldn't be working this way but it is. <sigh> Thanks! Christopher Reimer
I had the same problem and went the other direction with it. I went and downloaded the stuff from Adobe and installed their generic postscript printer driver on my windows machines and hooked them up to my CUPS printers and then everything worked well. Just a suggestion. On Monday 20 January 2003 21:31, Christopher D. Reimer wrote:
On Tue, 21 Jan 2003, Graham Smith wrote:
Have a look at the two mime files in /etc/cups/ and at the bottom of each file you will see a filter for raw data. Uncomment the appropiate line as indicated in the comments.
Not that. I'd already uncommented those two options in the files.
Thanks!
Christopher Reimer
-- Kelly L. Fulks Home Account
participants (5)
-
Christopher D. Reimer
-
Christopher Reimer
-
Graham Smith
-
Joe Morris (NTM)
-
Kelly L. Fulks