From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: Content-Type: multipart/alternative; boundary="_30c2f535-1bde-41c8-9927-7ee311c65919_" From: Shane Lin Date: Wed, 22 Jan 2014 09:45:57 -0800 MIME-Version: 1.0 Subject: [Printing-architecture] CUPS Raster filter Question List-Id: Printing architecture under linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "printing-architecture@lists.linux-foundation.org" --_30c2f535-1bde-41c8-9927-7ee311c65919_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear List=2C =20 Are there other filters (other than the gstoraster) can generate CUPS raste= r in the Ubuntu system? What should I do to use them if there is any? Thanks=2C =20 Shane =20 = --_30c2f535-1bde-41c8-9927-7ee311c65919_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear List=2C
 =3B
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?

Th= anks=2C
 =3B
Shane


 =3B
= --_30c2f535-1bde-41c8-9927-7ee311c65919_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=RZDnnbLinqMoPXjgsgEOgyr1JUC6168QzERfS8G8AYk=; b=YglP3UEPVUbBlTAvhPg8h2npW5lt+MB/EVZu6jmCbfS5gty1RtQVKhMvxehAIduB0p TZ19GpDnQ2v+6ahkmleWxt5rxJhR3Lkg2lT3FbRJUAVfE588suv4oi+vaHZ17MUtG90n bXwxQ/92U7BWlShiOiy92RPpDuD/vO/twaMLkwnQnImoIynHuOh9r+6eWNa28W/tC/XC yanT4a/VRB8LtoPGBEEgzDB4RxD96PZ9RyJBE+FaPxbb/aUqTA8BCOZcEq4hfDc8ldb1 KHKJzvA6VKPdtleYs19Ni5iWETvbMVBP/M3L9ESP4io6iFIKsr0XK4JnjVXHR4+HIFFh bvBw== Message-ID: <52E00F63.3060001@gmail.com> Date: Wed, 22 Jan 2014 19:35:15 +0100 From: Till Kamppeter MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Printing-architecture] CUPS Raster filter Question List-Id: Printing architecture under linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: printing-architecture@lists.linux-foundation.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: Content-Type: multipart/alternative; boundary="_90b75b01-5bbe-44cf-b272-3809a2c5e187_" From: Shane Lin Date: Wed, 22 Jan 2014 11:58:10 -0800 In-Reply-To: <52E00F63.3060001@gmail.com> References: , <52E00F63.3060001@gmail.com> MIME-Version: 1.0 Subject: Re: [Printing-architecture] CUPS Raster filter Question List-Id: Printing architecture under linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "till.kamppeter@gmail.com" , "printing-architecture@lists.linux-foundation.org" --_90b75b01-5bbe-44cf-b272-3809a2c5e187_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Till=2C I tried to resolved the printing from the "Document Viewer" with custom pap= er size issue. Currently=2C if I open a PDF file in the Ubuntu 12.04 and pr= int with a custom paper size=2C I always get the "Unrecoverable error: rang= echeck in setpagedevice". I did not see the CUPS raster get generated. Othe= r page sizes printed ok. I think my PPD for the page size should be good. it works well with the PS = printer.=20 I thought using different filter may resolve the issue. But it looks like P= oppler-based titer did not resolve the issue.=20 Do you have any suggestion? Thanks=2C Shane > Date: Wed=2C 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 >=20 > On 01/22/2014 06:45 PM=2C Shane Lin wrote: > > Dear List=2C > > =20 > > 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 a= ny? > >=20 > > Thanks=2C > > =20 > > Shane >=20 > Applications usually send print jobs in PDF=2C leading to a >=20 > pdftopdf -> gstoraster -> rasterto... >=20 > filter chain. gstoraster which uses Ghostscript can be replaced by > pdftoraster which is Poppler-based: >=20 > pdftopdf -> pdftoraster -> rasterto... >=20 > This can be done by editing the file > /usr/share/cups/mime/cupsfilters.convs=2C changing the line >=20 > application/vnd.cups-pdf application/vnd.cups-raster 100 > pdftoraster >=20 > to >=20 > application/vnd.cups-pdf application/vnd.cups-raster 98 > pdftoraster >=20 > Then gstoraster is not used any more but always pdftoraster instead. >=20 > There is also an imagetoraster filter which converts many image formats > into CUPS Raster=2C but this does not work with multi-page jobs. >=20 > Till >=20 > _______________________________________________ > Printing-architecture mailing list > Printing-architecture@lists.linux-foundation.org > https://lists.linuxfoundation.org/mailman/listinfo/printing-architecture = --_90b75b01-5bbe-44cf-b272-3809a2c5e187_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Till=2C

