Re: Another WebView Printing Question
Re: Another WebView Printing Question
- Subject: Re: Another WebView Printing Question
- From: Steven Kramer <email@hidden>
- Date: Thu, 27 Jan 2005 19:15:27 +0100
Op 27-jan-05 om 0:02 heeft Jeremy Sacket het volgende geschreven:
Can someone please tell me how to get the webview to print? I have
tried several examples on the lists.
However, none of them will use the CSS Pagebreak, or only show what is
showing in the view. So I started back to basics....
I created my own simple browser and had a button to call the [webview
print:self] method. It still prints only what is showing plus the
scrollbars. The interesting thing is if I go to print, then it shows
all of the page.
Thanks for any help.
Jeremy,
This has been answered before. I don't recall the details, but the gist
is that you don't print the webview. You need to print the webview's
mainFrame's view. Search the archives for webview + mainframe + print,
that should get you somewhere. Otherwise I'll dig in my personal
archive. Let me know if you need that.
Regards,
Steven Kramer
--
email@hidden
http://sprintteam.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden