Print to IPP printer using ExternalReportWSSService
I am trying to print a pdf report using ExternalReportWSSService web service. The printer is configured correctly and I am able to print from BIP console, when using web service I am getting the error "Printer Delivery Status: Failed: invalid request, Code=16".
The soap envelope is as below. Note that I have truncated the documentData element.
<pub:deliveryService> <pub:deliveryRequest> <pub:contentType>application/pdf</pub:contentType> <pub:documentData>JVBERi0xLjYNCjUgMCBv</pub:documentData> <pub:printOption> <pub:printNumberOfCopy></pub:printNumberOfCopy> <pub:printOrientation></pub:printOrientation> <pub:printRange></pub:printRange> <pub:printSide></pub:printSide> <pub:printTray></pub:printTray> <pub:printerName>PPI-OFF-320-246-O</pub:printerName> </pub:printOption> </pub:deliveryRequest> </pub:deliveryService>
Tagged:
0