sunsetsystems wrote on Friday, October 02, 2015:
I found 63 scripts that invoke window.print(). They are:
controllers/C_Prescription.class.php
interface/patient_file/front_payment.php
interface/patient_file/letter.php
interface/patient_file/summary/print_amendments.php
interface/patient_file/summary/demographics_print.php
interface/patient_file/summary/create_portallogin.php
interface/patient_file/summary/shot_record.php
interface/patient_file/summary/pnotes_print.php
interface/patient_file/pos_checkout.php
interface/patient_file/printed_fee_sheet.php
interface/modules/zend_modules/public/js/scripts/immunization.js
interface/main/finder/patient_select.php
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/week_print/outlook_ajax_template.html
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/week_print/ajax_template.html
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day_print/outlook_ajax_template.html
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day_print/ajax_template.html
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/month_print/outlook_ajax_template.html
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/month_print/ajax_template.html
interface/orders/pending_orders.php
interface/orders/procedure_stats.php
interface/orders/pending_followup.php
interface/forms/care_plan/new.php
interface/forms/aftercare_plan/new.php
interface/forms/note/print.php
interface/forms/treatment_plan/new.php
interface/forms/CAMOS/notegen.php
interface/forms/CAMOS/rx_print.php
interface/forms/LBF/printable.php
interface/forms/vitals/growthchart/chart.php
interface/forms/transfer_summary/new.php
interface/drugs/dispense_drug.php: window.print();
interface/billing/sl_receipts_report.php
interface/billing/indigent_patients_report.php
interface/reports/services_by_category.php
interface/reports/encounters_report.php
interface/reports/chart_location_activity.php
interface/reports/inventory_transactions.php
interface/reports/sales_by_item.php
interface/reports/custom_report_range.php
interface/reports/ippf_daily.php
interface/reports/unique_seen_patients_report.php
interface/reports/immunization_report.php
interface/reports/destroyed_drugs_report.php
interface/reports/clinical_reports.php
interface/reports/non_reported.php
interface/reports/appointments_report.php
interface/reports/ippf_statistics.php
interface/reports/referrals_report.php
interface/reports/cqm.php
interface/reports/inventory_list.php
interface/reports/front_receipts_report.php
interface/reports/ippf_cyp_report.php
interface/reports/insurance_allocation_report.php
interface/reports/collections_report.php
interface/reports/receipts_by_method_report.php
interface/reports/patient_flow_board_report.php
interface/reports/inventory_activity.php
interface/reports/amc_tracking.php
interface/reports/patient_list.php
interface/reports/prescriptions_report.php
interface/reports/appt_encounter_report.php
interface/reports/svc_code_financial_report.php
sites/default/referral_template.html
It seems somewhat reasonable to have a global setting to disable those print functions, that will later become a global setting to log what they do.
I really hate the idea of copying all printouts to a log and would like some more clarification as to what is really required. For example, perhaps the previously-logged SELECTs that retrieved the data could be referenced instead?
The screens that are in a separate window with no browser menu can be printed with Ctrl-P.
The ones that are in a frame or iframe can be printed from Firefox with Right Click -> This Frame -> Print Frame. With some other browsers you’ll be SOL.
For PDFs, the “Print” buttons cause a PDF download with no direct reference at all to printing other than the button label. Tony, do we need to do anything about those?
Rod
http://www.sunsetsystems.com/