I have written a small POS sytem in Access 2007. We have a pole display attached - Bixolon BCD-1000 at COM1. I would like to program it so that the product sold "[ProductDescription]" appears on the display at line 1 and the price "[LineTotal]" appears at Line 2 everytime a product is scanned.
I have downloaded their manual (too big to attach) but it is so technical that I really don't know how to read it.
Could someone please help me write a basic code for the "After Update" event.
So far, I am using the code:
Open "COM2" For Output As #1
Print #1, "TESTING"
Close #1
And this works.
What I need to know, is which commands to add to this that will allow me to use both lines of the display and to arrange it so that the first line shows the product (left alligned) and underneath the price (right alligned).
Below is an example of what the manual says. Should I use the ascii keys? - if so, should they be sent in quotation marks?
Move Cursor Downward (Line Feed)
ASCII Format
<LF>
<ESC> [ B
<NUL> P
Dec. Format
10
27, 91, 66
0, 80
Hex. Format
[0Ah]
[1Bh] [5Bh] [42h]
[00h] [50h]
Description Moves the cursor down one line. When the cursor is on the lower line, the operation of
this command depends on the display mode, as follows :
1) Overwrite mode : The cursor is moved to the same column on the upper line.
2) Vertical scroll mode : The characters displayed on the lower line are scrolled to
the upper line and the lower line is cleared. The cursor remains at the same position.
3) Horizontal scroll mode : The cursor is not moved.
* When a window is defined, the cursor is moved only within the current window.
Please help!
I have downloaded their manual (too big to attach) but it is so technical that I really don't know how to read it.
Could someone please help me write a basic code for the "After Update" event.
So far, I am using the code:
Open "COM2" For Output As #1
Print #1, "TESTING"
Close #1
And this works.
What I need to know, is which commands to add to this that will allow me to use both lines of the display and to arrange it so that the first line shows the product (left alligned) and underneath the price (right alligned).
Below is an example of what the manual says. Should I use the ascii keys? - if so, should they be sent in quotation marks?
Move Cursor Downward (Line Feed)
ASCII Format
<LF>
<ESC> [ B
<NUL> P
Dec. Format
10
27, 91, 66
0, 80
Hex. Format
[0Ah]
[1Bh] [5Bh] [42h]
[00h] [50h]
Description Moves the cursor down one line. When the cursor is on the lower line, the operation of
this command depends on the display mode, as follows :
1) Overwrite mode : The cursor is moved to the same column on the upper line.
2) Vertical scroll mode : The characters displayed on the lower line are scrolled to
the upper line and the lower line is cleared. The cursor remains at the same position.
3) Horizontal scroll mode : The cursor is not moved.
* When a window is defined, the cursor is moved only within the current window.
Please help!
