Prescription logo and signature

anonymous wrote on Thursday, July 16, 2009:

I am running Ubuntu 8.04 w/ OpenEMR 3.0.0.1.  I have noticed that on the prescription print out the “MY PRACTICE” logo doesn’t appear.  I have edited the /includes/config.php file to make sure that it’s using the .png file and it is.  I also tried to include a sig.png and changed the setting to true as well.  But neither the practice logo nor the sig file come up on the printed prescription page.  Is there something I am missing or is this something that is not working.

cfapress wrote on Friday, July 17, 2009:

Be certain you are using a PNG file and not JPG. Also, make sure you’re putting the images in the folder
<oemr>/interface/pic

Jason

anonymous wrote on Friday, July 17, 2009:

Yes, I made sure it was a .png file and also made sure it was in the /interface/pic folder as well.  The funny thing is that the default .png file doesn’t work either.

docaltmed wrote on Friday, July 17, 2009:

You might check on the png file’s permissions.

anonymous wrote on Friday, July 17, 2009:

i tried and made the file chmod 777 and chown openemr:openemr and www-data:www-data

no go…

xiaoanri wrote on Friday, July 17, 2009:

i think the default file does not have anything in it, therefore it is not working.  your file should replace the default file with exact the same file name.

anonymous wrote on Friday, July 17, 2009:

The default prescription_logo.png has an image displaying "MY PRACTICE".  I also tried replacing the image with my own such as company_logo.png and made the change in \includes\config.php and still nothing.

bo2999 wrote on Saturday, July 18, 2009:

Does the rest of prescription print? Only the logo missing?

You can download /openemr/controllers/C_Prescription.class.php to try again.  there may be something wrong with that file.

Look at the function multiprint_header for more info.  Maybe you have to rename the file to exact name use in that function.  Also, make sure you did not change thefollowing:

//Name of prescription graphic in interface/pic/ directory without preceding slash. Can be JPEG or PNG, normally 3 inches wide.
$GLOBALS[‘oer_config’][‘prescriptions’][‘logo_pic’] = “prescription_logo.png”;

in /openemr/includes/config.php.  Good luck. 

If it you have no clues, you can email me your logo. If I have time, I will help you out. 

Bo,