5.7.2 E5 - END WAYBILL RECEIPT
This command is used to end a waybill receipt.
5.7.2.1 Command Format
-----------------------------------------------------------------------
BYTE BIT CONTENT
0-1
1B66 - Command Prefix
2
E5 - End Waybill Receipt
3
Cmd. Extension
7
Retry
0 = NO
1 = YES
Reserved (always = ' 0 ' )
6
5-3 Print Typeface
000 = 15 CPI
001 = 12 CPI
010 = Reserved
011 = Reserved
100 = 15 CPI Emphasized
101 = 12 CPI Emphasized
110 = Reserved
111 = Reserved
2-0 Orientation Print and Direction
000 = Reserved
001 = Reserved
010 = Reserved
011 = Reserved
100 = Reserved
101 = Landscape - Forward
110 = Portrait - Forward
111 = Reserved
4-89
E5_Description
90-101
E5_Amount
102-113
E5_TAX_Amount
-----------------------------------------------------------------------
Notes:
1. E5_Description field is truncated as follows:
Portrait orientation at 15 CPI to 47 characters.
Portrait orientation at 12 CPI to 37 characters.
Landscape orientation at 15 CPI to 86 characters.
Landscape orientation at 12 CPI to 68 characters.
5.7.2.2 End Waybill Receipt Calculations
Day_N_WBill = Day_N_WBill + 1
Day_WBill_Tot = Day_WBill_Tot + E5_Amount
Day_WBill_VTot = Day_WBill_VTot + E5_T A X _Amount
TYPE
LENGTH
hex
2
hex
1
hex
1
ASCII
86 (Note 1)
ASCII
12
ASCII
12
Command Set Reference — Page 101 of 183