Highlighted
Absent Member.
Absent Member.
426 views

[archive] Printing Graphic .BMP or .JPG

[Migrated content. Thread originally posted on 22 March 2006]

Has anyone out there used a .bmp or .jpg to print as a background image ?

I am having a small problem where the image is in color, when printed to a color printer the color comes out in gray tones.

However when printing to a pdf driver the color appears.

The process I currently using is to first write the image to the printer, then setting transparancy on, then printing a line.

Any ideas.

Thanks.
0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

RE: [archive] Printing Graphic .BMP or .JPG

Information for anyone interested.

Using "WINPRINT-NAMES-ONLY" to "1" in the config file, is used to get printers list very fast, and it does exactly that it only gets enough information to print, so, any extened flags introduced in 5.2 are missing, so the flags for WINPRINT-COLOR and WINPRINT-CURR-COLOR in WINPRINT-SELECTION were not getting set properly.

Changing the "WINPRINT-NAMES-ONLY" to "0" in the envirornment, then issuing a WINPRINT-GET-CURRENT-INFO-EX, first then issuing a WINPRINT-SET-PRINTER-EX will then print the .bmp or .jpg in color, remember to reset "WINPRINT-NAMES-ONLY" TO "1", so the next time you get the printers list it will respond quickly.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.