• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
HP Recommended
iOS 11 - 11.4.1

I'm currently developing an iOS app to directly connect to my HP sprocket printer but I'm stuck with the bluetooth data I have to send to the printer.

 

My phone and my app correctly pair with the printer but when I send the encoded jpeg file to the printer nothing happens (no printing, no error code from bluetooth return)...

 

I encode my image with:

let imageData = UIImageJPEGRepresentation(myUIImage, 1.0)

And send the file using iOS ExternalAccessory framework:

imageData.withUnsafeBytes { outputStream.write($0, maxLength: imageData.count) }

Do I have to send a specific code before or with image data?

 

Has anyone developed a custom app for this printer (or a similar one)?

 

I have read that a Windows computer connected with bluetooth to the sprocket can print just by sending jpeg or png files, I try to reproduce that with my iOS app.

Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.