Also, whip out your hex editor and make sure the PCL is in the correct
format.  I've had to do that even when using the converter.  Let us
know how you finally get it to work.

On Wed, May 20, 2009 at 2:29 PM, Colin Alfke <alfke...@hotmail.com> wrote:
> David;
>
>
>
> It looks like you're missing the point of the macro - simply load it into the
> printer once and print multiple times. Your converter may allow you to load it
> to the printer, otherwise you actually copy it to the printer (not print it).
> Under Windows we simply:
>
>
>
> EXECUTE "!COPY /B \UD\LOGOS\LOGO.MAC \\UNCPathToPrinter"
>
>
>
> Sorry, not sure of the Linux syntax. It only needs to be done when the printer
> is powered off an loses the macro so you can do it from a screen etc. Although
> we have one very distributed site that preferred we send the macro before the
> print job to make sure it was there.
>
>
>
> In your code you simply do a:
>
>
>
> PRINT CHAR(27):'&f':LOGONUM:'y2X'
>
>
>
> to print the logo. This simply specifies and executes the macro.
>
>
>
> hth
>
> Colin Alfke
>
> Calgary, Canada
>
>
>> From: David Hoover
>>
>> 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
>
> _________________________________________________________________
> Create a cool, new character for your Windows Live  Messenger.
> http://go.microsoft.com/?linkid=9656621
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to