My requirement is to print a byte array using a wifi printer in Xamarin Forms. I have placed an image and a QR code to a screen and took a screenshot of it programmatically so that I have converted it to byte[]. Now I have to print it. I know that there is no direct way to do this and should implement dependency service for this. I have already tried this and this but didn't work. Can anyone please provide a working example for this?
Related
I have created a barcode scanner; That works fine. I am using Xamarin Forms and working with Android. I had recently received some barcode samples in photo format, however the photo's are not being recognized when I print them out and scan them.
Next, I would like to try to import the photos and use those as my background, to then see if it would recognize the barcode.
I am using ZXing.Net.Mobile and .Forms extension. Is there any file, or code I can implement to point to a filepath and then load that image as my background?
Thanks for any answers or suggestions.
If photos are not recognized than it must be something wrong with your code. I don't see a point to test this this way. In your application it wont work anyways. ZXing.Net.Mobile uses camera to intercept frames and decode them in real time to match qr code pattern.
I am a newbie to adobe Experience Manager (AEM)V6.2 and we are implementing QR code. I am able to generate QR code using the option Menu--> Insert --> Barcodes --> QR Code.
I need the QR code generated at the specific size(1.75in) but the generated QR code doesn't expand with mouse drag on the layout.
I had attached the image from the designer tool. I just want to get rid of some white space around QR code and expand it to the frame.
From some google references, i tried to modify the xml source in the below line
field name="QR_CODE_DATA" y="107.4mm" x="148.65mm" w="63.5mm"
h="63.5mm" access="readOnly">
barcode type="QRCode" dataLength="50" moduleWidth="0.0167in"
moduleHeight="0.0167in"
On any change in moduleWidth and moduleHeight, QR getting messed up
Can anyone help on how the size of the code can be modified? Thanks in advance.
QR
Finally figured it out. There is a ratio between the outer frame and QR code which must be maintained. If not, the Designer tool preview may show us the output but not in the real time.
As the question indicates, how can I take a image into account and scan it using QR scanner, Image is received form backend, practically i can return the image in any format to my app, So i thought i will send the image in base64, But question arises, is how to covert that image in any way to make it possible to QR scan it,
So i break down it into two parts,
Saving the received image.
Taking that image and QR scan it.
Searched a lot but all the libraries are pointing towards scanning the QR using camera.
How can I achieve this two parts, Basically am asking for suggestions,
Any kind of help will be greatly appreciated.
Thanks in advance.
I already finished a simple QR Code apps by using ZBarCode library. I can scan the QR Code and capture the data back to my custom view.
I also can add a subview on Scanner view but that is just a layer and I would like to make a "auto focus" box like a red rectangle will blink when focused the QR Code and capture with SOUND.
It seems ZBarCode is not able to make an auto focus effect and capture with sound, is it something I missed or it's the limitation? If so, does any other QRCode library can do auto focus and capture with sound effect?
Thank you very much for any help!
The ZXing open source library can do that. It is available in an IOS flavor. http://code.google.com/p/zxing/
Ok, so i am having a problem, where i developed an app that uses the webcam, adds an image and then takes a picture, well, i implemented textbook style the printjob, and well everytime after printing my swf goes blank.
As3 printing problem, blanks swf after print or cancel
But now i have been continuing testing, and i found out, that if i print from another application and then comeback, my video stream from the webcam is blank, this has no sense at all, since i am printing from another app.
Please i need help with this, i have found one additional case:
http://board.flashkit.com/board/showthread.php?t=781089
What is going on here i mean, this must be a flash player issue right.
I'm not sure that I completely understand your question but have you tried setting up a crossdomain policy file so you can get access the BitmapData of the image you're trying to print?