A
A
Anton2012-06-22 14:32:12
C++ / C#
Anton, 2012-06-22 14:32:12

Libraries/tools capable of printing text into a printable image?

Good day ...
There is a printer for printing plastic cards Zebra P430i and an SDK for it. The printer can print text, and does it well, but does not support right/center alignment, but it is needed. Since it is impossible to know the exact dimensions of the future text to correct the coordinates for printing, I first print the text into a picture, and then send the picture to the printer. The problem is that after printing this picture on the printer, the text is not of very good quality, despite the fact that the picture has a DPI like that of the printer - 300.
Hence the question - please advise free libraries in C, C ++, C #, which could print text into a picture and at the same time play with all sorts of anti-aliasing options, etc. (the license should allow dynamic linking with a closed code). Well, or other ways to improve print quality.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
MikhailEdoshin, 2012-06-22
@MikhailEdoshin

Text and image are two different things. The text is printed with a printer resolution (for example, 300 dpi is a fairly low resolution, flaws will be visible to the naked eye), and the picture is printed with a screen lineature (for example, 75 lpi is, on the contrary, a rather high lineature). If you print text as a picture, it will always be split into a raster, nothing can be done here. Dig all the same towards measurement of length of a line somehow.

M
maeln0r, 2012-06-22
@maeln0r

Does the printer support postscript?

M
maeln0r, 2012-06-22
@maeln0r

pdf.my-addr.com/free-online-pdf-to-ps-convert.php
PS same PNR. just rename the extension and work like PNR

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question