Try changing the AutoPrint from “Immediate” to “Queued”. If that still generates an error, it is likely a Session Variable that is not being initialized via REST - WorkstationID (Client machine reference not Shop Floor) is used in Reporting and may be the culprit.