Need a variable printer name for DOS/Windows filePro

Richard D. Williams richard at appgrp.net
Sat Mar 30 11:35:45 PDT 2013


Top Post.

That is why I did not include them using the mid command.

I could have used an edit I call nocolon        { !":"! | * }

Richard

On 3/29/2013 3:52 PM, Richard Kreiss wrote:
> Top post.
>
> Windows may burp on the colons in @tm.
>
> Richard
> Sent from my iPhone
>
> On Mar 29, 2013, at 4:21 PM, "Richard D. Williams" <richard at appgrp.net> wrote:
>
>> Mike,
>>
>> Try this.
>>
>> if  : fa eq ""
>> then:
>> dd(8,yymd)=@TD;tm(6)""{mid(@TM,"1","2"){mid(@TM,"4","2"){mid(@TM,"7","2");fa(50,,g)="/appl/fpmerge/"{dd{tm;printer
>> file (fa)
>>
>>
>> Don't forget to issue the printer reset command when you are done. i.e
>>
>> @DONE if:
>>                then: printer reset
>>
>> Hope this helps,
>>
>> Richard
>>
>>
>>
>> On 3/29/2013 8:28 AM, Mike Schwartz wrote:
>>>       In define printers for the Windows version of filePro 5.0.14 running on Windows 7 (no Unix involved), in Define Printers, is there any way to create a unique output file name based on %TIME% or some other Windows system variable?
>>>
>>>                     ┌───────────────────────────────────────┐           5.0.14DN9
>>>                     │ P R I N T E R   M A I N T E N A N C E                                   │
>>>                     └───────────────────────────────────────┘
>>>       --Name--  --Type--  --Destination File---            ------------Comment------------
>>>     1 USB      ◄ DUMB         ◄ WIN:Dell968                               ◄ Laser Printer                  ◄
>>>     2 prn       ◄ PAN1695    ◄ LPT1                                           ◄ Panasonic Printer              ◄
>>> *  3 file_it ◄ NOCODES  ◄ print\PrintThis%time%> Send the output to a file      ◄
>>>
>>> Thanks,
>>>
>>> Mike Schwartz
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>
>



More information about the Filepro-list mailing list