All of the other comments look right on. In addition to reworking to those suggestions, I'm also thinking there is a CRLF at the end of each of your lines which may affect processing of the commands. I'd build the entire string and then output with a single PRINT. I haven't touched this stuff in years, sorry if it's correct.
Having said that, I'd rather stick an ice pick in my eye than write PCL. There are many tools available where you can just use an HTML-like image tag, and as time permits I recommend you look into them: <img src="/area1/.../Logo.gif" /> HTH Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com Nebula R&D sells mv.NET and other Pick/MultiValue products worldwide, and provides related development services Visit PickWiki.com! Contribute! > 0004: PRINT ON 11 CHAR(27):"E" > 0005: PRINT ON 11 CHAR(27):"&f100Y" > 0006: PRINT ON 11 CHAR(27):"&f0X" > 0007: PRINT ON 11 CHAR(27):"&a540h780V" > 0008: PRINT ON 11 CHAR(27):"*t300R" > 0009: PRINT ON 11 CHAR(27):"*r100A" > 0010: EXECUTE "SH -c 'lp -d PR33 /area1/dh.temp/M100_3Logo.pcl'" > 0011: PRINT ON 11 CHAR(27):"*rC" > 0012: PRINT ON 11 CHAR(27):"&f100X" > 0013: PRINT ON 11 CHAR(27):"&f4X" > 0014: PRINT ON 11 "THIS IS A TEST OF THE MACRO" > 0015: PRINT ON 11 CHAR(27):"E" ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/