Forum

El Terminali yazdır...
 
Bildirimler
Hepsini Temizle

El Terminali yazdırma Sorunu

5 Yazılar
2 Üyeler
0 Likes
2,198 Görüntüleme
(@muratguler)
Gönderiler: 313
Honorable Member
Konu başlatıcı
 

Merhaba

Zebra El terminalinde usb veya com üzerinden çalıştırmayı denediğim zaman ZebraUsb.dll hatası alıyorum. İnternette araştırdım ama böyle bir dll bulamadım. Yazdırmak için başka ne yapmam lazım ?

Teşekkürler

 
Gönderildi : 22/04/2019 15:42

(@aliuysal)
Gönderiler: 292
Üye

(@muratguler)
Gönderiler: 313
Honorable Member
Konu başlatıcı
 

Ne yapmam lazım peki. 

 
Gönderildi : 22/04/2019 16:28

(@aliuysal)
Gönderiler: 292
Üye
 

ZebraLink SDK'yı tekrar kurarak deneyebilirsiniz. Detay vermediğiniz için El terminalinden nasıl bir yazıcıya hangi protokol ile ne yazdırmaya çalıştığınızı bilemiyorum. Siz sorunuzda dll bulamadım demişsiniz, bende size neyin içinde olduğunu söyledim

Verdiğim Linkte zaten detaylar mevcut. 

Dijital dönüşüm başlıyor...
RFID Sayım
WinFlow e-Fatura Onay Akış Süreç Yazılımı
Android El Terminali
Elektrikli Araç Şarj Yazılım Platformu
RFID Demirbaş
QrCode Api

 
Gönderildi : 22/04/2019 16:37

(@muratguler)
Gönderiler: 313
Honorable Member
Konu başlatıcı
 
 public void SendZplOverUsb()
        {
 
            try
            {
                // Instantiate connection for ZPL USB port with a given port name. 
                ZebraPrinterConnection thePrinterConn = new UsbPrinterConnection("LPT1:"); // "LPT" is the default prefix for most Windows CE/Mobile USB ports 
 
                // Open the connection - physical connection is established here.
                thePrinterConn.Open();
 
                // This example prints "This is a ZPL test." near the top of the label.
                String zplData = "^XA^FO20,20^A0N,25,25^FDThis is a ZPL test.^FS^XZ";
 
                // Send the data to printer as a byte array.
                thePrinterConn.Write(Encoding.Default.GetBytes(zplData));
 
                // Close the connection to release resources.
                thePrinterConn.Close();
 
            }
            catch (ZebraPrinterConnectionException e)
            {
 
                // Handle communications error here.
                Console.Write(e.StackTrace);
            }
        }
 
        public void SendZplOverSerial()
        {
 
            try
            {
                // Instantiate connection for ZPL Serial port on COM1. 
                ZebraPrinterConnection thePrinterConn = new SerialPrinterConnection("COM1", 9600, 8, Parity.None, StopBits.One, Handshake.None);
 
                // Open the connection - physical connection is established here.
                thePrinterConn.Open();
 
                // This example prints "This is a ZPL test." near the top of the label.
                String zplData = "^XA^FO20,20^A0N,25,25^FDThis is a ZPL test.^FS^XZ";
 
                // Send the data to printer as a byte array.
                thePrinterConn.Write(Encoding.Default.GetBytes(zplData));
 
                // Close the connection to release resources.
                thePrinterConn.Close();
 
            }
            catch (ZebraPrinterConnectionException e)
            {
 
                // Handle communications error here.
                Console.Write(e.StackTrace);
            }
        }
 
        public void SendZplOverTcp(String theIpAddress)
        {
 
            try
            {
                // Instantiate connection for ZPL TCP port at given address. 
                ZebraPrinterConnection thePrinterConn = new TcpPrinterConnection(theIpAddress, TcpPrinterConnection.DEFAULT_ZPL_TCP_PORT);
 
                // Open the connection - physical connection is established here.
                thePrinterConn.Open();
 
                // This example prints "This is a ZPL test." near the top of the label.
                String zplData = "^XA^FO20,20^A0N,25,25^FDThis is a ZPL test.^FS^XZ";
 
                // Send the data to printer as a byte array.
                thePrinterConn.Write(Encoding.Default.GetBytes(zplData));
 
                // Close the connection to release resources.
                thePrinterConn.Close();
 
            }
            catch (ZebraPrinterConnectionException e)
            {
 
                // Handle communications error here.
                Console.Write(e.StackTrace);
            }
        }
 
kodlarını yazdım. Hangisini çalıştırmak istersem hep zebrausb.dll hatası çıkıyor.
Ne yapmam lazım? Kullandığım el terminali m3 black ama kodları araştırırken bunun el terminali ile ilgili bir kod olmadığını yazıcı ile ilgili bir kod olduğunu gördüm ama denedim olmadı. 
 
Gönderildi : 24/04/2019 16:32

Paylaş: