1 (edited by andrew1136 01/09/2012 11:04:32 pm)

Topic: Remove all color from PDF's

I use a monochrome laser printer for printing invoices and statements. The background color (a pale blue?) in the headings does not print cleanly. I would like to remove all colors and have greyscale only PDF's. is this possible ?

Or alternatively remove all fill from the headings and just have plain white as the background.

2 (edited by andrew1136 01/13/2012 01:25:34 am)

Re: Remove all color from PDF's

Answering my own question:

/reporting/includes/header2.inc

Remove color from horizontal line and set line height to minimum, also prints borders as solid black.

Line 44    $this->SetDrawColor(0, 0, 0);
Line 45    $this->Line($iline1, 1);
Line 46    $this->SetDrawColor(0, 0, 0);

Remove background fill color in headers.

Line 48 and line 52
Change F to 0


Now my Sales Invoice PDF's print perfectly in grayscale on my Brother Monochrome Laser Printer.

Re: Remove all color from PDF's

can it possible to draw a line below every item in the cart. ?

I am in need of that functionality.

Subscription service based on FA
HRM CRM POS batch Themes

Re: Remove all color from PDF's

Try to change the font from Normal to underlined.... for the said report field