iOS printing with IPP Printer - ios

Currently, I can search my printer with Bonjour/SNMP protocol by
NSNetServiceBrowser
NSNetService
Now I want to print my document by IPP protocol.
Could you please tell me way to print with IPP in iOS?

Usually iOS Apps don't care about the printer protocol. It's sufficient to use Apples AirPrint focused Print-API. I can't see how UIPrinter would expose details like IPP connections through the API.
If you don't want to use Apples API for printing, you should implement IPP. A good start could be to look at my simple print-job implementation written in java. I'd be happy to assist in porting this to Swift of Objectiv C.

Actually iOS applications doesn't bothered about printing protocols.We can print images and other documents using apples AirPrint. The steps for printing from iOS device described below.
1.Connect our device and printer in the same network.
2.select an image/document for printing.
3.select the printer from network.
4.Give print
We can give print from gallery,chrome etc and other printing applications.In android we need print plugins for printing(eg:Mopria, a universal print plugin).
But in iOS we don't need the support of any plugins, i think.

Related

Can I able to connect and print from multiple iPhone to a single AirPrint printers?

Hi currently I'm working on an iOS swift application, which needs to print invoices. And I'm planning to use Apples AirPrint technology, but I don't know which of the receipt printers are supporting AirPrint technology. So I have two questions,
Can I get a list of receipt printers(only) that support Apple's AirPrint technology to purchase for my application?
Also can I able to connect and take prints from multiple iPhones to one single printer using AirPrint? Eg: Suppose it's a supermarket and each salesperson has an iOS app, and one centralized AirPrint supported printer, and all should have to print the invoices with that one printer. Is that possible?
Please help me. I got the complete list of AirPrint supported printers from the list, https://support.apple.com/en-ae/HT201311. I don't know in this list which all are receipt printers.

Finding printers that work with Web Bluetooth

I would like to print to thermal receipt and label printers through the web (PWA) on Android devices.
In this page you can see some example code:
https://github.com/WebBluetoothCG/demos/blob/gh-pages/bluetooth-printer/index.html
Is it possible to print to "any" bluetooth enabled thermal printer or is there some process to determine which bluetooth receipt and label printers are compatible.
My worry is that some printers will only work with provided sdk's that are only written for java/objective-c/swift.
Unfortunately from what I have seen it takes a bit of investigation into an individual model of thermal printer to figure out whether it supports Bluetooth LE (as opposed to Bluetooth Classic) and to learn what dialect of printer control language it speaks (ESC/POS, ZPL, etc.). I recommend asking the manufacturer for detailed documentation (in case you have to build your own library) and letting them know that you are looking for something you can interface with using Web Bluetooth. If enough customers ask for it maybe they'll start advertising compatibility and even produce SDKs.

Print web page using printerprovider APIs in chrome extension

I am developing chrome extension using printerProvider APIs to print a webpage loaded in the browser.
I have added a new printer using onGetPrintersRequested() & onGetCapabilityRequested() APIs in my extension. I have not installed printer drivers of this printer on my local system.
My understanding from reading API documentation and other references is, using onPrintRequested() and providing printJob info, job (contents of web page) can be sent to the printer I added in my extension.
My question is, how does job reach the printer? Should I write some code to actually send the job to printer? OR is it automatically handled by the chrome APIs OR soes it use any default driver?
Basically my question is, how is printing handled by chrome extension if it is not using any printer drivers or cloud ready printers?
Thanks in advance.
You need to handle the printing yourself. The onPrintRequested event gives you data about the print request. You should then call the result callback with the status. To communicate with the printer, there are a number of app APIs. If you need to communicate with a printer from an extension, you will need to use a companion app and messaging.

Is it possible to connect thermal receipt printer to Google Open print?

I am looking at connecting a thermal receipt printer to Google Open Print, is this possible? and if so are you aware of any thermal printers that I can purchase?
The reason for the above is that I have a takeaway shop with an online store. When an order is placed the order then gets printed on an A4 Injet printer. This is wasting me lots of paper and ink, Ideally I'd like it do be done with a thermal printer. I know the website can work with this I just need to make sure I can get a thermal printer to work with Google Open print.
In the end I used the Espon TM88V Receipt printer. Once it was installed on a computer and working any printer can be added to Google Print. Please know that the printer I choose was a nightmare to get a driver for an up to date OS such as Windows 7 & 8. This printer was only supported for XP from my research but after trying all drivers for old OS's it worked. There are now drivers being made by others to support newer OS's.
There are a lot thermal receipt printers available in the market. EPSON is provides standard reciept pritners which are very good.
You can opt for TMT88 series which are pretty good.
But not sure about the google open print.

Using barcode scanner (like Grabba) from with-in my iOS application

My objective is simple: Read the data from a barcode scanner.
I know that there's an option for scanning the barcode using camera, but in my experience the results are not very accurate in less than ideal situation i.e. bad lighting. So, I'm exploring if an external device can be easily connected with the iPhone/iPad and which can provide the barcode data just like an external keyboard.
So, can I read the barcode, which is scanned using an external device? If so, can I do it without writing any code, or will I have to specifically add some kind of support in my application?
Answer
Any iOS compatible Bluetooth scanner that supports HID mode. For instance, any Socket CHS. Once connected, it will behave exactly as you said "just like an external keyboard".
HID vs SDK
HID: Using any scanner as a keyboard, you are limited to inputting scanned data into open input fields where the user can modify the scanned data and there are limited options for post-processing and validation.
Because the scanner appears to iOS as a keyboard, iOS hides the onscreen keyboard - which makes sense... if the scanner were an actual keyboard. Some scanners (incl. Socket CHS 7Ci & 7Xi) provide a mechanism to force the keyboard (On our CHS double-click the power button) or the app can force the keyboard (see: related stackoverflow questions)
SDK: Developing an app using the SDK provides a more robust setup and handles more complex use cases: Scan into the application even if an input field is not active, enforce a particular scan order (Scan a UPC followed by a VIN number, not vice versa), or parse the scanned data (Breaking a timedate stamp into year, month, day, time).
Conclusion: Personally, I'd use HID mode as a quick and dirty way to get started, but would switch to the SDK for the final product. Obviously, it depends on how much control you need/want.
Disclaimer: I work for Socket Mobile
You can download the demo from the link
http://www.datecs.bg/en/products/Linea-Pro-iPhone-SDK/8/102
Just run LineaDemo after unzip it. It's scanning using Linea Pro Scanner[External device]

Resources