WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Software (http://www.wcm.at/forum/forumdisplay.php?f=5)
-   -   ANSII Format & Hex/ASCII Codes (http://www.wcm.at/forum/showthread.php?t=231503)

-=[n0t mY daY]=- 30.10.2008 17:17

ANSII Format & Hex/ASCII Codes
 
servus...

habe ein problem.
hab einen barcode drucker hier (EPSON TM-T88IV), welcher von einem POS programm angesprochen wird, welches wiederum auf ein *.INV file zugreift welches im ANSII format geschrieben ist.

Code:

:HEADER
C17"Bold ON-1"³B05³"xxx"³C18"Bold OFF-3"
B10³V14,01-38³C19"Remove Line If BLANK-5"
B10³V14,02-38³C19"Remove Line If BLANK-7"
B10³V14,03-38³C19"Remove Line If BLANK-9"

"Time: "³C23"DOS Time-13"³B26³V"Invoice No: "06-06
V"Date: "09-11³B21³"Store No: "³V10,01-03³B01³V11-01³B01³V26-02
B38³V"Cashier: "172-08
V01-38³C19"Remove Line If BLANK-22"
V02,01-30³C19"Remove Line If BLANK-24"
V02,02-30³C19"Remove Line If BLANK-26"
V03,03-38³C19"Remove Line If BLANK-28"
V"Ship To:"92³C19"Remove Line If BLANK-30"
V93-38³C19"Remove Line If BLANK-32"
V94,01-30³C19"Remove Line If BLANK-34"
V94,02-30³C19"Remove Line If BLANK-36"
V95,03-38³C19"Remove Line If BLANK-38"
V18"------------------ CANCELLED INVOICE ------------------"³B22³C19"Remove Line If BLANK-40"
V17"-------------------- RETURN INVOICE --------------------"³B19³C19"Remove Line If BLANK-42"
V148"--------------------- LOST SALE --------------------"³B14³C19"Remove Line If BLANK-44"

"DESCRIPTION"³B14³"QTY"³B08³"PRICE"³B10³"TOTAL"
"-----------"³B12³"-----"³B02³"-----------"³B06³"---------"
:ITEM
V36,02-33
V36,01-09³B14³V40-05³B01³V108-12³B03³V111-12
V48-06"% Disc."³B03³V50-12³B03³V"-"113-09³B03³V115-12
C17"Bold ON-12"³B01³V55-18³B03³C18"Bold OFF-13"
:TOTALS
B01³V"* Non taxable items"84³B27³"---------"
V71-08" Piece(s)"³B19³V"Subtotal:"173-11
B26³V73-06"%"³B06³V"Disc.:"74-11³B06³C19"Remove Line If BLANK-7"
B27³V75-06"%"³B07³V"VAT:"76-11³B02³C19"Remove Line If BLANK-10"
B36³V78-08":"³V79-11³C19"Remove Line If BLANK-12"
B33³V80-06³B02³V"Fee:"81-11³B08³C19"Remove Line If BLANK-15"
B47³"---------"³C15"DblWid ON-16"
B24³V"INVOICE TOTAL IN EUR:"82-11³C16"DblWid OFF-18"
"--------------------------------------------------------"
 

B10³C17"Bold ON-19"
B06³"abc"
 
 
 

C12"Custom1 CPI-71"
:END

auf den printer kann man bitmaps legen, welche man dann als logo ausdrucken kann und den bons hinzufuegen kann.
da wird aber mit obigen code die bons drucken, muessen wir da irgendwie den befehl reinbekommen das das logo auch noch gedruckt wird.

wir haben den code jetzt in:

dez: 28 112 1 0,48
hex: 28 112 1 0

weiss aber ehrlichgesagt nicht wie ich das ding einfuegen soll in obigen code :look:

ascii funzt natuerlich net weil das ganze file im ansii format abgespeichert ist...

hoff von euch weiss wer bescheid :ms:

lg
tom


Alle Zeitangaben in WEZ +2. Es ist jetzt 16:50 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag