We have a archive database and the tiff/pdf image is retrieved using the function module ARCHIVOBJECT_GET_TABLE. The image retrieved is converted as attachment and sent through email OR displayed in web page with the help of BSP application. No issues in this.
My current requirement is to automatically print the archived document. Using the above function module I can fetch the data from archive database. The output from this FM is in binary format. Pl suggest how this can be sent to a printer for printing (execution of the program to retrive / print will be a background job!).