added comment re pdf layout adjustment
[openemr.git] / includes / config.php
blobca22fa0adf036e09ea11c3dffafcb3fc274bf073
1 <?php
2 $GLOBALS['oer_config']['freeb']['claim_file_dir'] = "/usr/share/freeb/public/";
3 //currently can be pdf or txt
4 $GLOBALS['oer_config']['freeb']['default_format'] = "pdf";
5 $GLOBALS['oer_config']['freeb']['username'] = "freeb";
6 $GLOBALS['oer_config']['freeb']['password'] = "12345";
7 $GLOBALS['oer_config']['freeb']['print_command'] = "/usr/bin/lpr";
8 $GLOBALS['oer_config']['freeb']['printer_name'] = "HP_LaserJet4L";
9 // This does not seem useful for PDF HCFAs, see freeb/targetbin/ascii2pdf instead:
10 $GLOBALS['oer_config']['freeb']['printer_extras'] = "-o PageSize=Letter -o portrait";
12 //used differently by different applications, intuit programs only like numbers
13 $GLOBALS['oer_config']['ofx']['bankid'] = "123456789";
15 //you can use this to match to an existing account in you accounting application
16 $GLOBALS['oer_config']['ofx']['acctid'] = "123456789";
18 //use FL for FLORIDA compatible format, leave blank for default
19 $GLOBALS['oer_config']['prescriptions']['format'] = "";
21 //Document storage repository document root, if it does not begin with a slash it is set relative to the file root
22 //you must include a trailing slash in either case
23 $GLOBALS['oer_config']['documents']['repository'] = "documents/";
24 $GLOBALS['oer_config']['documents']['file_command_path'] = "/usr/bin/file";
26 //Name of prescription graphic in interface/pic/ directory without preceding slash. Can be JPEG or PNG, normally 3 inches wide.
27 $GLOBALS['oer_config']['prescriptions']['logo_pic'] = "prescription_logo.png";
29 //Name of signature graphic in interface/pic/ directory without preceding slash. Normally 3 inches wide.
30 $GLOBALS['oer_config']['prescriptions']['sig_pic'] = "sig.png";
31 //Option to used signature graphic or not
32 $GLOBALS['oer_config']['prescriptions']['use_signature'] = false;
34 // only works with hylafax sendfax client, and sendfax must be in PATH
35 // assign 'sendfax' to turn fax sending on
36 $GLOBALS['oer_config']['prescriptions']['sendfax'] = '';
38 // asign a value here if there is any prefix needed to get dialing tone
39 // you can also append a comma to add a one second delay
40 // i.e. 9, will dial 9 for external tone, and wait a second.
41 $GLOBALS['oer_config']['prescriptions']['prefix'] = '';
43 // select paper size for prescription printing
44 // see library/classes/class.ezpdf.php for complete list of paper sizes
45 // ex. "LETTER", "A4", "LEGAL" ...
46 $GLOBALS['oer_config']['prescriptions']['paper_size'] = "LETTER";
48 // change page margins for prescription printing
49 // note, values are in pixels (72 dots per inch)
50 // to convert from centimeters use the following: (centimeters / 2.54 ) * 72;
51 $GLOBALS['oer_config']['prescriptions']['left'] = 30;
52 $GLOBALS['oer_config']['prescriptions']['right'] = 30;
53 $GLOBALS['oer_config']['prescriptions']['top'] = 72;
54 $GLOBALS['oer_config']['prescriptions']['bottom'] = 30;
56 // Similarly for bottle labels if you are dispensing drugs. Note that paper
57 // size here or for prescriptions may be an array (0, 0, width, height).
58 // As above, these measurements are in points.
59 $GLOBALS['oer_config']['druglabels']['paper_size'] = array(0, 0, 216, 216);
60 $GLOBALS['oer_config']['druglabels']['left'] = 18;
61 $GLOBALS['oer_config']['druglabels']['right'] = 18;
62 $GLOBALS['oer_config']['druglabels']['top'] = 18;
63 $GLOBALS['oer_config']['druglabels']['bottom'] = 18;
64 $GLOBALS['oer_config']['druglabels']['logo_pic'] = 'druglogo.png';
65 $GLOBALS['oer_config']['druglabels']['disclaimer'] =
66 'Caution: Federal law prohibits dispensing without a prescription. ' .
67 'Use only as directed.';
69 //accounting system web services integration
70 //whether to use the system
71 $GLOBALS['oer_config']['ws_accounting']['enabled'] = false;
72 $GLOBALS['oer_config']['ws_accounting']['server'] = "localhost";
73 $GLOBALS['oer_config']['ws_accounting']['port'] = "80";
74 $GLOBALS['oer_config']['ws_accounting']['url'] = "/sql-ledger/ws_server.pl";
75 $GLOBALS['oer_config']['ws_accounting']['username'] = "unused";
76 $GLOBALS['oer_config']['ws_accounting']['password'] = "unused";
77 $GLOBALS['oer_config']['ws_accounting']['url_path'] = "http://" .
78 $_SERVER["SERVER_NAME"] . "/sql-ledger/login.pl";
79 $GLOBALS['oer_config']['ws_accounting']['income_acct'] = "4320";
81 //don't alter below this line unless you are an advanced user and know what you are doing
83 $GLOBALS['oer_config']['prescriptions']['logo'] = dirname(__FILE__) .
84 "/../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['logo_pic'];
85 $GLOBALS['oer_config']['prescriptions']['signature'] = dirname(__FILE__) .
86 "/../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['sig_pic'];
87 $GLOBALS['oer_config']['prescriptions']['signature'] = '';
89 $GLOBALS['oer_config']['druglabels']['logo'] = dirname(__FILE__) .
90 "/../interface/pic/" . $GLOBALS['oer_config']['druglabels']['logo_pic'];
92 if (strpos($GLOBALS['oer_config']['documents']['repository'],"/") !== 0) {
93 $GLOBALS['oer_config']['documents']['repository'] = realpath(dirname(__FILE__) . "/../" . $GLOBALS['oer_config']['documents']['repository']) . "/";