question

ashwinipatil avatar image
ashwinipatil asked David Marginian Deactivated edited

How to know paper is not availabe for printing programatically?

How to access Out of paper system message programatically

Print
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated edited

If you have a print job id you can poll for status - https://community.clover.com/questions/959/how-can-i-be-notified-of-a-failed-print-attempt.html. I am not certain you will be able to distinguish an out of paper error from another error though.

2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Not able to open above given link. getting "Page not found" message.

Also I am using

new TextPrintJob.Builder().text() 

Method so please let me know how to get print job id in detail.

Thank you

0 Likes 0 ·

I fixed the link.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community