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: David Avendasora <email@hidden>
- Date: Tue, 20 Apr 2010 05:10:18 -0400
Hi Ute,
If only it were as easy as Mac/PC.
As far as I know, if you want the user to be able to specify exact borders you are going to need to use something else besides HTML. Maybe PDF, but even then you are subject to the printer's actual print area and the user's preferences defined on their computer, including things like page number, URL, etc.
I think PDF is certainly the only way you are going to be able to create an electronic file with exact margins and place a footer within that margin. How the user decides to go about printing that file is out of your control and could easily end up printing the document with your footer cut off by the printer's print area.
Dave
On Apr 20, 2010, at 4:02 AM, ute Hoffmann wrote:
> 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