FNCPDFLib Pos Receipt Creation

  1. The PDF library has a way to set the PageHeight, but this cannot be done dynamically based on the content. The PageHeight needs to be precalculated.

  2. There are conversion routines from PixelsToMillimeter and vice versa

  3. There is a library called TTMSFNCGraphicsPDFEngine which is capable of applying the same code as you would use when custom drawing within FNC, there you can specify parameters to center text.

  4. The PDF Lib is capable of rendering mini HTML, so I would assume you need to apply a TAG before adding the text to assure indenting of the text within a paragraph.

  5. In the same way as 3

  6. That is correct.

  7. Images can drawn within a stretching rectangle in the same way as 3 with the separate graphics engine.

Some references: