itext romaneio pdf for non fiscal printer

Asked

Viewed 360 times

1

I am developing a romanticism for sorting orders in java with itext, it is practically ready, however the document standard is as A4, and the ideal would be for the standard of non tax printers, someone could give a force how to convert to 40 columns?

  • I already figured out the solution, the itext works with points, I calculated what would be the point measure for my need and it worked. 1 in = 24,5mm = 72 dots. Rectangle pagesize = new Rectangle(227, 842); Document pdf = new Document(pagesize, 1f, 1f, 1f, 1f);

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.