NY State Prescription Layout / 4up

zygomorph wrote on Monday, June 03, 2013:

I couldn’t find anything searching through the forums, but I’m looking to get some guidance customizing the prescription print layout. New York state has its own official prescription paper for printers, which comes in letter-sized, 4up tear-sheets.

Thoughts?

mdsupport wrote on Tuesday, June 04, 2013:

https://sourceforge.net/p/openemr/discussion/202505/thread/7ea1b351/?limit=25#4668

visolveemr wrote on Tuesday, June 04, 2013:

Hi,

The Prescription paper size can be set in the file ‘sites/default/config.php’(for default site) by setting

$GLOBALS[‘oer_config’][‘prescriptions’][‘paper_size’] = ‘LETTER’

and further the prescription page margins can also be set as follows

$GLOBALS[‘oer_config’][‘prescriptions’][‘left’] = 30;
$GLOBALS[‘oer_config’][‘prescriptions’][‘right’] = 30;
$GLOBALS[‘oer_config’][‘prescriptions’][‘top’] = 30;
$GLOBALS[‘oer_config’][‘prescriptions’][‘bottom’] = 30;

you can also set or define your own paper_size options in the file ‘library/classes/class.ezpdf.php’.

Hope This Helps.

Thanks

ViSolve
services@visolve.com

visolveemr wrote on Tuesday, June 04, 2013:

Hi,
Here is another simple way of doing this.

Under “Administraion->Globals->Rx” section You can directly specify the values for
Rx Paper Size
Rx Left Margin (px)
Rx Right Margin (px)
Rx Top Margin (px)
Rx Bottom Margin (px)

Furthur Customization of the Paper sizes, can be done in the file ‘library/classes/class.ezpdf.php’.

Thanks
ViSolve
services@visolve.com