Skip to main content

Search

Search

Printing via REST API: expecting a bad response if printer is disconnected

Comments

2 comments

  • Avatar
    S1mhall

    were you interrogating the job with a GET request after the initial POST?  Apparently job activity in the system remain in the system for 60 minutes, so you can to a GET with the generated ID of the original job to determine the status....  

    If for some reason you need to not print it before the printer come back online then, (I assuming) you would need to determine all the jobs that are in the state waiting that you want to cancel and use a PATCH to kill them.

     

    0
  • Avatar
    Ken Barron

    Yep same issue here

    The automation isn't that useful if passing the request to the spool is enough to return a RanToCompletion status

    I need to make sure that an out of paper error isnt going to mess up our production line, but as far as i can see there is no way to detect that via API - I might try and workaround using seagull status monitor to create a change database entry event and then make an SQL query to that database entry, but its a very clunky solution

    0

Please sign in to leave a comment.