POS serial printer doesn't open cash drawer

Make comments, ask questions, or just complain about the software on this site. Or comment on any educational software.
Please note that by clicking on links that may appear in these posts that you may be leaving the Dale Harris Educational Software website and that the content of those sites is the sole resposibility of the authors of those sites.

Moderators:daleadmin, Dale Harris, Alan, Andrew

Post Reply
Mazellan
POS serial printer doesn't open cash drawer

Post by Mazellan » Sun Mar 21, 2004 7:59 pm

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?

CBL

Post by CBL » Sun Mar 21, 2004 11:03 pm

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.

GAWG
Forum Regular
Posts:52
Joined:Thu Feb 19, 2004 7:50 pm

Re: POS serial printer doesn't open cash drawer

Post by GAWG » Mon Mar 22, 2004 8:18 am

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!

Nick
Forum Regular
Posts:50
Joined:Sat Jan 03, 2004 8:57 pm
Location:St Cloud, MN

is this on?

Post by Nick » Mon Mar 22, 2004 11:08 am

If you have the "Print recipts on printer" option under "program printer" in pos config turned off (no) it woulnt open the drawer.

-Nick

Mazellan

Post by Mazellan » Tue Mar 23, 2004 7:36 pm

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

CBL

Post by CBL » Wed Mar 24, 2004 1:16 am

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.

Guest

Post by Guest » Thu Mar 25, 2004 4:58 pm

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.

CBL

Post by CBL » Thu Mar 25, 2004 11:22 pm

No problem.

Post Reply

Who is online

Users browsing this forum: No registered users and 263 guests