PtHtml widget

Hi all,
I have problems with PtHtml widget.

when I set Pt_HTML_PAGE_MODE flag in Pt_ARG_HTML_FLAGS, the widget go to
special print a display mode, but I can’t set number of page what I want
print or display. This work after resize parent window. After, creating and
opening print contex, I call
PpPrintWidget(pc, widget, NULL, NULL, opt); and if I set any options to opt
the widget don’t resize or don’t fit the page and print begin after closing
parent window.

Can me help anybody ? All what I want is set page in document and print it
to A4 paper size.

photon 1.14
phtk 1.14

Jakub

Hello Safarik

Have you tried the steps that are listed in this Knowledge base entry?

http://support.qnx.com/support/bok/solution.qnx?721

Please give it a try and see if that helps at all. If it doesn’t please post some more information on what is happening.

Rodney


Previously, Safarik Jakub wrote in qdn.public.qnx4.photon:

Hi all,
I have problems with PtHtml widget.

when I set Pt_HTML_PAGE_MODE flag in Pt_ARG_HTML_FLAGS, the widget go to
special print a display mode, but I can’t set number of page what I want
print or display. This work after resize parent window. After, creating and
opening print contex, I call
PpPrintWidget(pc, widget, NULL, NULL, opt); and if I set any options to opt
the widget don’t resize or don’t fit the page and print begin after closing
parent window.

Can me help anybody ? All what I want is set page in document and print it
to A4 paper size.

photon 1.14
phtk 1.14

Jakub