Web socket notifications node.js

Hello , thank you for the super work thats been done here !!

A quick question , Im getting the printer info from the Web Socket via node.js and its working quite well. The only thing that I can not figure is if the server is sending a notification of when a print is done. I know you can get the progress via the "listPrinter" command but does the server also send a "Print Done" via web socket similar to the LCD message. 

Best regards

Paul

Comments

  • Sure see events section in web api description:

    jobFinished (0.60.2)

    Payload: {start:unixTime,duration:seconds,end:unixTime,lines:linesOfJob}

    Gets send after a normal job has finished.

    jobKilled (0.60.2)

    Payload: {start:unixTime,duration:seconds,end:unixTime,lines:linesOfJob}

    Gets send after a normal job has been killed.

    jobStarted (0.60.2)

    Payload: {start:unixTime}

    Gets send after a normal job has been started.

Sign In or Register to comment.