Prescription Font Size

ajperezcrespo wrote on Wednesday, July 13, 2011:

Hi,
  Ok so changing the page size is easy, but how do I change the font size?

Thanks

mike-h30 wrote on Wednesday, July 13, 2011:

Prescription font size can be changed in the following file: /controllers/C_Prescription.class.php

It is a bit tedious as you have to manually change the font for each line of text that utilizes the EZ-PDF class function “ezText.”  The last parameter in the “ezText” function is the font size.  Change that parameter’s value (i.e. “10”) to your desired font size.

$pdf->ezText($p->patient->get_name_display(),10);

Here is a reference manual to the EZPDF class.

http://www.ros.co.nz/pdf/readme.pdf

Hope that helps.

Mike