Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Print Safari pages to PDF without page breaks Web Browsers
I do a lot of work in the print world and the web world and I live and die by the PDF format. I find that PDF's are the best all around cross platform format for everyone. Sometimes I need to send a PDF of a web page to a client. If you use the Adobe WebCapture feature of Adobe Acrobat (full version) - which btw does a great job of snagging web pages and keeping links intact - then your web page is broken up into 8x11 pages with nasty links between pages and graphics broken up and shifted around.

You can't just print to PDF from OS X either - the page will still be broken up. So what I do is create a custom page size thats just the right width and height for the web content and then print to PDF...

Page Setup > Custom Page Size

... but wait there's more. I found out that even after creating a custom page size in Safari and then printing the page to PDF - I was still getting more width than I had specified in my page size - displaying the web content with white on the left side. What I discoverd though - was that if you shrink your window in Safari to the exact width of the web content - the Print dialog honors that and only prints the web content.

I suppose this could be used to zero in on a certain portion of a web page and print only that section too.
    •    
  • Currently 2.33 / 5
  You rated: 1 / 5 (3 votes cast)
 
[21,746 views]  

Print Safari pages to PDF without page breaks | 1 comments | Create New Account
Click here to return to the 'Print Safari pages to PDF without page breaks' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Print Safari pages to PDF without page breaks
Authored by: taaminator on Feb 12, '04 05:00:04PM

This works with Adobe Reader, too, if you set up a faux custom page size, first.

To reduce wasted space in your new document, save the web page to PDF, first.

Safari>File>Print>PDF>Save as PDF>

View the PDF and see how many 8.5x11 pages it required. For example, if it took three pages, then you know the document is at least 33 inches long.

Now, create a fake custom paper size.

Safari>File>Page Setup>Settings:>Custom Paper Size>New>

[I named the paper 'web page' plus the length.]

Change the length of the paper in the "Paper Size" "Height" block.

The trick here is to "Save" the settings before you close this window.

Select Okay.

Go back to your web page.

Safari>File>Print>PDF>Save as PDF>

Safari SHOULD save the webpage as a 8.5x33 inch page.

Adobe Reader SHOULD open the file and display the webpage as a 8.5x33 inch page.

Tested on iMacFP running Mac OS 10.2.8 and Titanium running Mac OS 10.3.



[ Reply to This | # ]