Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to open POS Cash Drawer
Message
 
À
23/09/2004 14:46:06
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00945415
Message ID:
00945961
Vues:
27
Hi

The cash drawer is connected through RJ11 cable and according to the documentation and OLE Control and shown in the Hardware the Device name is "Devcash"

i used the following code, CDCNTLib is Library provided with the machine

Imports CDCNTLib

Public Class Form1
Inherits System.Windows.Forms.Form


Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

Dim dd As New CDCNTLib.CashDrawer()

dd.Open("Devcash") ' open the device driver
dd.Claim(1000) '1000 is timeout
dd.DeviceEnabled = True
End Sub

End Class

the error is coming "Catastrophic Failure" OLE Exception

Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform