Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[~SOLVED] Unsupported format 'application/postscript'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
yther
Apprentice
Apprentice


Joined: 25 Oct 2002
Posts: 151
Location: Charlotte, NC (USA)

PostPosted: Sun Feb 19, 2006 7:25 pm    Post subject: [~SOLVED] Unsupported format 'application/postscript' Reply with quote

EDIT 21 Sep 2006: After reinstalling this system properly (that is, without keeping a bunch of garbage in /var/db/pkg and elsewhere, which confused portage), printing now works as expected. I never could determine exactly what was wrong before, but the problem is now gone.

I am baffled by this problem! I recently reinstalled this machine from scratch (due to a problem that I now see could have been solved by reverting baselayout, but never mind) and ever since then I cannot print anything with CUPS, not even a test page. When I try a test page from the web interface, I always get the error, "client-error-document-format-not-supported". The log shows this:
Code:
E [19/Feb/2006:13:55:58 -0500] print_job: Unsupported format 'application/postscript'!
I [19/Feb/2006:13:55:58 -0500] Hint: Do you have the raw file printing rules enabled?

I do not have raw printing enabled, because I have a working CUPS setup on another box and it isn't needed there.
This is the entry in printers.conf on both machines:
Code:
<Printer epson>
Info Epson Stylus C88
Location Shelf
DeviceURI lpd://192.168.0.1/print
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

On both boxes, the PPD for this printer is the same. So, I don't think the problem lies with the printer's configuration. In error_log on this box, there are other troublesome messages, such as:
Code:
AddBanner: Banner "confidential" is of an unknown file type - skipping!

I have completely removed cups, foomatic, and gimp-print packages and re-installed them, to no effect.

Creating a CUPS-PDF printer as a test measure, I get the same errors trying to print a test page to that.

There's one other problem with CUPS on this box, and I don't know if it's related. When I browse to my CUPS interface, with Konqueror, Firefox, or even Links, I see only raw HTML.

Does anyone have an idea where to look next?


Last edited by yther on Fri Sep 22, 2006 12:37 am; edited 1 time in total
Back to top
View user's profile Send private message
Penulci
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2002
Posts: 119
Location: Vienna, Austria

PostPosted: Mon Feb 20, 2006 7:05 pm    Post subject: Reply with quote

Do you have ghostscript installed? Ghostscript is necessary for CUPS to interpret Postscript data.

Greetings,

Michael
Back to top
View user's profile Send private message
yther
Apprentice
Apprentice


Joined: 25 Oct 2002
Posts: 151
Location: Charlotte, NC (USA)

PostPosted: Tue Feb 21, 2006 2:23 pm    Post subject: Reply with quote

Yes.
Code:
nenene ~ # equery check ghostscript-esp
[ Checking app-text/ghostscript-esp-7.07.1-r8 ]
 * 425 out of 425 files good
Back to top
View user's profile Send private message
devils
n00b
n00b


Joined: 19 Nov 2004
Posts: 17

PostPosted: Fri Jun 30, 2006 7:29 am    Post subject: Reply with quote

Did you ever solve this?

i have exactly the same errrors with CUOPS version 1.2.1-r2.
Back to top
View user's profile Send private message
MrStaticVoid
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 114
Location: Maryland

PostPosted: Fri Jun 30, 2006 4:20 pm    Post subject: Reply with quote

I had the same exact problem. I solved it by uncommenting:
"application/octet-stream application/vnd.cups-raw 0 -"
in /etc/cups/mime.convs
and
"application/octet-stream"
in /etc/cups/mime.types
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Fri Jun 30, 2006 5:33 pm    Post subject: Reply with quote

I had something quite similar.
gentoo seems to come up quite bare re printer.
There were about 4 or 5 packages that needed installing,
foomatic pkges, gimp-print and an important one in enscript
_________________
idella4@aus
Back to top
View user's profile Send private message
yther
Apprentice
Apprentice


Joined: 25 Oct 2002
Posts: 151
Location: Charlotte, NC (USA)

PostPosted: Sat Jul 08, 2006 6:05 am    Post subject: Reply with quote

MrStaticVoid wrote:
I had the same exact problem. I solved it by uncommenting:
"application/octet-stream application/vnd.cups-raw 0 -"
in /etc/cups/mime.convs
and
"application/octet-stream"
in /etc/cups/mime.types

Those were already uncommented here. I'm installing enscript to see if that helps, but I'm also preparing to reinstall the entire system due to other problems caused by (1) hardened and (2) having reinstalled last year due to a sudden failure, but without formatting the /var partition. :!:

I've since realized that little mistake caused Portage to think that some things were installed when they really weren't, so builds would mysteriously fail; only after tracking down compile-time dependencies and testing to find the bad package could I get them to complete.

