Replies: 6 comments 6 replies
-
PDF is not suited to thermals especially non pdf enabled ones, however everyone considers SumatraPDF print as image a viable method !! Ideally the pdf should be converted to text and the text sent to a thermal text printer, or not converted from text to fuzzy pdf image in the first place. However to answer your question there are alternative windows drivers to attempt re-conversion such as Bartender Seagull that can try to correct some round trip anomalies. SumatraPDF starts with the system default Print Form so if Letter or A4 that's where Printing starts, perfect for page language printers like A2-A6 lasers or inkjet but unsuited to Plotters or Rollfed labels. Later versions can set Paperkind to numbered Forms so several examples how to say over-ride default to 6x4 but it is down to the Windows driver install to provide a list of formats and windows allocates the paperkind numeric. Certainly you need to consider other page related changes so it may be necessary to change the default shrink in settings.txt to none or fit for a given combination, beware the difference between |
Beta Was this translation helpful? Give feedback.
-
I have good experiences with using Sumatra PDF 3.1 to print PDF files on a thermal printer (a zebra clone). I tried updating to 3.4 recently, but it no longer works from the console and prints incorrect size. It does work perfectly well when printing from the GUI 🤷♂️ I think it has something to do with the changes in 3.3, but I didn't bisect it. |
Beta Was this translation helpful? Give feedback.
-
I have very similar problem with a TSC TE200 label printer. I use Seagull driver and SumatraPDF 3.5.2 |
Beta Was this translation helpful? Give feedback.
-
I can't use "printerinformation", I guess it's something *nix related, but I'm on Windows. |
Beta Was this translation helpful? Give feedback.
-
I can experiment with |
Beta Was this translation helpful? Give feedback.
-
I have found a solution, which is to process the size of the PDF before printing,
def SumatraPDF(): fit ,适合页面大小,landscape 内容 横向90 度旋转,portrait 纵向旋转90度, 1x 打印1次, 1- 从第一页打印至最后一页
文档链接 https://www.sumatrapdfreader.org/docs/Command-line-arguments |
Beta Was this translation helpful? Give feedback.
-
Hello,
I want to print a PDF via Batch/Commandline and SumatraPDF 3.4.6 to a Zebra ZT230 printer (driver 8.6.4.23832 200dpi ZPL).
If I open the PDF manually with SumatraPDF and print it, select the right paper format an size, the paper size and orientation did not work with the printer. It always print in a wrong format. The same result, if I use the command line with SumatraPDF and any parameters like noscale, shrink or fit.
In the print driver settings on Windows Server 2019 I have selected the correct paper format and size in the settings-tab and extended-tab under default-value.
If I open the PDF with Acrobat Reader or any other PDF-Viewer on the same PC, print it with the same printer and settings, select the right paper format an size I don't have any problems.
I also talked to Zebra and they mean, that it's not a problem with the driver but with the application.
I also tried other SumatraPDF-Versions but with the same result.
What can I do?
Thanks for help.
Beta Was this translation helpful? Give feedback.
All reactions