Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5187 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

How do i open cash drawer using filemaker. I have a printer connected to cash drawer. All i have to do is send DEC(7) to the printer so that the cash drawer will open. Any idea on how to do that?

Posted

The printer is connected through USB and the cash drawer is connected to the printer through rj11. The printer driver allows the cash drawer to open when the printer print. I find out from other forum that the function to open the cash drawer is a hex 7 or dec 7. I want to do through filemaker is by pressing a button, the cash drawer will open but the printer wun print.

Posted

... But wouldn't the cash drawer have to be connected directly to the PC in some way for you to be able to interface with it? I'm not sure that the printer will act as a "hub" so to speak, so unless the cash drawer is directly connected, I'm not sure it will work at all (I am however, no expert in these maters, but thats just my general thought).

Posted

What should i put in HERE for DEC 7 or BEL. "^G" don't work. Please enlighten me.

do shell script ("echo" & HERE & " > ./open.txt")

do shell script ("lp -d " & "[email protected]" & " ./open.txt")

do shell script ("rm -f ./open.txt")

Posted

The code below is for VB but i believe can be done on applescript too.

Option Explicit

' Print and open cash drawer

Private Sub Command1_Click()

StarComm1.StarComm_InitialisePrintJob

StarComm1.StarComm_Output Text1.Text

StarComm1.StarComm_Output Chr(7)

StarComm1.StarComm_Print

' For printing directly to a parallel port without starcomm,

' this code would work exactly the same:

' Open "lpt1" For Random As #1

' Print #1, Text1.Text

' Print #1, Chr(7)

' Close

End Sub

' Print only

Private Sub Command2_Click()

StarComm1.StarComm_InitialisePrintJob

StarComm1.StarComm_Output Text1.Text

StarComm1.StarComm_Print

End Sub

  • 3 years later...
Posted

How can I tell FM11 to send a hex "07" command to our cash drawer?

The cash drawer is connected to a Star TSP100 USB printer. The printer relays the command to the cash drawer via a USB connection.

FileMaker Stopped opening our cash drawer after upgrading to FM11 and Snow Leopard 10.6.4. It has worked fine for the past 4 years with FM8 and Tiger 10.4.

This topic is 5187 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.