In message <e8209a9427264095bc3fe78d6908d...@it3>, David Hoover <[email protected]> writes
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"

Okay, this is setting up your print job ...

0010:       EXECUTE "SH -c 'lp -d PR33 /area1/dh.temp/M100_3Logo.pcl'"

This is sending the logo as a DIFFERENT print job. That's your problem.
I'm not sure how you'll fix this, but you need to read the logo file into U2, and then dump it to your print job without the binary getting corrupted.

The other way to do it (I'm pretty sure it's possible but I've never done it) is to download the logo to the printer as a logo or font or whatever, then have a code in your print job to print the prestored logo.

Cheers,
Wol
--
Anthony W. Youngman <[email protected]>
'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the
thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man
lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998
Visit the MaVerick web-site - <http://www.maverick-dbms.org> Open Source Pick
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to