#IF (!0=5)
#IFCLASS !1 "F" // if file field we want to rtrim the value - only works with WP2
Send DFWritePos of WinPrintID !1 !3 !2 !4 !5 1 // last param is 0 or 1 - 1=rtrim
#ELSE
Send DFWritePos of WinPrintID !1 !3 !2 !4 !5 0
#ENDIF
#ENDIF
#IF (!0=4)
DFWritePos !1 !2 !3 !4 0
#ENDIF
#IF (!0=3)
DFWritePos !1 !2 !3 -1 0
#ENDIF
#IF (!0=2)
DFWritePos !1 !2 FONT_DEFAULT -1 0
#ENDIF