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

A better way to print web pages with Safari Web Browsers
As many of you may have realized by now, Safari has poor printing handling. Perhaps the worst bug is text clipping at the bottom of the page.

I have found a way of printing web pages nicely without too much hassle. From Safari, select File menu -> Save As... Save the document somewhere it will be quick to access. Then, drag the newly created Safari document onto TextEdit.

Once TextEdit opens the web page, you can print it from there and you'll have a perfect print, as long as TextEdit renders the HTML file (which may not always be the case until Apple unifies the HTML rendering library in Mac OS X with WebCore).

[robg adds: I don't do a lot of web printing, but I did notice a couple of glitches in Safari's output. I took a different route to the solution by dragging the URL to one of the other browsers. However, this won't work for pages (like most online store receipts) that are dynamically generated through your session, in which case, the above solution will work. I'm sure there are other workarounds, of course...]
    •    
  • Currently 3.00 / 5
  You rated: 4 / 5 (3 votes cast)
 
[19,515 views]  

A better way to print web pages with Safari | 12 comments | Create New Account
Click here to return to the 'A better way to print web pages with Safari' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A better way to print web pages with Safari
Authored by: bluehz on Apr 10, '03 10:50:30AM

I don't do much printing from Safari - but one nicety/oddity I
have posted here before is that Safari will honour the window
size when printing to PDF. Say for example you are viewing a
web site at 1024 px wide, and you want to print only the left
hand column. Assuming that you can get JUST the left hand
column in view by resizing the window (e.g. the tables don't
autosize when you change the window size) - then when you
print to PDF it will only print what is visible in the window. Its a
bit tricky because if any part of an element (even invisible) is
within that view frame then it will be printed also. I can not
verify that this works actually sending to a printer - but it
definitely works printing to PDF.



[ Reply to This | # ]
A better way to print web pages with Safari
Authored by: Mikey-San on Apr 10, '03 12:47:01PM

If you have Camino installed, do this:

Highlight the URL of the current page (in the URL bar) in the Safari window and go up to the Application Menu (Safari, next to the Apple Menu). In "Services", select "Open URL in Camino".

Let Camino open it from that, and print it there.

Perhaps that'll let you use Safari but print documents better until it's fixed in Safari.


-/-



[ Reply to This | # ]
A better way to print web pages with Safari
Authored by: Spartacus on Apr 10, '03 01:23:37PM

If TextEdit is modified to use WebCore, it'll probably behave like Safari and won't do a better job at printing.

If you activated the debug menu, there's an Open with item that sends the page to one of the other browsers available.



[ Reply to This | # ]
A better way to print web pages with Safari
Authored by: sfodden on Apr 10, '03 01:58:41PM

Only slightly off topic, is there a way to print directly text that I've selected -- whether in Safari or some other browser or app? I'm thinking of a right click menu command, for example, that offers to "Print selected text".

I have most of Unsanity's haxies, but didn't come across such a thing. Mind you, things are getting a bit crowded so I may have missed it.

cheers

---
Simon F.



[ Reply to This | # ]
A better way to print web pages with Safari
Authored by: MacEase on Apr 10, '03 04:15:52PM

iPrint, PrintMagic, and WebPrint Plus are three highly rated utilities that
let you print selected text from web browsers (and other programs), thus
saving time and money (greatly reduces ink/toner and paper usage).

Free demos and info about additional features are available at:
http://www.macease.com

-MacEase



[ Reply to This | # ]
A better way to print web pages with Safari
Authored by: ChuckR on Apr 13, '03 11:59:36PM

Yet another way to print selected text-
select text, then menu select:
Services>TextEdit>Open Selection

automatically opens a new TextEdit page with selected, formatted text suitable for printing.

I still have IE installed. It has the best page printing facilties, and I use "Scrapbook" extensively to archive pages now long gone.



[ Reply to This | # ]
A better way to print web pages with Safari
Authored by: paulehoffman on Apr 10, '03 07:11:36PM

Even easier is to use Safari Extender, which puts a Debug menu up for Safari. Choose Debug->Open Page With-> IE 5.2.2 and print from there.



[ Reply to This | # ]
amazing....
Authored by: tidrion on Apr 11, '03 11:41:42AM

Wow you still have IE Installed?
:-p

---
tidrion



[ Reply to This | # ]
A better way to print web pages with Safari
Authored by: rlinsurf on Apr 11, '03 07:04:41PM

Anyone know what the User-Agent is for Safari?

---
Jeffrey



[ Reply to This | # ]
A better way to print web pages with Safari
Authored by: ewelch on Apr 13, '03 07:28:15PM

Sure, it's a way to spoof what web browser you are using. My bank (Wells Fargo) won't allow Safari in, if it's telling the world it's Safari. But set the user agent to Internet Explorer 6 and it happily lets you into the web site. I have yet to see any negative side effects to doing this. (I'm sure some legal drone will tell me I'm violating the DMCA or some such nonsense, but I say hogwash).

---
--
Eric

Zen master to hotdog vendor. \"Make me one with everything.\"



[ Reply to This | # ]
A better way to print web pages with Safari
Authored by: macximum on Jan 19, '04 10:59:29AM

Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/106.2 (KHTML, like Gecko) Safari/100.1



[ Reply to This | # ]
A better way to print web pages with Safari
Authored by: ibroughton on Jan 19, '04 08:48:13PM

On one of my sites it shows up as

Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/106.2 (KHTML, like Gecko) Safari/100.1

Dunno if this is standard or just for Panther?

---
--
The server is up but the site is down and I don't know which direction you are trying to go



[ Reply to This | # ]