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.
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.