|
Posted by Steel on October 30, 2004, 3:09 pm
Please log in for more thread options
Hi at all,
I have a long HTML page with some photos (2 large and 2 little)
If a user print the page I'ld want that he can print as I want like a pdf
file.
Is it possible?
I.e.:Print margins and new page
Best it'ld be to ca eject paper when I wanto because I do not want that any
printer cut the photos
Steel
|
|
Posted by Neal on October 30, 2004, 11:24 am
Please log in for more thread options
> Hi at all,
> I have a long HTML page with some photos (2 large and 2 little)
> If a user print the page I'ld want that he can print as I want like a pdf
> file.
> Is it possible?
> I.e.:Print margins and new page
> Best it'ld be to ca eject paper when I wanto because I do not want that
> any
> printer cut the photos
Make a PDF, link to it.
|
|
Posted by Steel on October 30, 2004, 4:45 pm
Please log in for more thread options
"Neal"
>
> Make a PDF, link to it.
>
But if the user like to print the page with the print button of the browser?
Steel
|
|
Posted by Neal on October 30, 2004, 12:59 pm
Please log in for more thread options
>
> "Neal"
>
>>
>> Make a PDF, link to it.
>>
> But if the user like to print the page with the print button of the
> browser?
Unfortunately, what you're looking for is not really possible when
printing in the browser. Even if support for print styles was more
complete, you don't know the paper size. Could be 8.5x11 inches, could be
A4.
|
|
Posted by Lauri Raittila on October 30, 2004, 8:09 pm
Please log in for more thread options in comp.infosystems.www.authoring.html, Steel wrote:
>
> "Neal"
>
> >
> > Make a PDF, link to it.
> >
> But if the user like to print the page with the print button of the browser?
> Steel
<link media="print" rel="alternate" href="thing.pdf">
or maybe CSS is enaugh?
http://www.w3schools.com/css/css_mediatypes.asp http://www.w3schools.com/css/css_ref_print.asp http://www.w3.org/TR/html401/struct/links.html#edef-LINK http://www.w3.org/TR/REC-CSS2/media.html
(links by brucie, unsurprisingly...)
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
|
| Similar Threads | Posted | | HTML Reports, want to print the report heading on each page... | November 15, 2004, 12:01 am |
| Don't print certain elements from a page | February 17, 2007, 3:38 pm |
| Re: print form value on the web page etc? | January 23, 2008, 5:47 am |
| html for print | January 2, 2006, 5:00 am |
| Format print using html? Please help | October 5, 2004, 1:13 pm |
| Print versions of HTML cut off at margins | September 14, 2004, 9:01 am |
| Can I send multiple html pages to print one at a time | October 10, 2006, 8:47 pm |
| How to separate a html text in order to print them in individual pages? | January 28, 2005, 4:28 am |
| How to separate a html text in order to print each part in individual pages? | January 28, 2005, 4:30 am |
| Need help creating a "Click absolutely ANYWHERE on this page" link for an HTML page with no content | February 7, 2007, 5:40 pm |
|