I'm attempting to support 2 more brands of receipt printer in my application. I have a Star TSP100 working well. I'm trying to add a POS-X Evo Green and a Citizen CT-S310II.
I have the Citizen set up correctly except for opening the cash drawer. For the Star I use:
This does not work for the Citizen. From this site I found the following codes.
1. The new escape sequence opens the drawer, but it makes the printer error led light up, and the printer is unavailable in Windows until I turn it off and back on. I've tried multiple combinations of that escape sequence and can't get it right.
2. For the POS-X Evo I can get the drawer to open with a number of sequences from the combining the numbers above, but every sequence that successfully opens the cash drawer also feeds some paper.
I believe I have both drivers correctly installed. Does anyone have experience with either of these printers? Is there a certain printer property/preference that I may be missing?
I have the Citizen set up correctly except for opening the cash drawer. For the Star I use:
iEscape(Charact(7)) // Open drawer attached to Star printer iEndPrinting()
This does not work for the Citizen. From this site I found the following codes.
// The following 2 lines have been edited since I originally posted IF Citizen THEN iEscape(Charact(27) + Charact(112) + Charact(0) + Charact(50) + Charact(250)) // Open drawer attached to Citizen printer IF Pos-X THEN iEscape(Charact(27) + Charact(112) + Charact(0) + Charact(25)) // Open drawer attached to Pos-X printer iEndPrinting()
1. The new escape sequence opens the drawer, but it makes the printer error led light up, and the printer is unavailable in Windows until I turn it off and back on. I've tried multiple combinations of that escape sequence and can't get it right.
2. For the POS-X Evo I can get the drawer to open with a number of sequences from the combining the numbers above, but every sequence that successfully opens the cash drawer also feeds some paper.
I believe I have both drivers correctly installed. Does anyone have experience with either of these printers? Is there a certain printer property/preference that I may be missing?