Printer selection

Richard Kreiss rkreiss at verizon.net
Wed Dec 22 13:17:52 PST 2010



> -----Original Message-----
> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
> [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On
> Behalf Of Walter Vaughan
> Sent: Wednesday, December 22, 2010 4:03 PM
> To: filePro
> Subject: Re: Printer selection
> 
> Richard Kreiss wrote:
> 
> >If one has -pq on the command line allowing a user to select a printer
> >when the report runs, and a second report is kicked off at @done, will
> >that report be printed to the printer selected at the start?
> >
> <mode=voice_of_kb>
> What happened when <b>you</b> tried it?
> </mode>
> 
> :-)

1. Found that @pr hold the current printer.

2. If I do a system command with the -p option set, the report doesn't
print.  Remove the -p option and it prints.
	Pr="\""{@pr{"\""
	Sz="-r"{sl and other variable to be passed to sel_new
	
	Sy=dreport foobar -f new_report -v sel_new -a -id"<sz<"-p"<pr  (no
-p and the report prints.

I checked @pr after removing the -p option in sel_new and it was the
previously selected printer.

Richard
	






More information about the Filepro-list mailing list