Create a PCL macro file to program a macro into a HP Laserjet printer Any image file that ImageMagick's 'convert' program can convert into postscript can be used. The resulting macro file should be sent to the printer each time you need to print the image to ensure that the macro is there since it will be lost during a power cycle or if another macro with the same ID is sent to the printer. In an Informix 4GL program you would send the macro file to the printer using the 4GL 'run' command anywhere in the 4GL program before the report prints: run "lp -o raw macro.pcl" Then to print the image you must call the macro in the 4GL report function print ascii 27, "&f14Y", # Specify printer macro ID number 14 ascii 27, "&f4X" # Overlay last specified macro ID See the PCL reference manual, macros chapter, for help: http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13210/bpl13210.pdf Usage: img2mac [options ...] [-o output filename] file Options -i Macro ID number, range (0 - 32767) -v Vertical position in PCL decipoints -h Horizontal position in PCL decipoints -s Resize image, value is a percent of original size -o Output filename EXAMPLE img2mac -i 5 -v 6400 -h 3500 -s 75 -o macro.pcl signature.png