Printer selection

Kenneth Brody kenbrody at spamcop.net
Wed Dec 22 13:46:16 PST 2010


On 12/22/2010 4:17 PM, 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?

I assume you mean via a SYSTEM command is used to "kick off the second 
report"?  It will only use the printer you selected if you pass that printer 
info on the command line.

>> <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.

Question:

Where will filePro send the output if you pass, for example, "-p hplaser"?

-- 
Kenneth Brody


More information about the Filepro-list mailing list