Community mailing list archives

community@mail.odoo.com

Re: Half Letter page size Invoice CPUS printing - extra form feed problem

by
Fred Lu
- 02/03/2015 10:29:46

It is confirmed that the issue is in my CUPS configuration.
Because I use lp command to print a large text file to that CUPS dot matrix printer. There is a extra blank half letter page between pages.
I config page size to be HlafLetter page size in my CUPS printer ppd.

Does anyone recommend helpful CUPS printer configuration reference document for half letter page size?

On 2015/2/3 下午 11:02, Yannick Vaucher wrote:
<blockquote cite="mid:CAA50gnGfd09xQr6nVy3Rj1i8g8G6M2VoEthOOJsEG0+5Fc-HrA@mail.gmail.com" type="cite">
Is the extra blank page present in generated file sent to printer? (Maybe check this by generating the pdf file) If the extra page is present on PDF you have an issue in your report template that creates your file or it is an issue with that kind of format in Qweb.
Otherwise it could be an issue in CUPS config or on your printer. Also try to print the generated file directly.

For now base_report_to_printer dumbly send file to CUPS server so it doesn't define page size so the issue shouldn't be there.

Yannick Vaucher
Business Solutions Software Developer

Camptocamp SA
PSE A, CH-1015 Lausanne
Phone: +41 21 619 10 30
Office: +41 21 619 10 10

On Tue, Feb 3, 2015 at 4:23 AM, Fred Lu(呂豐昌) <fred@e-ipro.com> wrote:

Yes, I installed base_report_to_printer module.
I have configured the page size of dot matrix printer ppd file.
Print a file to that cups printer. There is a extra blank page(form feed) between pages.


On 2015/2/2 下午 09:12, Yannick Vaucher wrote:
<blockquote cite="mid:CAA50gnGmf1mFOgoEur_XixKREU+qVipwp80AecvEY+jno1FJwQ@mail.gmail.com" type="cite">
You certainly have to generate PDFs of the right size.

Are you using https://github.com/OCA/report-print-send/tree/8.0/base_report_to_printer module?

Cheers,

Yannick Vaucher
Business Solutions Software Developer

Camptocamp SA
PSE A, CH-1015 Lausanne

On Mon, Feb 2, 2015 at 11:17 AM, Fred Lu(呂豐昌) <fred@e-ipro.com> wrote:

Hi,

Print invoice to a CUPS printer. The invoice page formation is half letter.
The page size of  CUPS printer is half letter ( Custom.8.5x5.5in)
If the invoice pages is more than 2 pages. There is a blank page between 2 pages.
How to fix the extra form feed problem?

--
Best Regards,

Fred Lu 

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


--
Best Regards,

Fred Lu | 呂豐昌

T: +886 3 657 9368 #110 | M: +886 936 180 686
IPRO 網際家 | http://www.e-ipro.com

企業行動力 - 任何時間、任何地點, 即時安全存取企業資訊, 立即採取行動
運用 Odoo ERP 擴展您的事業, 提升企業競爭力

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


--
Best Regards,

Fred Lu | 呂豐昌

T: +886 3 657 9368 #110 | M: +886 936 180 686
IPRO 網際家 | http://www.e-ipro.com

企業行動力 - 任何時間、任何地點, 即時安全存取企業資訊, 立即採取行動
運用 Odoo ERP 擴展您的事業, 提升企業競爭力