Printer selection
Richard Kreiss
rkreiss at verizon.net
Wed Dec 22 14:13:12 PST 2010
> -----Original Message-----
> From: Kenneth Brody [mailto:kenbrody at spamcop.net]
> Sent: Wednesday, December 22, 2010 4:46 PM
> To: Richard Kreiss
> Cc: 'filePro'
> Subject: Re: Printer selection
>
> 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.
Set the printer Pr="\""{@pr{"\""
1. Sy=dreport foobar -f new_report -v sel_new -a -id"<sz<"-p"<pr
2. Sy=dreport foobar -f new_report -v sel_new -a -id -p"<pr<sz
System sy
As I said, I have used the -p option with pr = "HP 1200dtn", I have moved
the -p option from the end of the command line to just after -id. Same
problem when the debugger starts in sel_new, @pr=System_printer and not HP
1200dtn.
Records are selected but nothing prints to either printer.
Printers:
Name type Destination
System Printer HP6 win:system_printer
HP 1200dtn hp-2500 win:HP1200dtn
Richard
>
> >> <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