Is the SETPTR set to send any data "NOW", or will it be buffered until you close the program?
If it's buffered, then you sending the logo, then the UV data instead of sandwiching the logo between the UV data. Try this: write the preceeding part of the UV data to /tmp/filea.pcl write the trailing part of the uv data to /tmp/filea.pcl then try: (cat /tmp/filea.pcl ; cat /area1/dh.temp/M100_3Logo.pcl ; cat /tmp/fileb.pcl) | lp -d PR33 If that works, then it's the sandwiching issue. George > -----Original Message----- > From: [email protected] [mailto:owner-u2- > [email protected]] On Behalf Of David Hoover > Sent: Wednesday, May 20, 2009 1:05 PM > To: [email protected] > Subject: [U2] PCL problem on U2 > > I am trying to place a logo that is stored at > /area1/dh.temp/M100_3Logo.pcl > on a form that I am creating in PCL5. I have no problem with the > shading, > boxes, or data. I am having a problem getting the logo to be printed. > > > > Base information: > > > > OS - RedHat Linux > > Running U2 > > Printer is IBM InfoPrint 1464 Color > > Logo file original name: 3Logo.jpg > > After running thru IPX20xx converter from IBM: M100_3Logo.pcl > > (Set this up as Macro 100) > > > > Here's the code that I am currently trying to work with: > > 0001: EXECUTE 'SETPTR 11,,,,,, NHEAD, FORM IBM, AT PR33' > > 0002: PRINTER ON > > 0003: * > > 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" > > 0016: PRINTER OFF > > 0017: END > > > > Thanks in advance for any and all help you can offer. > > > > David Hoover > > Illinois Lock > > (847) 537-1800 x293 > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
