653565804,"Print Zebra",0,0,0,0,-1,0,0,0,0,"UserName = ##USERNAME##",
1,"PDate",8,"","initialize:
    $[PDate] = now",0,"","","","0","","","","","0","0","0","PDate","","","","0","27","99","11","Standard","0","100","27","60","17","Standard","0",0,0,0,0,"5K","","1",0,0,0,-1,
2,"Salesperson",4,"","",0,"","","","0","","","","","0","0","0","Salesperson","","","","0","44","160","11","Standard","0","0","55","156","11","Standard","0",0,0,0,0,"","","0",0,0,0,0,
3,"Order Number",4,"","",0,"","","","0","","","","","0","0","0","Order","","","","0","66","160","11","Standard","0","0","77","156","11","Standard","0",0,0,0,0,"","","0",0,0,0,0,
4,"Tap to enter Order Line Items",16,"Print Line Items","",0,"","","","0","","","","","0","0","0","","","","","0","88","160","11","Standard","0","0","99","74","15","Standard","0",0,0,0,0,"","","0",0,0,0,0,
5,"Button",19,"","click:
 
    SETPARAM font 0
    SETPARAM size 3
    PRINTLEFT 1 ""--------------------""
    PRINTLEFT 1 ""Order Report""
    PRINTLEFT 1 ""--------------------""
    
    select all ""Print Line Items""
    select ""Print Line Items"" where field 1 is $[Order]
    if result > 0 then
      RESULT = ""Product: [2][newLine] Qty: [3][newLine]""
      PRINTLEFT 0 ""[ROWS]""
    endif
    
    PRINTLEFT 1 "" ""
    PRINTLEFT 1 ""------------------""
 
    format $[PDate] datetime
    PRINTLEFT 1 result
    PRINTLEFT 1 ""Salesperson: ""
    PRINTLEFT 8 $[Salesperson]
    PRINTLEFT 1 "" ""
    PRINTLEFT 1 ""Order: ""
    PRINTLEFT 8 $[Order]
    PRINTLEFT 1 "" ""
    PRINTLEFT 1 ""Signature""
    PRINTLEFT 1 "" ""
    PRINTLEFT 1 ""X""
    PRINTLEFT 1 ""*  *  *  *  *  *  *  *  *  *""
 
PRINTNEWPAGE",0,"PRINT ORDER","","","0","","","","","0","0","0","","","","","0","125","160","0","Standard","0","48","125","112","15","Standard","0",0,0,0,0,"3","","1",0,0,0,0,

