c# - TextRenderingHint.SingleBitPerPixel not removing antialiasing on barcode -


I hope someone can help you by textRenderingHint.SingleBitPerPixel is apparently not turning off antialiasing when a barcode Printing from .net

Here is the snippet of code that actually provides the barcode:

  graphics.TextRenderingHint = TextRenderingHint.SingleBitPerPixel; Graph Drawstring (Barcodetext, Manverwatfonts, Brush Black, Ongoing Exposure, Current UPS, String Format, Generic Typographic);  

To closely examine the output during debugging, I am printing the .tiff format file through the "Microsoft Office Document Image Writer" printer. When zoomed on TT, antioxidant is clearly visible as a gray halo around black barcode bars.

Similarly, when the actual printer (BOCA ticket printer in HP laser jet emulation mode) appears to be more bored than barcode bleeds / expected.

I know that barcode is syntactically correct because it scans right in big point sizes. I also know that the printer is getting as small as the smallest, the smallest hideable barcode printing. Because its native 'FGL' mode also prints a small legible barcode from the mine.

Joaquim

P>

/ div>

OK, it's finished here Problems are going on:

1) The manufacturer barcode font did not print the font as small as it was supposed to print because I was trying to print. I am not a font expert, so I take my word for it. But I am not completely convinced that the printer I was printing on, could accurately print barcodes using this 'demo' mode.

2) The effect of 'halo effect' which I was seeing was actually Windows 'Pictures and Fax Viewer' trying to make things pretty much for me when I tried different software then the bars were crisp And it was obvious.


Comments