I = tried to resolved the printing from the "Document Viewer" with custom paper= size issue. Currently=2C if I open a PDF file in the Ubuntu 12.04 and prin= t with a custom paper size=2C I always get the "Unrecoverable error: rangec= heck 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. =3B
=
I thought using different filter may resolve the issue. But = it looks like Poppler-based titer did not resolve the issue. =3B
<= div>
Do you have any suggestion?

Tha= nks=2C

Shane







>=3B Date: Wed=2C 22 Jan 2014 19:35:15 +0100<= br>>=3B From: till.kamppeter@gmail.com
>=3B To: printing-architectur= e@lists.linux-foundation.org
>=3B Subject: Re: [Printing-architecture]= CUPS Raster filter Question
>=3B
>=3B On 01/22/2014 06:45 PM=2C= Shane Lin wrote:
>=3B >=3B Dear List=2C
>=3B >=3B
>= =3B >=3B Are there other filters (other than the gstoraster) can generate= CUPS
>=3B >=3B raster in the Ubuntu system? What should I do to use= them if there is any?
>=3B >=3B
>=3B >=3B Thanks=2C
>= =3B >=3B
>=3B >=3B Shane
>=3B
>=3B Applications usual= ly send print jobs in PDF=2C leading to a
>=3B
>=3B pdftopdf -&g= t=3B gstoraster ->=3B rasterto...
>=3B
>=3B filter chain. gsto= raster which uses Ghostscript can be replaced by
>=3B pdftoraster whic= h is Poppler-based:
>=3B
>=3B pdftopdf ->=3B pdftoraster ->= =3B rasterto...
>=3B
>=3B This can be done by editing the file>=3B /usr/share/cups/mime/cupsfilters.convs=2C changing the line
>= =3B
>=3B application/vnd.cups-pdf application/vnd.cups-raster = 100
>=3B pdftoraster
>=3B
>=3B to
>=3B
>=3B = application/vnd.cups-pdf application/vnd.cups-raster 98
>= =3B pdftoraster
>=3B
>=3B Then gstoraster is not used any more b= ut always pdftoraster instead.
>=3B
>=3B There is also an imaget= oraster filter which converts many image formats
>=3B into CUPS Raster= =2C but this does not work with multi-page jobs.
>=3B
>=3B Ti= ll
>=3B
>=3B _______________________________________________
= >=3B Printing-architecture mailing list
>=3B Printing-architecture@l= ists.linux-foundation.org
>=3B https://lists.linuxfoundation.org/mailm= an/listinfo/printing-architecture
= --_90b75b01-5bbe-44cf-b272-3809a2c5e187_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=wexPwoVHmi1+NZj0pknpDGD1u3jUXElJyU1i1jcDB3A=; b=SXv1UqWPLJo0DMa6whKqrnVXUeY4BbZJLrf5OJyKsaSxB7F39Wmrd3z7ZcZX3M2ZV3 a1o19flKYQ2tIv+0yA1QJ76+sTOTkEikGcUnAnTW0+u/VOvkAtDgMrjh1erm5WIqS3e9 L27pO4kgr01wfwbth4luQ4thAJffqCKdEx9xdo8W9RMfmJZ0hZX3+W5YMDmBKHcupSuO NoyFh9uD8kXaljVmBjXf5Fr8zHPQ99yo6pp2gNS49m8sQI47z+kjpoPIqLZgTMOr/LY0 +G28uXgzgcRibbjbTGvbL7oBcAv6Y9lJMIVrOy3ZYC6TszOwPDl1vBrma/5Hj33YG2cD Ta6g== Message-ID: <52E0290B.3050502@gmail.com> Date: Wed, 22 Jan 2014 21:24:43 +0100 From: Till Kamppeter MIME-Version: 1.0 References: , <52E00F63.3060001@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Printing-architecture] CUPS Raster filter Question List-Id: Printing architecture under linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Shane Lin , "printing-architecture@lists.linux-foundation.org" 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.x", with being replaced by the width of the paper, by the length, and 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.x" 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 > > > > > > > >> 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: Content-Type: multipart/alternative; boundary="_6bbe1fd7-e743-444a-88d2-905f9f00433d_" From: Shane Lin Date: Wed, 26 Feb 2014 14:07:50 -0800 In-Reply-To: <52E00F63.3060001@gmail.com> References: , <52E00F63.3060001@gmail.com> MIME-Version: 1.0 Subject: [Printing-architecture] MediaPosition on RHEL 5.0 List-Id: Printing architecture under linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "till.kamppeter@gmail.com" , "printing-architecture@lists.linux-foundation.org" --_6bbe1fd7-e743-444a-88d2-905f9f00433d_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable All=2C I have a question for the MediaPosition on RHEL 5.0: When I check the cups raster file on the RHEL 5.0=2C it looks like the Medi= aPosition is always 0 on the cups raster header. The MediaPosition shows co= rrectly (same as the value selected in the *InputSlot in the PPD) on the RH= EL 5.10. Is this the issue in the "pstoraster" filter on the RHEL 5.0? Any suggestion?=20 Thanks=2C Shane = --_6bbe1fd7-e743-444a-88d2-905f9f00433d_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

