i'm trying to print a webpage onto A5 size paper, with the text aligned centrally.
a). i need to make this work in firefox, other browsers don't matter.
b). i have control over the computer/s that will do the printing - so i can set print margins to a known value if required.
c). making changes in the printer dialogue box, eg setting the page size to A5 is not an option, this needs to be idiot proof, the user needs to click the print button and it prints out as required.
the first problem is that firefox doesn't seem to support @page (and setting the page size)
thus:
@page {size: 5.875in 8.125in;) doesn't help.
i'm trying to put the content in a div of a width smaller than the width of the paper i want to print on, but playing around with the left padding/border/margin does not seem to be able to help me, the problem is aligning the text centrally.
i'm not thinking as i write this, maybe set the max-width of the page to the paper width and see what happens.
anyone tried to do this or anything like it before, any ideas?