Re: mobilecomposemail pdf attachment
Posted: Tue Oct 25, 2022 7:14 pm
I modified the printing orientation to "landscape": nothing
I modified also the pintpapersize to "840,594" (with "landscape"): nothing
Also reversing, "portrait" and "840,594": nothing
LC always creates this cut out Pdf in the same way. So, I don't think that is the print orientation.
Then I checked the Pdf stack size before printing and I found out that, no matter my resizing on preopencard, at the end of PreopenCard the card size is the same of the screenRect.
So, apparently the stack to be printed cannot be larger then the screenrect on Android. Unless I have to use the fullscreenMode??
I modified also the pintpapersize to "840,594" (with "landscape"): nothing
Also reversing, "portrait" and "840,594": nothing
LC always creates this cut out Pdf in the same way. So, I don't think that is the print orientation.
Then I checked the Pdf stack size before printing and I found out that, no matter my resizing on preopencard, at the end of PreopenCard the card size is the same of the screenRect.
Code: Select all
on PreOpenCard
set the width of this stack to 594
set the height of this stack to 840
...
answer the rect of this card --= 0,0,685,360 which is the screenrect and explain my cut Pdf
end PreOpenCard