From: Till Kamppeter <till.kamppeter@gmail.com>
To: Shane Lin <shane_lin2000@hotmail.com>,
"printing-architecture@lists.linux-foundation.org"
<printing-architecture@lists.linux-foundation.org>
Subject: Re: [Printing-architecture] CUPS Raster filter Question
Date: Wed, 22 Jan 2014 21:24:43 +0100 [thread overview]
Message-ID: <52E0290B.3050502@gmail.com> (raw)
In-Reply-To: <SNT149-W407B16F7728BAD7D8B9D8488A70@phx.gbl>
There is perhaps a bug in the Document viewer or the GTK print dialog,
sending an incorrect option for the custom paper size. It has to send
"PageSize=Custom.<width>x<length><unit>", with <width> being replaced by
the width of the paper, <length> by the length, and <unit> by the unit
in which the width and the length are expressed ("in", "cm", "mm",
"pt"). If the unit is omitted the default unit "pt" (PostScript points,
1/72 inch) is used.
There were already reports that "PageSize=Custom" or
"PageSize=Custom.Custom.<width>x<length><unit>" got sent.
Please follow the instructions of the section "CUPS error_log" on
https://wiki.ubuntu.com/DebuggingPrintingProblems and see in the
error_log what gets actually sent.
Till
On 01/22/2014 08:58 PM, Shane Lin wrote:
> Hi Till,
>
> I tried to resolved the printing from the "Document Viewer" with custom
> paper size issue. Currently, if I open a PDF file in the Ubuntu 12.04
> and print with a custom paper size, I always get the "Unrecoverable
> error: rangecheck in setpagedevice". I did not see the CUPS raster get
> generated. Other page sizes printed ok.
>
> I think my PPD for the page size should be good. it works well with the
> PS printer.
>
> I thought using different filter may resolve the issue. But it looks
> like Poppler-based titer did not resolve the issue.
>
> Do you have any suggestion?
>
> Thanks,
>
> Shane
>
>
>
>
>
> <http://www.windowslive-hotmail.com/betathanks/?locale=en-us&ocid=TXT_PROED_thanks_HMWL_thanks_gifts_0507#>
>
>> Date: Wed, 22 Jan 2014 19:35:15 +0100
>> From: till.kamppeter@gmail.com
>> To: printing-architecture@lists.linux-foundation.org
>> Subject: Re: [Printing-architecture] CUPS Raster filter Question
>>
>> On 01/22/2014 06:45 PM, Shane Lin wrote:
>> > Dear List,
>> >
>> > Are there other filters (other than the gstoraster) can generate CUPS
>> > raster in the Ubuntu system? What should I do to use them if there
> is any?
>> >
>> > Thanks,
>> >
>> > Shane
>>
>> Applications usually send print jobs in PDF, leading to a
>>
>> pdftopdf -> gstoraster -> rasterto...
>>
>> filter chain. gstoraster which uses Ghostscript can be replaced by
>> pdftoraster which is Poppler-based:
>>
>> pdftopdf -> pdftoraster -> rasterto...
>>
>> This can be done by editing the file
>> /usr/share/cups/mime/cupsfilters.convs, changing the line
>>
>> application/vnd.cups-pdf application/vnd.cups-raster 100
>> pdftoraster
>>
>> to
>>
>> application/vnd.cups-pdf application/vnd.cups-raster 98
>> pdftoraster
>>
>> Then gstoraster is not used any more but always pdftoraster instead.
>>
>> There is also an imagetoraster filter which converts many image formats
>> into CUPS Raster, but this does not work with multi-page jobs.
>>
>> Till
>>
>> _______________________________________________
>> Printing-architecture mailing list
>> Printing-architecture@lists.linux-foundation.org
>> https://lists.linuxfoundation.org/mailman/listinfo/printing-architecture
next prev parent reply other threads:[~2014-01-22 20:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 17:45 [Printing-architecture] CUPS Raster filter Question Shane Lin
2014-01-22 18:35 ` Till Kamppeter
2014-01-22 19:58 ` Shane Lin
2014-01-22 20:24 ` Till Kamppeter [this message]
2014-02-26 22:07 ` [Printing-architecture] MediaPosition on RHEL 5.0 Shane Lin
2014-02-27 19:51 ` Shane Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52E0290B.3050502@gmail.com \
--to=till.kamppeter@gmail.com \
--cc=printing-architecture@lists.linux-foundation.org \
--cc=shane_lin2000@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.