good day.
Please help me on how to remove the space or adjust the spaces between the header and body of my fields.
here is my code below
Code: Select all
answer printer
revShowPrintDialog false ,false
put fld "fldHeader" of stack "StackPrinterGallons" into tHeader
put fld "fldIN" of stack "StackPrinterGallons" into tBody
lock screen
##### HEADER
set the printmargins to "0,0,0,0" --L,T,R,B 36=.5", 72=1"
set the printPaperOrientation to "portrait" --portrait, landscape
set the textFont of fld "fldHeader" of stack "StackPrinterGallons" to "Arial"
set the textSize of fld "fldHeader" of stack "StackPrinterGallons" to "20" --different textSize
set the textStyle of fld "fldHeader" of stack "StackPrinterGallons" to "Bold" --different textStyle
revPrintText tHeader
##### BODY
set the textFont of fld "fldIN" of stack "StackPrinterGallons" to "Courier New"
set the textSize of fld "fldIN" of stack "StackPrinterGallons" to "10" --different textSize
revPrintText tBody
unlock screen
here is the actual printout from the the printer.