>Hi,
>
>My Euro customers says a forms that my app prints needs to be "adjusted" to their paper size A4. I tried printing the same form to my printer, selecting the paper size A4 and I don't see a difference. Of course, my actual paper is 8.5" by 11".
>
>What do you suggest I need to do - or emulate - their "issue"? How do you deal with this, if you have Euro customers?
>
>TAI
I create the reports in A4, to avoid that the report gets cutoff on the right side.
When printing I look at the setting (in the program the user can chose A4 or Letter size), and the update the Expr field in the frx accordingly.
The Expr field always looks like this in my reports:
ORIENTATION=0
PAPERSIZE=1
COLOR=2
Then I update the Papersize before running the report:
LOCAL lcOrientation
lcOrientation = SUBSTR(Expr,13,1)
LOCAL lcExpression
TEXT TO lcExpression TEXTMERGE NOSHOW
ORIENTATION=<<lcOrientation>>
PAPERSIZE=<<ICASE(toPreviewform.PaperSize="A4",'9',UPPER(toPreviewform.PaperSize)="LEGAL",'5','1')>>
COLOR=2
ENDTEXT
REPLACE Expr WITH lcExpression
Christian Isberner
Software Consultant