I have a page that I need to design in PhP/Html/Java/CSS that has to be printed out Exactly to a certain size on the clients printer. The printer uses labels (similar to fedex/ups) that have multiple parts, and the design is made so that the label, when seperated into its parts, has certain data on each.
Any advice on the exact way to guarantee my page prints out properly on say a 5×7 label?
I have full control of the design, but all css must be done in-line.
The device that prints it will not scale anything. Once designed, this page’s only purpose is to be printed on this device. Usability, design, all of that is unimportant as long as it prints this label correctly on this printer. The printer may be hooked up to multiple different PC’s, or multiple PC’s may be printing this page to the same printer/same model printers.
is there any easy way other than “guess and check”?
Use PHP to output a PDF file, then print that. The layout, fonts, etc. in a PDF file will be much more consistent when printed from different locations compared to CSS.
I made scan-able name badges on 2 col x 6 row “sticker paper” for a conference this way. They had 3 different laptops printing badges at the checkin, worked out great.
http://php.net/pdf