Re: Samba printing problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The short question is this. I've added a Samsung ML-1710 laser printer
> to my Fedora system. How do I share this printer with Samba?
>
> Now let me apologize for the long, rambling and vague nature of the rest
> of this post. Unfortunately, that represents my understanding of the
> printing and sharing processes.
>
> As I said, I added a Samsung ML-1710 laser printer to my Fedora system.
> It attaches with USB. I already had an Epson Stylus Photo attached by
> parrallel cable. I am able to print to both printers locally. I am able
> to print to the Epson remotely. However, I've been unable to print to
> the Samsung remotely.
>
> I tried printing the same document to both printers from a Win2k laptop.
> Here's what I got in the CUPS error log:
>
> I [14/Jan/2004:10:48:45 -0600] Adding start banner page "none" to job 262.
> I [14/Jan/2004:10:48:45 -0600] Adding end banner page "none" to job 262.
> I [14/Jan/2004:10:48:45 -0600] Job 262 queued on 'ml-1710' by 'andrew'.
> I [14/Jan/2004:10:48:45 -0600] Started filter
> /usr/lib/cups/filter/texttops (PID 11195) for job 262.
> I [14/Jan/2004:10:48:45 -0600] Started filter
> /usr/lib/cups/filter/pstops (PID 11196) for job 262.
> I [14/Jan/2004:10:48:45 -0600] Started filter
> /usr/lib/cups/filter/ppmtospl2 (PID 11197) for job 262.
> I [14/Jan/2004:10:48:45 -0600] Started backend /usr/lib/cups/backend/usb
> (PID 11198) for job 262.
> W [14/Jan/2004:10:48:46 -0600] [Job 262] Media tray empty!
>
> I [14/Jan/2004:10:49:26 -0600] Adding start banner page "none" to job 263.
> I [14/Jan/2004:10:49:26 -0600] Adding end banner page "none" to job 263.
> I [14/Jan/2004:10:49:26 -0600] Job 263 queued on 'stylusphoto' by
> 'andrew'.
> I [14/Jan/2004:10:49:26 -0600] Started filter
> /usr/lib/cups/filter/texttops (PID 11202) for job 263.
> I [14/Jan/2004:10:49:26 -0600] Started filter
> /usr/lib/cups/filter/pstops (PID 11203) for job 263.
> I [14/Jan/2004:10:49:26 -0600] Started filter
> /usr/lib/cups/filter/foomatic-rip (PID 11204) for job 263.
> I [14/Jan/2004:10:49:26 -0600] Started backend
> /usr/lib/cups/backend/parallel (PID 11205) for job 263.
>
>
> The media tray is not empty on the ml-1710. I can turn around and print
> to it sucessfully locally. It seems like CUPS doesn't really know about
> the ML-1710.
>
> When I installed the software from Samsung, it installed something
> called the Linux Printing Package. This seems to replace lpr. When
> printing from applications, it throws up a window after all the
> application printing windows and I make the choice of the printer there.
> I'm wondering if this is somehow interfering with the Samba sharing.
>
> If it's not apparent, I really don't know how to approach this problem.
> Any suggestions on tracks to follow, logs to track down, anything would
> be greatly appreciated.
>
> Thanks!
>
> Andrew Robinson
>
>
>
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
hello there,

i had a similar problem to my HP PSC 750 - also via USB. Some documents
need printed by samba via a kind of application stream, this is not fully
enabled in cups. So, my printer works now, with a small workaround:

try the following, it helped for me, perhaps you have the same effect:

insert in your /etc/samba/smb.conf in your [printers] part:

print command = lpr -r -o raw -P %p %s
lpq command = lpstat -o %p
lprm command = cancel %p-%j

this tells samba to send the data in raw-format and other things.

then, comment out (activate) the following lines (at the end of the files)
so they look like:

files: /etc/cups/mime.types and mime.convs
application/octet-stream        application/vnd.cups-raw        0       -

try and let us know..

cheers,
Roger






[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux