LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba printing format not supported (https://www.linuxquestions.org/questions/linux-networking-3/samba-printing-format-not-supported-55840/)

spooge 04-19-2003 02:36 PM

samba printing format not supported
 
finnaly spent some time to setup printer sharing with win2k. getting this error with this confg

here's all my samba printer info:

printcap name = /etc/printcap
load printers = yes
printing =cups
printcap = cups
print command = lpr -P%p -oraw %6
lpq command = lpq -P%p
lprm command = lprm -P%p %j
[printers]
comment = printers
path = /tmp/spool/samba
browseable = yes
public = yes
users = peter
writeable = no
create mode = 0700

samba error log:
[2003/04/19 14:24:13, 0] printing/print_cups.c:cups_job_submit(655)
Unable to print file to lp0 - client-error-document-format-not-supported


i searched couldn't find anything

Thanks !

Tirsales 09-03-2003 07:47 AM

Re: Samba printing format not supported
 
Hy,

I had the same problem, which I could solve by editing the files
/etc/cups/mime.convs AND
/etc/cups/mime.types

After uncommenting the lines
application/octet-stream application/vnd.cups-raw 0 -
in mime.convs

and

application/octet-stream
in mime.types

I could print via SAMBA.

I think the same could be achieved by adding '-oraw' to your print command in smb.conf
(print command = lpr -r -P'%p' -oraw %s
or whatever ;) )

Hope this helped

regards

Tirsales

spooge 09-03-2003 09:41 PM

wow it's been so long (5mo)... i gave up on this.
i'll give it a try.
as soon as my mini server makeover is complete.

thanks
tirsales

rook_mears 07-19-2004 08:53 PM

You Rock!
 
The angels sing.
I've been stuck on this for three days.
I'm a Linux / Samba newbie and thought I was never going to figure it out.
You da' man!
Thank you!!!
-Rook

rook_mears 07-19-2004 10:17 PM

Just wrote the Samba guys
 
I just wrote the Samba guys and asked them to post this solution.
Great job.
-Rook


All times are GMT -5. The time now is 02:28 AM.