4D v14.3GET PRINTABLE MARGIN |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
GET PRINTABLE MARGIN
GET PRINTABLE MARGIN
The GET PRINTABLE MARGIN command returns the current values of the different margins defined using the Print form, PRINT SELECTION and PRINT RECORD commands. The values are returned in pixels with respect to the paper edges. It is possible to obtain the paper size as well as to calculate the printable area using the GET PRINTABLE AREA function. By default, the printing calculation in 4D is based on “printable margins”. The advantage of this system is that the forms adapt themselves automatically to the new printers (since they are positioned in the printable area). On the other hand, in the case of pre-printed forms, it was not possible to position the elements to be printed precisely because changing the printer can modify the printable margins. It is possible to base the form printing carried out using the Print form, PRINT SELECTION and PRINT RECORD commands on a fixed margin which is identical on each printer: the paper margins, i.e. the physical limits of the sheet. To do this, simply use the GET PRINTABLE MARGIN, SET PRINTABLE MARGIN and GET PRINTABLE AREA commands. Paper margin: the paper margin corresponds to the physical limits of the sheet. |
PROPERTIES
Product: 4D
HISTORY
Created: 4D v6.8.1 SEE ALSO
GET PRINTABLE AREA ARTICLE USAGE
4D Language Reference ( 4D v12.4) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||