Topic: Font size progressively increases as invoices are batch printed.

Version 2.3.7 Build 01.09.2011
Ubuntu 11.04 Linux 2.6.38-11-server on x86_64
Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz, 4

Hi Joe,

Hope you can help with this really strange issue ...

Font size progressively increases as invoices are batch printed.

Sales/Customer and Sales Reports/Customer/Print Invoices

From: SI 34678  To : SI 34686

email: no   Payment: no

Display: Print Invoices .. The first invoice 34678 appears correctly

File/Print/Print to File   output.pdf Format: PDF  Saved: Desktop

Print Preview

When stepping through the invoices the font size progressively increases.

The first invoice is correct at the default font size (which I think is 9pt) each subsequent invoice appears to be 1pt larger than the previous invoice. The final invoice is about 20 pt.

I viewed ouput.pdf on a Mac using Preview and it showed the same progressive font size increase..

Thanks

Andrew

Re: Font size progressively increases as invoices are batch printed.

This was strange. I cannot reproduce this error. I use Foxit Reader and there are no problems. No increasing in font size.
Maybe you can do some more research on this, please.

/Joe

3 (edited by andrew1136 10/10/2011 08:09:30 am)

Re: Font size progressively increases as invoices are batch printed.

Hi Joe,

Found what was causing the problem. I had customized the invoice format by tinkering with header2.inc and the css files.

Specifically it turned out to be at line 76 in header2.inc I had increased the font size of the Company Logo from 4 to 6 but had neglected to do the same at line 80. Changing line 80 from 4 to 6 fixed the problem.

Now I have my customized invoices and can batch print them perfectly.

Thanks for your patience, I will be a bit more careful next time I mess with the code.

Cheers,

Andrew

Re: Font size progressively increases as invoices are batch printed.

No problems, Andrew smile.

/Joe