Guys i need help to decide which way to go.
As an output i want an image or pdf file with a rectangle in the middle of an A4 white canvas. I would also eventually like to give the rectangle a background image with something written on the foreground.
The rectangle must be 6 x 3 cm after printing.
As an input, i can use php, Javascript, html tabs or html canvas. I just cannot imagine how to construct the source rectangle that will be of certain size after printing.
I am using a rectangle as a simplification, it will be a grid of rectangles of certain size, but that should not make it any different i guess.
I would like to know the right direction before i try. I was thinking about making a html tab rectangle with sides in pixels that will respect 300 dpi rectangle of that size (709px x 354px) and then somehow genereate a 300dpi pdf out of the html page?
Jan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.