From e081f3264814d77db2e7875c8495edad6d711dc1 Mon Sep 17 00:00:00 2001 From: ff Date: Fri, 19 Jun 2026 20:30:47 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20DentaQuest/Tufts=20eligibility=20PDF=20?= =?UTF-8?q?=E2=80=94=20switch=20to=20landscape=20to=20capture=20all=20colu?= =?UTF-8?q?mns?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- ...lenium_DentaQuest_eligibilityCheckWorker.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/SeleniumService/selenium_DentaQuest_eligibilityCheckWorker.py b/apps/SeleniumService/selenium_DentaQuest_eligibilityCheckWorker.py index 510e4410..e331988f 100644 --- a/apps/SeleniumService/selenium_DentaQuest_eligibilityCheckWorker.py +++ b/apps/SeleniumService/selenium_DentaQuest_eligibilityCheckWorker.py @@ -690,17 +690,17 @@ class AutomationDentaQuestEligibilityCheck: print("[DentaQuest step2] Generating PDF of patient detail page...") pdf_options = { - "landscape": False, + "landscape": True, "displayHeaderFooter": False, "printBackground": True, - "preferCSSPageSize": True, - "paperWidth": 8.5, # Letter size in inches - "paperHeight": 11, - "marginTop": 0.4, - "marginBottom": 0.4, - "marginLeft": 0.4, - "marginRight": 0.4, - "scale": 0.9, # Slightly scale down to fit content + "preferCSSPageSize": False, + "paperWidth": 11, + "paperHeight": 8.5, + "marginTop": 0.3, + "marginBottom": 0.3, + "marginLeft": 0.3, + "marginRight": 0.3, + "scale": 0.7, } result = self.driver.execute_cdp_cmd("Page.printToPDF", pdf_options)