Example: Calculating the physical margins of the printer
This example is used to calculate the physical margins of the printer.
// Reset the margins to 0
iMargin(0, 0, 0, 0)
// Vertical margin
MarginH = (PaperHeight - iPageHeight())/2
// Margin in width
MarginW = (PaperWidth - iPageWidth())/2