c# - Why the barcode did not respond to image capture Command -


I am working on writing a program that is writing (send commands to barcode)

I read in the PDF Creator Barcode that the command to capture the image is IMGSNP so I pass it to write the work as serialport obz (written "IMGSNP")

but why not barcode order To answer? And did not capture the image :( Is it wrong (I may need to take an image in some cases, not for barcode but image for passport or product etc.), which has no barcode barcode maker Handheld (4800p) Thanks for any help

Here is my code

  Private serial port com; Personal representative Zero Detaire Dell (string text); Private zero form 1_load (audio Junk sender, Eventarges e) {Com = New SerialPort ("COM4"); Com.Open (); Com.DataReceived + = New SerialDataReceivedEventHandler (port_DataReceived);} Private Zero Portsdata Recover (Object Sender, SerialDataReceivedEventArgs E) {Com.Encoding = Encoding.Default; BeginInvoke (New DataReadDel (DataReceived), New Object [] {Comm. RedExisting ()}}} Private Zero Detected (string DR) {textBox1.Text = dR;} Private Zero Button 1_Click (Object Sender, EventArgs e) {If (.com.is open) {com.open ();} com. ("IMGSNP1B1L"); Com.Write ("IMGSHP"); Imgbytes = com.ReadExisting (); // return ""}  

You need to capture the scanner and send the image To send serial command header with IMGSNP command Headers are three ASCII characters: SYN MR (ASCII 22,77,13).


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -