Reportmachine Printing Barcode Problems
The recent use of the RM report to print barcodes, the debugging process is very smooth, scanning gun recognition is also very normal, but the Zebra printer's paper is not really a problem, just customers do not want to use this type of paper, and customized the new paper type, I thought that the new paper type to after debugging the report of the paper to the problem not later.
A few days later, the new paper-type, so in the new paper-type debugging, but found that the new paper-type paper is very correct, a think of it is the sensor problem, the original paper-type width, not suitable for this zebra printer, now good, go paper problem No, can be delivered program. A colleague said do not scan the gun does not recognize, my heart, another colleague handy to hit out the barcode to scan gun a rely on, I, still really did not recognize out, and continuously dozen several, can not recognize, this under dizzy. Change the original wide paper printing, can be identified. But the customer is a narrow paper type and narrow paper without the paper is not accurate, only with narrow paper printing, then wondering where the problem is, print drivers, scanners, computers have changed again, or not. Careful customers compared the two kinds of paper, found that narrow paper quality is not as good as wide paper, but this does not solve the problem. Take a closer look, always feel RM printing bar code is not very sharp, feel vaguely, especially the thin line almost did not print out, enlarge a look, originally should be straight line, but actually is a round angle straight, think this is the problem. Then change the control bar, from the Internet to find n multi-bar code control, and the study of several barcode drawing methods and verification code generation, but can not be embedded in the RM, it can not be used.
Already at night 12 o'clock, suddenly think of RM barcode is also copy others code, if find the code upgrade version, perhaps can solve the problem, say find, after a search and contrast, also really found the original code, and then carefully see, by, actually version than RM with Low, no recruit, or study the RM code, See if you can find the problem, look at RM rm_asbarcode unit, think there is no problem, inadvertently found there is a Rm_asbarview unit, open a look, the original RM is here by calling Rm_ Asbarcode of the Drawbarcode method to draw their own canvas, it is estimated that there is a problem here, after studying, RM is to use the Tmetafile class to be drawn and amplified, the advantage of this class is that the amplification of distortion is smaller, For the processing of text and graphics should be a better solution, but the processing of bar code estimation is not, and then replaced by Tbitmap to draw, printed bar code after the enlarged sawtooth, in the normal case is very sharp, thought this problem should be solved. Connect the printer, hit more than 10 barcodes, more than 10 barcode scanning is very smooth.
Reportmachine Printing Barcode Problems