LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CUPS and Samba Killing Me! (https://www.linuxquestions.org/questions/linux-software-2/cups-and-samba-killing-me-270206/)

dttsou 12-25-2004 11:45 AM

CUPS and Samba Killing Me!
 
Hi All,

I have been using Linux for a while now (RedHat and Fedora), and have a home network setup with a shared printer. This setup has always caused me headaches, but this time I just cannot solve it myself, so hopefully someone here can help!

My situation is I have a printer connected to my server which runs Samba and cups, and I have this printer being shared to the network by Samba. The idea is that, regardless of the OS of the client (windows or linux), I want to access the printer through Samba.

It works fine when:
* I do test prints from the server locally,
* from another linux machine, I use smbclient to log into the server and do a "print <filename>"
however, when I try setting up the printer using cups from my client machine and printing a test page, it does absolutely nothing!

Looking at the cups error log, I find that the first two scenarios work because filters were loaded (log file following)
I [26/Dec/2004:01:13:05 +0800] Job 8 queued on 'HPDJ3650' by 'tsou-d'.
I [26/Dec/2004:01:13:06 +0800] Started filter /usr/lib/cups/filter/texttops (PID 22367) for job 8.
I [26/Dec/2004:01:13:06 +0800] Started filter /usr/lib/cups/filter/pstops (PID 22368) for job 8.
I [26/Dec/2004:01:13:06 +0800] Started filter /usr/lib/cups/filter/foomatic-rip
(PID 22370) for job 8.
I [26/Dec/2004:01:13:06 +0800] Started backend /usr/lib/cups/backend/usb (PID 22371) for job 8.

However, if I try printing a test page from the cups web admin interface on the client machine, I get no printer action because it doesn't seem to load those filters (log file following)
I [26/Dec/2004:01:23:27 +0800] Adding start banner page "none" to job 9.
I [26/Dec/2004:01:23:27 +0800] Adding end banner page "none" to job 9.
I [26/Dec/2004:01:23:27 +0800] Job 9 queued on 'HPDJ3650' by 'tsou-d'.
I [26/Dec/2004:01:23:27 +0800] Started backend /usr/lib/cups/backend/usb (PID 24321) for job 9.

If anyone can enlighten me as to what is going on, it would be very much appreciated.

Thanks!
Dean


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