thanks Vlad, however, the cash drawer only has one cable with an RJ12 plug
(similar to ethernet but smaller) that fits in the printer - do I leave it plugged into the printer? Should there be another connection? Also, when
setting up the new generic EscPOS device, it's asking for an IP address, what do I use? Sorry, but I am confused.
Prior to your response, I installed xpp (X Printing Panel) and in the Options it has a 'Cash Drawer Control' tab, I have changed the Cash Drawer #1 from 'Does not Open' to 'Open After Printing'. I subsequently checked the printer settings using the following command:
lpoptions -p Epson-TM-T82II-2 -l
(I used 'lpq' and 'lpstat -p' to get the correct printer's name and queue)
The output is:
PageSize/Media Size: *RP80x297 RP58x297 Custom.WIDTHxHEIGHT
Resolution/Resolution: *203x203dpi
TmtSpeed/Printing Speed: *Auto 1 2 3 4
TmtPaperReduction/Paper Reduction: Off Top Bottom *Both
TmtPaperSource/Paper Source: *DocFeedCut DocFeedNoCut DocNoFeedCut DocNoFeedNoCut PageFeedCut PageFeedNoCut PageNoFeedCut
TmtBuzzerControl/Buzzer: *Off Before After
TmtSoundPattern/Sound Pattern: *Internal A B C D E
TmtBuzzerRepeat/Buzzer Repeat: *1 2 3 5
TmtDrawer1/Cash Drawer #1: Off Before *After
TmtDrawer2/Cash Drawer #2: *Off Before After
From the second last line of the output, it appears to have been set correctly, however, it does not work!