Built on an unstable foundation, I'm not surprised this system is a bit shaky! :(

[restarts CUPS, tries test page]

Nope, still claims PostScript isn't supported—and I tested the cups-pdf printer! :P We'll try again after reinstalling.
Back to top
View user's profile Send private message
yvasilev
Retired Dev
Retired Dev


Joined: 25 Aug 2006
Posts: 1

PostPosted: Fri Aug 25, 2006 3:02 pm    Post subject: Reply with quote

Hi, had the exact same problem, in my case it was that cups' config dir had a link what was no longer valid, after deleting it all worked again.

Code:
$ ls -l /etc/cups/pdftops.conf
lrwxrwxrwx 1 root root 11 Dec 29  2005 /etc/cups/pdftops.conf -> /etc/xpdfrc

$ ls -l /etc/xpdfrc
ls: /etc/xpdfrc: No such file or directory


Yuri.
Back to top
View user's profile Send private message
Raenk
n00b
n00b


Joined: 04 Mar 2004
Posts: 64

PostPosted: Tue Mar 06, 2007 3:49 am    Post subject: Reply with quote

I had the same problem, I tried all the things described above with no luck, my last option was to recompiled ghostscript and worked right away.

Cheers
_________________
Linux Registered User #319092
Gentoo User since v1.4
Back to top
View user's profile Send private message
abester
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2005
Posts: 93

PostPosted: Thu Apr 26, 2007 8:05 pm    Post subject: Reply with quote

thanks for the info in this thread, this issue came my way as well. Re-emerging cups seemed to fix it. Couldn't diagnose where the problem really was.

Every time you try lpr it would return application... unsupported. Apparantly something to do with /etc/cups/mime.conv but everything looked OK there.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3026
Location: Edge of marsh USA

PostPosted: Mon Sep 24, 2007 4:35 pm    Post subject: Solved again - not being able to print to Epson Stylus C88 Reply with quote

Finally, somewhat being guided by theforums, but mostly being guided by just poking around and seeing what different ghostscripts were available, I unmerged ghostscript-esp, emerged ghostscript-gpl, restarted cupsd, and voila, all my printers work again. Color me "happy." :D
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3026
Location: Edge of marsh USA

PostPosted: Fri Sep 28, 2007 4:00 pm    Post subject: Solved BETTER - ghostscript-gpl color output quality issue? Reply with quote

1. In order to be able to print to my Epson Stylus C88, I unmerged ghostscript-esp and emerged ghostscript-gpl and did various other printer/CUPS related housekeeping and sure enough the C88 would print again.

BUT, the quality of color printing on my color laser Konica Minolta Magicolor 2300DL went down the tubes to the point that you could hardly read the text in images being printed. I tried various other printer related housekeeping to no avail, and finally, as an experiment, unmerged ghostscript-gpl and emerged ghostscript-esp.

Immediately, with no further printer/CUPS housekeeping, the color laser printing quality was restored perfectly, and surprisingly, the Epson Stylus C88 continues to print. I don't know how stable this will be across further system maintenance updates, to the printing system, but it would appear that there may be output quality issues with ghostscript-gpl. :?:
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Back to top
View user's profile Send private message
Giampier
n00b
n00b


Joined: 04 Jul 2007
Posts: 4

PostPosted: Wed Feb 20, 2008 10:53 am    Post subject: Reply with quote

Same problem here.
I solved by emerging the `ghostscript-esp' package with the `cups' use-flag enabled.
Back to top
View user's profile Send private message
kolaloka
n00b
n00b


Joined: 16 Jan 2010
Posts: 1
Location: Prague, CZECH

PostPosted: Sat Jan 16, 2010 12:05 pm    Post subject: the problem was: ghostscript with cups support needed Reply with quote

Hi,

I also had a very similar problem, also uncommented all the raw ps printing in cups mime.conf and still the problem persisted. Finally by chance I found out that it all depends on the ghostscript (these days there is no -eps, only GPL and GNU), and in fact, any ghostscript will work and supply the missing filter if you
COMPILE GhostScript WITH THE CUPS SUPPORT !!!!

That explains the mysterious behaviour after some recompilations that people above experienced.

To be exact, I did this on NetBSD 5.0.1 and that now very well prints on Canon Pixma MP 190 (using the MP180 driver).
I did not succeed to do this on OpenBSD 4.6 as they (just about the release 4.4 or 4.5) have excluded the support for CUPS flavor of ghostscript in their ports.

Hope that serves some people well.
Greetings!
Kolaloka
_________________
Windows make sound, Linux plays music, BSD ROCKS!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum