Re: [OT] how to calculate a printable page?
Re: [OT] how to calculate a printable page?
- Subject: Re: [OT] how to calculate a printable page?
- From: Pascal Robert <email@hidden>
- Date: Tue, 20 Apr 2010 05:13:25 -0400
I remember having to battle this up when I did my Canadian passport form 5 years ago. They add instructions on how to change the margins for major browsers on Windows, but none on the Mac. And yes, the margins are different for each browser so not only you have to calculate for each platform, you have to change the values per browser too!
I think the only full proof method is using a Java applet where you can find out the printer settings to build everything... PDF is second choice. And I guess the cm values are not the same because of DPI.
> Hi,
> I need to place a footer at the end of a page, the page is html and is to be printed.
>
> Now I found a formula which changes cm to pixel, but it states,
> that there is a difference between windows and mac, which
> leads to a difference of 200 Pixel for the same cm-Values.
>
> requirement is this: User enters the printing borders in cm
> and the web-Page is changed accordingly and finally printed
> with the entered borders.
>
> Now: I cannot believe that this means I have to ask the user
> whether he is on windows or mac and thus have different
> calculations going on.
>
> Is the right way to not let the user print from the webpage but let
> him download a pdf?
>
> How do others solve this?
>
> Regards,
>
> Ute
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden