Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > REALbasic printer commands

REALbasic printer commands
Thread Tools
Grizzled Veteran
Join Date: May 2002
Location: On the moon
Status: Offline
Reply With Quote
Dec 19, 2003, 07:42 AM
 
I am building a POS system for the place where I work and I need to be able to send a command to the cash drawer to open on cash sale receipt printing. I need to pass one of the following values to the printer...along with the printed data.
ACSII: ESC, p, 0, 250
HEX: 1B, 70, 00, 19, FA
DEC: 27,112, 0, 25, 250

these strings passed to the printer prompt the cash drawer to open. does anyone know how to pass these values to the printer on a print job? this program will be run mainly on a windows machine, but I posted it here because I am a mac head, I am foremost a mac developer, and i've had much help here in the past. post here or email me at macsatin@mac.com if you can help.
24" iMac 2.13ghz C2D | 15" MBP 2ghz CD | "Soundwave" 60GB 5G iPod
     
Grizzled Veteran
Join Date: Nov 2003
Location: Hebburn, UK
Status: Offline
Reply With Quote
Jan 5, 2004, 05:31 PM
 
I reckon the best place to try and find out the answer to any REALbasic question is over at http://www.realgurus.com

Great wee commmunity there.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:34 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2