Now it can be set like this (before calling prn.Image):
ESC_POS_USB_NET.Printer.Printer prn = new ESC_POS_USB_NET.Printer.Printer(eSelPrinter.Text);
prn.DotsInLine = Convert.ToInt32(ePrintingDots.Value);
Also I have changed in project file TargetFramework so the build will be not only for netstandard2.0 but also for net45 - this should make easier to include only the library dll itself with netFramework application (net 4.5+)
Another changes are in Code128 - now it's possible to specify charset A/B/C - like #38 ,and I took it a step further and added to all barcodes a options that allow to set length(height) and width (module) .
Added also Reverse mode like in PR #47 .
Next change is in Image routine again, I have added option scaleToWidth - this behave almost like PR #68 , but my twist it that if image is wider than printhead width then image will be down-scaled to printing width. As for center feature, I think adding AlignCenter before image should do the trick (unfortunately my chinese MPT-II don't support centered images).
Another changes are in regards to QrCode - many of those changes are from PR #22 , I have added a function that allow to set size, error correction level, and option to disable Set QrCode Model command: GS(k<func165> , my printer instead ignoring this command it print a number 2 😒 - it took me a while to figure it out (I had for a while: wth this 2 is coming from 😠 )
Lastly I have updated README , added CHANGELOG file and file SPECIFIC-PRINTER-INFO where we maybe put together some information about different printers and theirs quirks.
Now it can be set like this (before calling
prn.Image
):Also I have changed in project file
TargetFramework
so the build will be not only fornetstandard2.0
but also fornet45
- this should make easier to include only the library dll itself with netFramework application (net 4.5+)Another changes are in Code128 - now it's possible to specify charset A/B/C - like #38 ,and I took it a step further and added to all barcodes a options that allow to set length(height) and width (module) .
Added also Reverse mode like in PR #47 .
Next change is in Image routine again, I have added option
scaleToWidth
- this behave almost like PR #68 , but my twist it that if image is wider than printhead width then image will be down-scaled to printing width. As for center feature, I think adding AlignCenter before image should do the trick (unfortunately my chinese MPT-II don't support centered images).Another changes are in regards to QrCode - many of those changes are from PR #22 , I have added a function that allow to set size, error correction level, and option to disable Set QrCode Model command:
GS(k<func165>
, my printer instead ignoring this command it print a number2
😒 - it took me a while to figure it out (I had for a while: wth this 2 is coming from 😠 )Lastly I have updated README , added CHANGELOG file and file
SPECIFIC-PRINTER-INFO
where we maybe put together some information about different printers and theirs quirks.