• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Another WebView Printing Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Another WebView Printing Question (From: Jeremy Sacket <email@hidden>)

  • Prev by Date: Re: May I pack java in a dylib?
  • Next by Date: Re: Problems with custom NSView subclass, IBPalette, and bindings support
  • Previous by thread: Another WebView Printing Question
  • Next by thread: Breakpoint on arbitrary selector
  • Index(es):
    • Date
    • Thread