Page 1 of 1

POS serial printer doesn't open cash drawer

Posted: Sun Mar 21, 2004 7:59 pm
by Mazellan
Serial printer Star SP212
Prints OK

Serial1.bat contents:
@echo off
@mode com1:9600,n,8,1>nul
@echo >com1: (control-G)
@exit

Test with F4 from posconfg.exe opens cash drawer OK
After cash sale doesn't open cash drawer

Why?

Posted: Sun Mar 21, 2004 11:03 pm
by CBL
From POSCONFIG, go to "Open Cash Drawer" and set the code to be sent to LPT1.

Then, enter the decimal codes 27, 7, 11, 55, 7, 0.

That should do the trick.

Re: POS serial printer doesn't open cash drawer

Posted: Mon Mar 22, 2004 8:18 am
by GAWG
Mazellan wrote:Serial printer Star SP212
Prints OK

Serial1.bat contents:
@echo off
@mode com1:9600,n,8,1>nul
@echo >com1: (control-G)
@exit

Test with F4 from posconfg.exe opens cash drawer OK
After cash sale doesn't open cash drawer

Why?
If you get it to work with DHPOS, please add it to the hardware list thread with any changes you had to make to get it to work..

Thx!

is this on?

Posted: Mon Mar 22, 2004 11:08 am
by Nick
If you have the "Print recipts on printer" option under "program printer" in pos config turned off (no) it woulnt open the drawer.

-Nick

Posted: Tue Mar 23, 2004 7:36 pm
by Mazellan
It is a serial printer so sending the codes to LPT1 wouldn't work

It print receipts OK after each sale

It opens the cash drawer from the test F4 in posconfg/open cash drawer

It doesn't open the cash drawer after a sale

Posted: Wed Mar 24, 2004 1:16 am
by CBL
I know it's a serial printer, but selecting LPT1 does not actually send the code to that specific port, it sends the control codes out to the receipt printer on whichever port you have configured it on - be it LPT1, COM1 or FILE.

Trust me, it will work.

Posted: Thu Mar 25, 2004 4:58 pm
by Guest
Well, It's not obvious, but it did work. Thank you CBL.

I was trying it in the posconfg/open cash drawer/test F4 which just gave printer errors in DOS and crashed POS in Win98.

By actually doing a sale I noticed that it did work.

Posted: Thu Mar 25, 2004 11:22 pm
by CBL
No problem.