AIX - CUPS 'Unsupported document-format' error
Helge Blischke
h.blischke at acm.org
Sun Apr 7 14:46:52 PDT 2013
Zac Lippard wrote:
>>
>> Verify that your CUPS installation contains the rastertolabel filter. If
>> that is true, you need to install either the cups-filters from open
>> printing, or if you don't want to compile this package from the sources
>> (in case there is no RPM for AIX), you could alternatively use the
>> gstoraster filter from
>> http://sourceforge.net/projects/cupsaddons/files/filter-gstoraster/
>> which is written in Perl (should be part of the standard installation on
>> your AIX box) and only requires Ghostscript (which you already
>> installed). For the details, see the accompanying documentation.
>>
>> Helge
>>
>
> Thanks for the reply! I've had some issues compiling the cups-filters
> source so I tried going with gstoraster. I found out that the Ghostscript
> rpm that I originally used did not have CUPS compatibility according to
> the perzl site (Ghostscript kept reporting that the device 'cups' was
> unknown). So I compiled the Ghostscript source and installed it with cups
> support. Now when I run the cups lp command I get an error about the job
> on the cups web server saying stopped "filter failed". I added the
> filters in the gstoraster.convs file to my /etc/cups/local.convs file,
> copied the gstoraster file to /opt/freeware/lib/cups/filters folder, and
> restarted the cups service but no luck. Below is my local.convs file:
>
> #
> # "$Id: mime.convs.in 9926 2011-08-27 09:23:01Z mike $"
> #
> # DO NOT EDIT THIS FILE, AS IT IS OVERWRITTEN WHEN YOU INSTALL NEW
> # VERSIONS OF CUPS. Instead, create a "local.convs" file that
> # reflects your local configuration changes.
> #
> # Base MIME conversions file for CUPS.
> #
> # Copyright 2007-2011 by Apple Inc.
> # Copyright 1997-2007 by Easy Software Products.
> #
> # These coded instructions, statements, and computer programs are the
> # property of Apple Inc. and are protected by Federal copyright
> # law. Distribution and use rights are outlined in the file
> # "LICENSE.txt"
> # which should have been included with this file. If this file is
> # file is missing or damaged, see the license at "http://www.cups.org/".
> #
>
> ########################################################################
> #
> # Format of Lines:
> #
> # source/type destination/type cost filter
> #
> # General Notes:
> #
> # The "cost" field is used to find the least costly filters to run
> # when converting a job file to a printable format.
> #
> # All filters *must* accept the standard command-line arguments
> # (job-id, user, title, copies, options, [filename or stdin]) to
> # work with CUPS.
> #
>
> ########################################################################
> #
> # PostScript filters
> #
>
> application/postscript application/vnd.cups-postscript 66 pstops
> application/vnd.cups-pdf application/vnd.cups-raster 30 gstoraster
> application/pdf application/vnd.cups-raster 30 gstoraster
> application/postscript application/vnd.cups-raster 30 gstoraster
>
> ########################################################################
> #
> # Raster filters...
> #
>
> # PWG Raster filter for IPP Everywhere...
> application/vnd.cups-raster image/pwg-raster 100 rastertopwg
>
> ########################################################################
> #
> # Raw filter...
> #
> # Uncomment the following filter to allow printing of arbitrary files
> # without the -oraw option.
> #
>
> application/octet-stream application/vnd.cups-raw 0 -
>
> #
> # End of "$Id: mime.convs.in 9926 2011-08-27 09:23:01Z mike $".
> #
Please execute
cupsctl --debug-logging
then start a test print
execute
cupsctl --no-debug-logging
afterwards
and post (an URL to or mail to me) the portion of
/var/log/cups/error_log
which contains all the messages concerning the test job.
Helge
More information about the cups
mailing list