Forum Discussion

jaimailbox's avatar
jaimailbox
Copper Contributor
Nov 09, 2024

How to mark a print job as completed in universal print with virtual printer

With graph API, I am able to register a virtual printer in universal print. When a job is submitted it is marked as paused. I am able to download the pdf attached to the print job and set the task to completed. After task is completed, the job gets a new status as pending.

I am not able to figure out how to mark the job as completed after downloading it. I do not want to print the job in real. Only thing we want is to download and save the pdf and mark the job as completed.

Resources