I'm developing an application in J2ME using NetBeans, here I'm working on a task, printing the receipts with image logo on the top of the receipt.
To print so we are using Bluetooth handheld printers.
With the help of Bluetooth, I'm connecting to the printer and I'm able to print the text in the desired format.
In case of printing the logo image, I'm unable to read it.
Can you please guide me how to read the image file and sent to the printer in byte array and character array.
Related
can someone please guide me how we can print barcodes which upon scan should read the number hookup to it. we have tried with code39 which prints the barcode but scanner is not identifying the number hookup up to it, we also tried with code128 which show barcode with red cross lines.
Thanks.
If you can't scan, the problem is within the scanner not with the barcode. Scanners come with configuration procedures so you can configure the code the scanner will use.
In doubt I'd recommend to go with Code 128 as most scanner support both 39/128 and 128 has support for more special characters like '*'.
To use Acumatica report designer to generate the barcodes.
Place a PictureBox control in the report
Set Barcode->Source property to Barcode
Use Barcode->BarcodeType to select the code used and in Barcode->Value you can put a formula/field/constant for the barcode value.
As for the red cross lines, my guess is that your controls are overlapping. Check that your controls are not placed on top of each other in the report designer. Also if the barcode is too long to fit in the control size it will display red cross. Try making the control wider or reducing BarWidth property to make it fit in the picture control container.
to a Brother Label Printer from the browser
I want to print labels to Brother Label Printer from a web browser. I know DYMO has a JavaScript framework that makes printing from the browser simple. But I have customers with a Brother label printer so I need to make it work.
So with Google Chrome as it doesn't seem to print header and footers. I have installed the printer/drivers in my laptop and created a custom paper size which measures 62 mmx 100mm.But the labels text is not so clear.I am getting blur text ,can anyone please help on this ,is there any settings in custom paper to get clear print
Are you trying to print as you would with a "normal" printer? Because brother has an SDK just like Dymo has. You could use it to directly print from your application to the brother. This would also make it possible to use printer functions like cutting labels after printing.
Here is the link to the FAQ: http://www.brother.com/product/dev/faq/bpac/programming/index.htm
Here is a PDF which explains printing from a webapplication:
http://download.brother.com/pub/com/dev/pdf/bpac_webapplication_eng.pdf
I don't know which programming language you are using, but I am still looking for a good Javascript and/or PHP solution. But above resources should be a good start for you.
I'm currently working on an app in Android Studio where I need to capture an image using the camera on the phone. The image must be very specific and not contain any background noise.
The way I want to solve this problem is by adding a box to the camera preview indicating the region of interest (ROI). After that the image can be cropped in a way that only the content of the ROI is present.
How do I add this box to define ROI?
In my mind it would be perfect if it was a thin white line.
Can I do it if I use the Image Capture Intent or do I have to create my own camera app?
Check this out - is that what you're after?
http://code.tutsplus.com/tutorials/capture-and-crop-an-image-with-the-device-camera--mobile-11458
I´m trying to put a default logo to this mobile printer (Zonerich AB-320M) http://www.zonerich.com/english/ab-320m.htm , I mean we need that everytime we send to print, the printer itselfs print the content with a default logo at the top of the page... I already have a J2ME app that print but I cannot set a default image... is this possible or I'm wasting my time...
[UPDATE]
Hi Guys I finally found how to do this, I have to write to zonerich and they give me an app that download a BMP image to the printer memory, and them with this HEX command we select the image logo and it works...
1C 70 i 30 where "i" is the position on memory of the logo.
[UPDATE]
Hi Guys I finally found how to do this, I have to write to zonerich and they give me an app that download a BMP image to the printer memory, and them with this HEX command we select the image logo and it works...
1C 70 i 30 where "i" is the position on memory of the logo.
If there is any Farsi characters in Adobe flashes on websites; they show reversed and separated such as bellow screenshot that takes from facebook video player in firefox :
alt text http://i.imagehost.org/0476/Screenshot.png
found something that shows this problem is from flash text engine (here).
but Adobe has just presented reformed text layout framework for flex and flash 10 that is for developer side not for us as an end-user.
What could we do as end-users to correct this issue?
Thanks in advance