Is there a way to send a print task to an IPP-enabled network printer using http?

2.4k views Asked by At

I'm working on an Android print service application which is supposed to allow the user to do the following: browse through the phone's internal storage and send the selected file to an IPP-enabled printer to print.

I've combed the net for the past few days, but i've only found one solution [How to use ipp(Internet Printing Protocol) with HTTP to print file in android? that somewhat makes sense to me. However, i've no idea how to go on from here on, besides knowing that a http put request must be made to the printer's url. Any help? Thanks

Note: the Google Cloud Print is NOT an option for me.

1

There are 1 answers

3
IPP Nerd On

As starting point you should

Update 2023

With ipp-client you can submit PDFs to IPP network printers from Android:

IppPrinter("ipp://colorjet.local")
   .printJob(File("my.pdf"), documentFormat("application/pdf"))
   .waitForTermination()

If the printer does not support PDF you need to transform the document into a format supported by the printer.