Open bianbiandashen opened 4 days ago
@bianbiandashen
SumatraPDF would NOT normally be in the users temp folder
C:\Users\bianlian\AppData\Local\Temp\sm
it would normally look like this
SumatraPDF-settings.txt has NO graphics variables
BitmapInterpolation = true
GraphicsAntiAlias = 2
TextAntiAlias = 2
For printing
"........\SumatraPDF.exe" -print-to "DASCOM TL-200Z" -print-settings 1-3,A4,simplex,shrink,monochrome,1x "C:\Users\bianlian\AppData\Local\Temp\1_1.pdf"
That looks about right, however SumatraPDF in Windows is not the best way to print mono and PDF should not be used with thermal printers. If you MUST use Windows with PDF then use Acrobat Edge (or GhostScript) with the better drivers from https://www.seagullscientific.com/downloads/printer-drivers/dascom-tl-200z/
How can I reduce the jagged effects of printing without changing libraries? I am now using C:\Users\bianlian\AppData\Local\Temp\sm -print-to "DASCOM TL-200Z" -print-settings 1-3,A4,simplex,shrink,monochrome,1x C:\Users\bianlian\AppData\Local\Temp\1_1.pdf
PDF is for Laser printers PDF is not pixel barcodes or vector lines (those are for laser printers)
MONO printer has NO ANTI ALIAS, NO INTERPOLATION on off on off on off on off = ▀■▀■▀■▀■▀■▀■▀■▀■
Barcodes do not need grey tones they need on and off but using the print head language direct to be pixel perfect Language ZPL, EPL and TSPL programming @ 203 dpi (dots per inch) Learn More ZPL language = ^XA GRF (NOT %PDF-1.#) EPL = NOT PDF TSPL = NOT PDF
Adobe Acrobat CONVERT PDF to Seagull ZPL drivers will be the Best GhostScript CONVERT PDF to Seagull ZPL drivers will be the next best PDF browser with SEAGULL driver CONVERT screen pixels to ZPL = OK ish
So the conclusion is that non-laser printers are not suitable for direct printing using Sumatra PDF, right?
C:\Users\bianlian\AppData\Local\Temp\sm -print-to "DASCOM TL-200Z" -print-settings 1-3,A4,simplex,shrink,monochrome,1x C:\Users\bianlian\AppData\Local\Temp\1_1.pdf If this is the command line, I think SumatraPDF-settings.txt will be generated by default in C:\Users\bianlian\AppData\Local\Temp, but I adjusted the information in SumatraPDF-settings.txt such as: BitmapInterpolation = true GraphicsAntiAlias = 2 TextAntiAlias = 2 Tried to reduce aliasing but it didn't work. I used the 3.5.2 library