‎2013 May 01 12:11 PM
Hi All,
I have a requirement for printing binary data.
Complete requirement was:
- upload a scanned image in AL11
- Read the image from AL11 file and print the same.
Approach we followed:
- Uploaded a PDF scanned image in AL11
- Read the AL11 file in binary format
- converted the Xstring file to binary format using FM SCMS_XSTRING_TO_BINARY
- the binary data am having in the internal table when I download to desktop with .PDF extension it is down loaded in proper format
- The same data I am sending to the spool using the FM RSPO_SR_OPEN and processing the spool write using standard program subroutines but I am not able to print the spool (junk charecter's are printed while spool is printed).
Please help me with the parameters to be passed to the spool FM to get the data in the correct format, so that I will be able to print the spool for the image.
Thanks in Advance,
Raksha
‎2013 May 01 2:53 PM
hello,
did you read the device parameters before writing the spool using FM 'RSPO_SR_OPEN" ?
you need to do that using FM's
RSPO_LIST_TRAYS_FOR_DEVICE
RSPO_MAP_PAGEFMT_FOR_TYPE
SAPSCRIPT_MESSAGE_DEF
Then use that information in the FM 'RSPO_SR_OPEN'.
best regards,
swanand
‎2013 May 01 3:34 PM
Hi Swanand,
Can you provide teh parameters you are passing to the FM. Am trying to check it in the system, but as the target is very close, it would be helpful if can provide me the parameters for these FMs if you have already used.
Thanks in advance,
Raksha