winforms - vb.net PrintPage Unreadable Text When Printing Receipt -
winforms - vb.net PrintPage Unreadable Text When Printing Receipt -
when printing receipt text become unreadable , not print correctly.
it's suppose count different bill denominations , print out how many of each bill. example: count denomination 12 $5 16 $10 8 $20 13 $100
we've had same issue couple of times , if i'm not mistaken happens when tries print number of $20 bills. issue not happen often, it's rare.
here sample code
dim billcountplacement integer = e.pagebounds.left + 35 dim billamountplacement integer = e.pagebounds.left + 100 each lvi listviewitem in lvbillcounts.items e.graphics.drawstring(lvi.subitems(1).text, textfont, brushes.black, billcountplacement, y) e.graphics.drawstring(lvi.subitems(0).text, textfont, brushes.black, billamountplacement, y, rightformat) y += linespacing next y += linespacing * 2
[part of receipt]http://i.imgur.com/rtjvnjt.png
any ideas on why receipt text jumbled that.
we have tried replacing printer , issue came back.
i've done multiple test prints , never gotten issue.
yes. print file (together printer command settings double-strike, double-width, double-height, etc.) , send file printer. see link how-to. note command settings commands may vary each printer.
vb.net winforms printing receipt
Comments
Post a Comment