Does anybody have any other suggestions?
I cannot follow Clemens advice because ADS package is not available in my case.
As I mentioned I am able to get binary content of PDF file using function SO_DOCUMENT_READ_API1.
Afterwards applying one of the functionsoperating with thespoolseems to bethe right solution.
I tested three of them:
RSPO_SR_TABLE_WRITE_BINARY
RSPO_SR_WRITE_BINARY
RSPO_WRITE_SPOOLREQUEST
but with no success.
Likely due to the fact that binary content of PDF file must be converted to data understandable by printer.
Does anybody know how to achieve that goal?