March 29th, 2013, 09:19 AM
Max print page size?
I have written a php script that basically has weekly program for the users. Each user is able to customize each day of the week with activities and can print his weekly program.
Now the problem is that if a user puts many activities on a day (each activity has a description too) the program is not be printed inside margins, its cropped or something.
The weekly program is in an html table not just CSS. The page is by default printed landscape. Is there any way through CSS to specify the max PRINT width/height of the page and zoom in or zoom out the content accordingly in order for it to be printed always ok? So basically i want the content to be fitted in the predefined width/height
Any help appreciated,
Thanks in advance
p.s : i wasnt sure if this is a CSS problem or PHP
April 2nd, 2013, 08:38 AM
April 2nd, 2013, 12:59 PM
Welcome to DevShed Forums, BlazeMike.
CSS does not have control over things like that; its control over print media is limited. Users would need to manually adjust the print settings in their browser.
Some people choose to provide printable versions in PDF format for this reason.
April 2nd, 2013, 02:46 PM
ok thank you
will try to see what i will do with that