Printer selection

Kenneth Brody kenbrody at spamcop.net
Wed Dec 22 14:31:25 PST 2010


On 12/22/2010 5:13 PM, Richard Kreiss wrote:
[...]
> 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

I assume you're retyping those commands, rather than cut-and-paste, since 
they aren't valid syntax.

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

Question:

     What does this mean to dreport?

         -p "HP 1200dtn"

> Records are selected but nothing prints to either printer.

I'd be willing to wager that the report was, in fact, sent to the 
destination you selected.  The problem is that you didn't select what you 
thought you selected.

[...]

-- 
Kenneth Brody


More information about the Filepro-list mailing list