Different Logo files

Richard D. Williams richard at appgrp.net
Mon Jan 16 11:04:28 PST 2012


On 1/16/2012 12:06 PM, Scott Walker wrote:
>> -----Original Message-----
>> From: filepro-list-
>> bounces+scottwalker=ramsystemscorp.com at lists.celestial.com
>> [mailto:filepro-list-
>> bounces+scottwalker=ramsystemscorp.com at lists.celestial.com] On Behalf Of
>> Jim Asman
>> Sent: Saturday, January 14, 2012 4:27 PM
>> To: filepro-list at lists.celestial.com
>> Subject: Re: Different Logo files
>>
>> --------------- Original Message ---------------
>> At 03:25P Sat Jan 14 2012, Scott Walker wrote:
>>
>>> I have an invoice form that I download a logo onto using a print code
>> (on
>>> the output format) that specifies the file to include.  Works fine.
>>>
>>> Now I want to be able to use different files for different invoices
>> (based
>>> on the company# field) in the same report run.  What's the best way to
>>> accomplish this within fp?
>>>
> Jim said:
>
>> Simple...
>>
>> Combine all logos into a single file, each with a unique macro ID, and
>> download them to the printer in the form init. Then when the records are
>> processed, "call" the appropriate macro based on the company info.
>>
>>
> Jim,
>
> Thanks for the idea...simple.....for you!  I really wanted to keep this on
> the fp side, if possible, to keep it as transportable as possible.
>
> Maybe there is a way to stuff a print code in a dummy variable.  I'll play
> around with it tomorrow.
>
> Regards,
>
> Scott
>
>> Jim
>> --
>> jlasman at telus.net                      Spectra Colour Services Ltd.
>> Jim Asman                              10221 144a Street
>> Phone: (604)584-0977                   Surrey, BC  V3R 3P7   CANADA
>>   Cell: (604)619-0977                   www.spectracolorservices.com
>>
>> _______________________________________________
>> Filepro-list mailing list
>> Filepro-list at lists.celestial.com
>> Subscribe/Unsubscribe/Subscription Changes
>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
>
Scott,

I had the same issue and I used the PFDLDIR env var to point my code to 
a different pcl file.

Example;

Your pcl file is call "logo.pcl" and it presently resides in 
/appl/fpmerge/LOGO.
Create a pcl of the second logo and call it log.pcl, but store it 
in/appl/fpmerge/LOGO2.

when you want ot use the first logo use putenv 
"PFDLDIR","/appl/fpmerge/LOGO" and when your "logo" is called filepro 
will look there for the pcl file.
when you want to use the second logo, simply ponit PFDLDIR to the other 
folder.

It works.  The only requirement filepro has is that the pcl file name 
being called with the print code is the same name.
It does not care where you store it if you change the PFDLDIR.

Simply, yes?

Richard D. Williams



More information about the Filepro-list mailing list