GET PRINTABLE MARGIN

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 6.8.1


GET PRINTABLE MARGIN (left; top; right; bottom)

ParameterTypeDescription
leftNumberLeft margin
topNumberTop margin
rightNumberRight margin
bottomNumberBottom margin

Description

The GET PRINTABLE MARGIN command returns the current values of the different margins defined using the Print form command.

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.

About Printable Margin Management

By default, the printing calculation in 4th Dimension 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 could modify the printable margins.

Beginning with 4th Dimension version 6.8.1, it is possible to base the form printing carried out using the Print form, PRINT RECORD and PRINT SELECTION 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.

About Printing Terminology

Paper margin: the paper margin corresponds to the physical limits of the sheet.

Printer margin: the printer margin is the margin beyond which the printer is incapable of printing (for material reasons: print rollers, printer head end-of-travel...). It varies from one printer to another and from one format to another.

Dead margin: this referes to the area located between the paper margin and the printer margin.

See Also

GET PRINTABLE AREA, Print form, SET PRINTABLE MARGIN.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next