Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening Cashdrawer command
Message
From
05/06/2009 02:28:03
 
 
To
04/06/2009 17:54:54
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01400258
Message ID:
01403871
Views:
99
Create a file containing the necessary printer codes, and copy it to the printer
If !File('cashopen.txt'
   Strtofile(Chr(27)+CHR(112)+chr(0)+chr(64)+chr(240),'cashopen.txt')
Endif
Copy file cashopen.txt to LPT1: && Or COM1:
Note that often a single chr(7) is sufficient to open the cash drawer.

>Hello Naomi
>
>Thanks in advance for your reply, and also the replies for all the members, but i still have the same problem, i will try to explain all:
>
>1- my printer is TM-T88II, serial and connect to my pc with a cable 25 pins to 9 pins (Serial).
>2- My casdrawer is connect to this printer through RJ11 cable.
>3- My OS is Vista SP1
>4- I have install "Epson Advanced Printer Driver" Version 3.06E, not the EPSON OPOS program
>
>Your code that you have send to me, when running make the printer print a short paper and cut them, but they don´t open my casdrawer.
>
>I don´t know in the moment how can resolve this situation, because your sequence code is the Epson sequence, also if i try sending the letter "A" using the special espon font, nothing happens.
>
>I also type on command line : mode LPT1=COM1
>and after this, i type : DIR >LPT1 , and the printer print OK.
>
>I will try also mapping a virtual port with : NET USE LPT1: \\127.0.0.1\EPSONTM "EPSONTM" is the Shared name assing to the printer.
>
>I don´t know if i make a big confusion , because this is the first time that is occurs.
>
>Could you try to help me again, I would be very grateful.
>
>Many thanks
>Luis Santos
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform