Page 1 of 1

How to Print the Whole Page

Posted: Tue Nov 15, 2016 7:31 am
by caseywhite
I wanted to ask this question again even though a thread already exists. I have a very simple test case where I have 3 labels on the page that will make sure a user would have to scroll to see the data in all 3 labels. When I try to print this only one page appears. In the other thread it sounded like if you just used labels then the entire page would print and not just what is visible in the browser. That doesn't seem to be the case. Is the only option is you want a good printable version to create a PDF a user can download?

Code sample is below.

Begin_Com Role(*EXTENDS #PRIM_WEB)
Define_Com Class(#PRIM_LABL) Name(#Label1) Caption('Label1') Displayposition(1) Ellipses(Word) Height(580) Left(48) Parent(#COM_OWNER) Tabposition(1) Tabstop(False) Top(0) Verticalalignment(Center) Width(120)
Define_Com Class(#PRIM_LABL) Name(#Label2) Caption('Label2') Displayposition(2) Ellipses(Word) Height(509) Left(0) Parent(#COM_OWNER) Tabposition(2) Tabstop(False) Top(580) Verticalalignment(Center) Width(120)
Define_Com Class(#PRIM_LABL) Name(#Label3) Caption('Label3') Displayposition(3) Ellipses(Word) Height(380) Left(0) Parent(#COM_OWNER) Tabposition(3) Tabstop(False) Top(1089) Verticalalignment(Bottom) Width(120)

End_Com

Re: How to Print the Whole Page

Posted: Tue Nov 15, 2016 8:40 am
by Stewart Marshall
Hi Casey

Sadly, you're completely at the mercy of the browser and the user when it comes to printing.

For a "good printable version", the best technique I know is to construct a PDF.

Regards