Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

PC_PRINTER_LOAD_BMP with JPG files

$
0
0

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,


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>