All=2C

I = have a question for the MediaPosition on RHEL 5.0:

When I check the cups raster file on the RHEL 5.0=2C it looks like the Med= iaPosition is always 0 on the cups raster header. The MediaPosition shows c= orrectly (same as the value selected in the *InputSlot in the PPD) on the R= HEL 5.10. Is this the issue in the "pstoraster" filter on the RHEL 5.0?

Any suggestion? =3B

Than= ks=2C

Shane






= = --_6bbe1fd7-e743-444a-88d2-905f9f00433d_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: Content-Type: multipart/alternative; boundary="_fbc2426a-be0d-4c23-8f7f-b085c7069461_" From: Shane Lin Date: Thu, 27 Feb 2014 11:51:17 -0800 In-Reply-To: References: , , <52E00F63.3060001@gmail.com>, MIME-Version: 1.0 Subject: Re: [Printing-architecture] MediaPosition on RHEL 5.0 List-Id: Printing architecture under linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "till.kamppeter@gmail.com" , "printing-architecture@lists.linux-foundation.org" --_fbc2426a-be0d-4c23-8f7f-b085c7069461_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable All=2C =20 The "ghostscript-8.70-15.el5_9.3.x86_64.rpm" fixed the issue. =20 Thanks=2C =20 Shane =20 =20 From: shane_lin2000@hotmail.com To: till.kamppeter@gmail.com=3B printing-architecture@lists.linux-foundatio= n.org Date: Wed=2C 26 Feb 2014 14:07:50 -0800 Subject: [Printing-architecture] MediaPosition on RHEL 5.0 =0A= =0A= =0A= All=2C I have a question for the MediaPosition on RHEL 5.0: When I check the cups raster file on the RHEL 5.0=2C it looks like the Medi= aPosition is always 0 on the cups raster header. The MediaPosition shows co= rrectly (same as the value selected in the *InputSlot in the PPD) on the RH= EL 5.10. Is this the issue in the "pstoraster" filter on the RHEL 5.0? Any suggestion?=20 Thanks=2C Shane =0A= _______________________________________________=0A= Printing-architecture mailing list=0A= Printing-architecture@lists.linux-foundation.org=0A= https://lists.linuxfoundation.org/mailman/listinfo/printing-architecture = = --_fbc2426a-be0d-4c23-8f7f-b085c7069461_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
All=2C
 =3B
The "ghostscript-8.70-15.el5= _9.3.x86_64.rpm" fixed the issue.
 =3B
Thanks=2C
 =3B
Shane<= /span>
 =3B




 =3B

From: shane_lin2000@hotmail.com
To: till.kamp= peter@gmail.com=3B printing-architecture@lists.linux-foundation.org
Date= : Wed=2C 26 Feb 2014 14:07:50 -0800
Subject: [Printing-architecture] Med= iaPosition on RHEL 5.0

=0A= =0A= =0A=

All=2C

I have a question for the Me= diaPosition on RHEL 5.0:

When I check the cups ras= ter file on the RHEL 5.0=2C it looks like the MediaPosition is always 0 on = the cups raster header. The MediaPosition shows correctly (same as the valu= e selected in the *InputSlot in the PPD) on the RHEL 5.10. Is this the issu= e in the "pstoraster" filter on the RHEL 5.0?

Any = suggestion? =3B

Thanks=2C

=
Shane






=0A=
_______________________________________________=0A= Printing-architecture mailing list=0A= Printing-architecture@lists.linux-foundation.org=0A= https://lists.linuxfoundation.org/mailman/listinfo/printing-architecture
= --_fbc2426a-be0d-4c23-8f7f-b085c7069461_--