Need a variable printer name for DOS/Windows filePro
Richard Kreiss
rkreiss at gccconsulting.net
Mon Apr 1 10:12:16 PDT 2013
> -----Original Message-----
> From: Richard D. Williams [mailto:richard at appgrp.net]
> Sent: Saturday, March 30, 2013 2:36 PM
> To: Richard Kreiss
> Cc: filepro-list at lists.celestial.com
> Subject: Re: Need a variable printer name for DOS/Windows filePro
>
> Top Post.
>
> That is why I did not include them using the mid command.
>
> I could have used an edit I call nocolon { !":"! | * }
>
> Richard
Or one could :
Tm=xlate(@tm,":","") to remove the colons.
Richard Kreiss
>
> 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