If the
print forms are to be changed on the basis of the examples delivered, the
environment variable "PRINTFORMDEBUG=5" should be activated in file
"oscar.ini".
Activation
of this environment variable generates information in the file errlog when a
receipt is printed. On the basis of this information the user recognises which
print format is active during receipt print.
Example:
info(-5- ::printLine first pos: 3 last pos: 16) Grp/Frm/Sect/Cond 100/80/10/1
info(-5- ::printLine use leftspace: 0) Grp/Frm/Sect/Cond 100/80/10/1
info(-5- ::printLine set column: 3) Grp/Frm/Sect/Cond 100/80/10/1
info(-5- ::printLine append text: 16,00) Grp/Frm/Sect/Cond 100/80/10/1
info(-5- ::printLine set column: 8) Grp/Frm/Sect/Cond 100/80/10/1
info(-5- ::printLine append text: %-MwSt) Grp/Frm/Sect/Cond 100/80/10/1
info(-5- ::printLine set column: 15) Grp/Frm/Sect/Cond 100/80/10/1
info(-5- ::printLine append text: v) Grp/Frm/Sect/Cond 100/80/10/1
info(-5- ::printLine set column: 25) Grp/Frm/Sect/Cond 100/80/10/1
info(-5- ::printLine append text: 0,83) Grp/Frm/Sect/Cond 100/80/10/1
info(-5- ::printLine start) Grp/Frm/Sect/Cond 100/80/10/1
The example
above indicates at the end of each line which print format was used for the
receipt printed (e.g. 100/80/10/1 means = print form group 100, print form 80;
print section 10; print condition 1).
The table
below provides information on the print forms for receipt print.
|
Receipt copy (RECPRINTRECEIPT) |
||||
|
Name (No.) |
Object type |
Subform |
Print section |
Description |
|
printAllCopy (1) |
RecHead |
printAll (100) |
Subform |
Receipt copy |
|
Receipt head |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
printHead (11) |
RecHead |
RmPayIn (15) |
RmPayIn |
Pay in |
|
|
|
RmPayout (16) |
RmPayout |
Paid out |
|
|
|
Cust at end (17) |
Customer at the end |
Customer receipt |
|
Total |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
Total (12) |
RecHead |
|
FGLTotal |
AT |
|
Subtotal |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
Subtotal (13) |
RecHead |
|
FGLSubtotal |
Subtotal |
|
Receipt foot |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
printFoot (14) |
RecHead |
RecAbort (60) |
RecAbort |
Receipt abort |
|
|
|
RecHeadLayedAway (61) |
RecHeadLayedAway |
Lay away receipt |
|
|
|
DefaultprintRecFoot |
|
|
|
|
|
StatLineWithRecNo (90) |
StatLineWithRecNo |
Receipt status with receipt no. |
|
|
|
StatLineWithOutRecNo (92) |
StatLineWithOutRecNo |
Receipt
status w.o. receipt no. |
|
Pay in |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
RmPayIn (15) |
RecHead |
|
Pay In Text |
Rec.text Pay in |
|
Paid out |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
RmPayout (16) |
RecHead |
|
Pay Out Text |
Rec.text Paid out |
|
Customer receipt |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
Cust at end (17) |
RecHead |
|
|
|
|
Receipt abort |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
RecAbort (60) |
RecHead |
|
|
Receipt abort |
|
Lay away receipt |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
RecHeadLayedAway (61) |
RecHead |
|
|
|
|
|
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
DefaultprintRecFoot (70) |
RecHead |
|
|
|
|
Receipt status end with receipt no. |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
StatLineWithRecNo (90) |
RecHead |
|
|
|
|
Receipt
status end without receipt no. |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
StatLineWithOutRecNo (92) |
RecHead |
|
|
|
|
Receipt print (receipt header, receipt foot, receipt
positions) |
||||
|
Name (No.) |
Object type |
Subform |
Print section |
Description |
|
printAlll (100) |
RecHead |
printHead (11) |
HeadeSub |
Receipt head |
|
|
|
Total (12) |
TotalSub |
|
|
|
|
printFoot (14) |
FooterSub |
Receipt foot |
|
Receipt position |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
printPos (2) |
ItemPos |
printPriceLevel (23) |
Price Level |
Price level |
|
|
|
printOneItem (21) |
print One Item |
Article position |
|
Article position |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
printOneItem (21) |
ItemPos |
|
|
Article position |
|
Menu position |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
printmenuPos (22) |
ItemPos |
|
|
Menu position |
|
Article position |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
printOneItem (21) |
ItemPos |
|
|
Article position |
|
Receipt position |
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
printPriceLevel (23) |
ItemPos |
|
|
Price level 1 -5 |
|
|
||||
|
Name (No.) |
Object type |
Subform |
Print section name |
Description |
|
|
|
|
|
|