Need advice on printing onto A4
I want to create webpages to print onto A4 paper
I will be printing invoices + other promotional text
I wanted to know what I could do to guarantee that the print goes onto one sheet of A4
One person printing on XXX printer will be OK - but someone else printing on YYY printer might just tip over and go onto 2 pages - I don't want 2 pages
I wasn't sure where to start
I don't really want to be conservative and make the page ultra short - would be nice to have a footer that prints on the bottom of the page
I'm assuming the printing part is a CSS controlled thing
ANY replies would be great
You can indeed do that with css. See http://www.w3schools.com/css/css_mediatypes.asp. However, css does not discriminate between paper sizes. It may make the user's computer communicate with the printer regarding margins, etc., and it standardizes browser printing output, but that's it.
Last edited by Frank62; 07-26-2011 at 07:36 AM.
Please report back how suggestions worked out.
i think the only choice i have is to play safe and create what i think will be shorter than a4 when printed
Generate an PDF document with your content.
FPDF (pdf library for PHP) is a good start.
hmm... yes... i think that's where i will have to go with it in the end
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)