PC_PRINTER_LOAD_BMP with JPG files

Hi,

We are using PC_PRINTER_LOAD_BMP Cobol routine to print BPM files, but according with the documentation this routine also support others file types like BMP, GIF, EXIF, JPG, PNG and TIFF.
So we try to print a JPG file but always we get the return code 18 (Failed to load bitmap)

Has anyone been able to print another type of file?

call "PC_PRINTER_LOAD_BMP" using printer-handle
                             by reference "mflogo.jpg" & x"0"
                             by reference bmp-id
                           returning  printer-retcode.

We are using Visual Cobol for Eclipse 2.3 Update 2 Hotfix 1

thanks,

Parents Reply Children
No Data