Jump to content


Photo

Opening a cash drawer using PHP


  • Please log in to reply
1 reply to this topic

#1 elaine@dzyn.com

elaine@dzyn.com
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 08 June 2006 - 05:47 PM

Is there a way to open a cash drawer (with a parallel receipt printer) in PHP. I have the code from the printer that is supposed to work, but now I don't know what to do with these numbers.

Can anyone help me with the code. [img src=\"style_emoticons/[#EMO_DIR#]/unsure.gif\" style=\"vertical-align:middle\" emoid=\":unsure:\" border=\"0\" alt=\"unsure.gif\" /]

#2 thepip3r

thepip3r
  • Members
  • PipPipPip
  • Advanced Member
  • 289 posts

Posted 08 June 2006 - 06:34 PM

What "CODE" do you have from your cash drawer? And no, I don't think PHP will be able to do this for you natively. What you CAN do though is use a fucntion like exec() or something of the sort if you have an executable that PHP can kick off to remotely execute that command.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users