Re: Print report using WebView

2008-10-01 Thread Vitaly Ovchinnikov
Empty page is added even if I try to print just one small symbol instead of report. On Thu, Oct 2, 2008 at 12:37 AM, Sherm Pendley <[EMAIL PROTECTED]> wrote: > On Wed, Oct 1, 2008 at 4:15 PM, Vitaly Ovchinnikov > <[EMAIL PROTECTED]> wrote: >> >> I need to print reports with various styles. The onl

Re: Print report using WebView

2008-10-01 Thread Sherm Pendley
On Wed, Oct 1, 2008 at 4:15 PM, Vitaly Ovchinnikov < [EMAIL PROTECTED]> wrote: > > I need to print reports with various styles. The only reasonable way > for me is to generate HTML and use WebView for rendering and print. > I create WebView, generate HTML string and pass it to WebView. Then I > cr

Print report using WebView

2008-10-01 Thread Vitaly Ovchinnikov
Hello, I need to print reports with various styles. The only reasonable way for me is to generate HTML and use WebView for rendering and print. I create WebView, generate HTML string and pass it to WebView. Then I create NSPrintOperation on it. All works fine, but it prints one empty page at the e