LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-19-2003, 02:36 PM   #1
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Rep: Reputation: 31
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 !
 
Old 09-03-2003, 07:47 AM   #2
Tirsales
LQ Newbie
 
Registered: Sep 2003
Location: Germany
Distribution: Debian
Posts: 6

Rep: Reputation: 0
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
 
Old 09-03-2003, 09:41 PM   #3
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Original Poster
Rep: Reputation: 31
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
 
Old 07-19-2004, 08:53 PM   #4
rook_mears
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
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
 
Old 07-19-2004, 10:17 PM   #5
rook_mears
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
Just wrote the Samba guys

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


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
[SOLVED] Printing man-pages in original format JZL240I-U Linux - General 3 10-26-2010 08:26 AM
Error 'format not supported' when trying to burn Audio CD from MP3s Metalbarthug Linux - Software 11 11-13-2005 11:47 AM
KDE 3.2 Print Problem "File Format is not directly supported" forgox Debian 0 09-22-2004 09:07 PM
printing through samba doralsoral Linux - Software 4 08-12-2004 11:38 PM
samba printing haydn Linux - Networking 2 07-29-2003 09:18 AM


All times are GMT -5. The time now is 03:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration