POS

January 6th, 2009

Control character

Ada dapet satu resource bagus dari http://openacs.org/forums/message-view?message_id=60970

I found a way to do this directly from HTML using VBScript:
1. Identify the control code that will open the cash drawer, for me this worked by opening a DOS Command prompt and typing “echo ^[p0>lpt1″ (my open code is ESC p 0 for an Epson TMU200D connected to LPT1.)
2. In VBScript, use the FileSystemObject to “write” this command to LPT1 as follows:
Set objFS = CreateObject(“Scripting.FileSystemObject”)
Set objPrint = objFS.CreateTextFile(“LPT1:”, True)
objPrint.Write(Chr(27) & “p0″)
objPrint.Close
3. From your HTML page, execute this script, either onLoad or via button push.
4. Experience joy as the drawer opens!

TM-U230 network

Buat bisa jalanin network nya, nyalakan switch 4 pada DIP switch 1. Anda bisa buka panel nya di bagian belakang printer. Tidak seperti U220, U230 itu DIP nya terdapat di bagian yang di segel. Jadi anda bisa balik ke tokonya untuk minta di set. Atau set sendiri tapi dengan resiko kehilangan garansi ^^

Share
  1. No comments yet.
  1. No trackbacks yet.

Switch to our mobile site