Change ezpdf to allow printing urdu in prescriptions

rayaz wrote on Tuesday, March 03, 2009:

Hi all
I have been going through the forums and googling around for a solution to my problem. I am using openEMR in my practice fully now. I have made many minor modifications that I needed but this one has me stumped. My prescriptions look quite stylish but lack one important point, there are no language specific instructions. Could someone point out how I could go about achieving this, enable urdu support in pdf printing?
Thanks a lot all.

rayaz wrote on Tuesday, March 03, 2009:

I am experimenting with tcpdf. I get as far as getting the print button to work in prescription but it sends an error: TCPDF Error: Incorrect orientation: A4. Changing the paper size in /includes/config.php just changes the paper size not the error i.e: TCPDF Error: Incorrect orientation: changed paper size.

Any help is much appreciated.

Regards

cfapress wrote on Thursday, March 05, 2009:

Hi Riaz,

OpenEMR is using the PDF library, ezPDF. You can read the documentation for that class and module here:
http://www.ros.co.nz/pdf/readme.pdf

I’m not sure if it will meet your needs to have Urdu supported. If all you need is some Urdu fonts then you might be in luck. I believe that ezPDF will allow you to include whatever font binary file you’d like. Take a look at the documentation above.

I hope this helps,
Jason

rayaz wrote on Tuesday, March 10, 2009:

Ok seems can’t really do much with ezpdf, though I’ll keep looking. Any way I can output prescriptions in another format instead of printing to pdf?

Rayaz

markleeds wrote on Tuesday, March 10, 2009:

HTML