barcode
QR Code generation in ASP.NET MVC [closed]
I wrote a basic HTML helper method to emit the correct <img> tag to take advantage of Google’s API. So, on your page (assuming ASPX view engine) use something like this: <%: Html.QRCodeImage(Request.Url.AbsolutePath) %> <%: Html.QRCodeImage(“Meagre human needs a phone to read QR codes. Ha ha ha.”) %> Or if you want to specify the … Read more
Reading barcodes with android
Android programs can interact with eachother using intents. Intents are a little like remote procedure calls: you ask the other program for a certain action (e.g. scan a barcode) and the other program will perform this task for you. The result is returned when the task is complete. If the user has installed the ZXing … Read more
Print barcodes from web page to Zebra printer
You are running into a few obstacles: 1) When you print through the OS installed printer driver, the printer driver is trying to take the data that is sent to it and (re)rasterize or scale it for the output device (the Zebra printer). Since the printer is a relatively low resolution at 203dpi, then it … Read more
QR Code encoding and decoding using zxing
So, for future reference for anybody who doesn’t want to spend two days searching the internet to figure this out, when you encode byte arrays into QR Codes, you have to use the ISO-8859-1character set, not UTF-8.
How to read barcodes with the camera on Android?
It’s not built into the SDK, but you can use the Zxing library. It’s free, open source, and Apache-licensed. The 2016 recommendation is to use the Barcode API, which also works offline.
How can I generate a barcode from a string in Swift?
You could use a CoreImage (import CoreImage) filter to do that! class Barcode { class func fromString(string : String) -> UIImage? { let data = string.data(using: .ascii) if let filter = CIFilter(name: “CICode128BarcodeGenerator”) { filter.setValue(data, forKey: “inputMessage”) if let outputCIImage = filter.outputImage { return UIImage(ciImage: outputCIImage) } } return nil } } let img = … Read more
How to get ZPL code from a ZebraDesigner label?
Not sure if I’m missing something here but from the one that I’m using ZebraDesigner 2.2.3 (Build 4271), I can just click Print, tick “Print to file” checkbox, output to a *.prn file, open that file with Notepad and the code is there.
QR code (2D barcode) coding and decoding algorithms? [closed]
I have a colleague who worked on ZXing (“Zebra Crossing”). That’s got a fair variety of platform support.
Barcode on swift 4
I figured it out but Apple didn’t make it so obvious. The callback function from the delegate AVCaptureMetadataOutputObjectsDelegate has been renamed and the parameter names are different! So, replace func captureOutput(_ captureOutput: AVCaptureOutput!, didOutputMetadataObjects metadataObjects: [Any]!, from connection: AVCaptureConnection!) to func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) My view controller is now … Read more