07-02-2007 2:48 PM
Hi,
We have JPEG files (pictures) stored in Custom Z table (Cluster table). We would like to know how to print these files from SAP on to a certain printer.
We know that it is not possible to convert JPEG to BMP within SAP and print using SAPScript OR SmartForms.
We want to find out if there is any print command to print these files to SAP printer ?
Any help is appreciated.
Niranjan
07-02-2007 3:03 PM
Hi,
You convert jpeg to .tif format.
You have to upload the picture as .TIF in Sap using ABAP RSTXLDMC and have also add the statement
/: INCLUDE ZHEX-SAMPLE-PICTURE OBJECT TEXT ID ST LANGUAGE EN
in your SapScript but the problem is that in print preview it's not displaying the picture.
It is normal that the picture doesn't show in print preview and you will be able to see the object only after printing.
Don't let this bother you as long as the picture is shown on the hardcopy printout.
Regards,
Bhaskar
07-02-2007 5:51 PM
Hi Bhaskar,
I think you did not understand my question properly.
Thanks for the reply. I know about tiff or bmp. We have about 4000 jpeg files that get uploaded every month into SAP. We cannot manually save them into Tiff or Bmp and save them again. Is there a way just to print JPEG files from SAP ?
Niranjan
07-02-2007 6:26 PM
07-02-2007 8:40 PM
Hi Gregory,
I had checked this tcode earlier. However, I don't see any 'Print' jpeg or any other file functionality here. What SAP might be doing here is, allow upload of any document like excel, word or pic files (jpeg, gihf, bmp) and so on and just display.
I am interested in printing functionality without usng SAP Script OR Smartforms, because, when we get into it, we have to talk only TIF or BMP as JPGs are not supported.
Niranjan