PrintToPDF to print using Thermal printer

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

PrintToPDF to print using Thermal printer

Postby abdulaziz » Mon Sep 11, 2023 8:21 am

Hi. We were using Print() method with very old version of CEF.
Recently we have changed to the newer version: 113.0.5672.93
And found there is no way to print without system dialog.
Only way we found from this forum is to print to PDF file and print it.

But there is a problem with this solution which is not mentioned anywhere(or I couldn't find)

We need pdf file to print with thermal printer which is paper with is smaller but height depends on content size. If I set paper with using CefPdfPrintSettings::paper_width it requires paper_height also to be set. We appreciate any solution from your experience.
abdulaziz
Newbie
 
Posts: 1
Joined: Mon Sep 11, 2023 7:59 am

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 166 guests

cron