Wol stated:
"This is sending the logo as a DIFFERENT print job. That's your problem."
You can use the OPEN option in SETPTR to accumulate multiple print jobs into
the same print file before closing the print file.
hth,
Dave
Dave Taylor
Sysmark Information Systems, Inc.
Authorized IBM Business Partner
49 Aspen Way
Rolling Hills Estates, CA 90274
(O) 800-SYSMARK (800-797-6275)
(F) 310-377-3550
(C) 310-561-5200
www.sysmarkinfo.com
Home of SpoolerPlus
----- Original Message -----
From: "Anthony W. Youngman" <[email protected]>
To: <[email protected]>
Sent: Wednesday, May 20, 2009 11:23 AM
Subject: Re: [U2] PCL problem on U2
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/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/