Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates the distance from the top of the paper to the printable area of the paper.
Syntax
display int unprintableTop()
Run On
Called
Return Value
Type: int
The size of nonprintable area, measured in hundredths of a millimeter.
Remarks
In reports, the topMargin of a reportDesign must not be less than unprintableTop.
Examples
static void printerInfo(args a)
{
printJobSettings pjs;
str printer;
int i;
pjs = new printJobSettings();
for (i=1; i<=pjs.GetNumberOfPrinters(); i++)
{
printer = pjs.GetPrinter(i);
pjs.DeviceName(printer);
print "printer No. ",i, " has name ", printer;
print " left: ", pjs.UnprintableLeft(), "/100 mm";
print " right: ", pjs.UnprintableRight(), "/100 mm";
print " totalWidth: ", pjs.UnprintableLeft() +
pjs.PrinterPageWidth() + pjs.UnprintableRight();
print " top: ", pjs.UnprintableTop(), "/100 mm";
print " bottom: ", pjs.UnprintableBottom(), "/100 mm";
print " totalHeight: ", pjs.UnprintableTop() +
pjs.PrinterPageHeight() + pjs.UnprintableBottom();
}
pause;
}
See Also
PrintJobSettings.unprintableBottom Method
PrintJobSettings.unprintableLeft Method