Printing problem
GCC Consulting
rkreiss at gccconsulting.net
Thu Nov 15 14:53:26 PST 2012
> -----Original Message-----
> From: Kenneth Brody [mailto:kenbrody at spamcop.net]
> Sent: Thursday, November 15, 2012 4:29 PM
> To: GCC Consulting
> Cc: filepro-list at lists.celestial.com
> Subject: Re: Printing problem
>
> On 11/15/2012 3:56 PM, GCC Consulting wrote:
> >> -----Original Message-----
> >> From: Kenneth Brody [mailto:kenbrody at spamcop.net]
> >> Sent: Thursday, November 15, 2012 3:23 PM
> >> To: GCC Consulting
> >> Cc: filepro-list at lists.celestial.com
> >> Subject: Re: Printing problem
> >>
> >> On 11/15/2012 2:49 PM, GCC Consulting wrote:
> >>> I need to pass the name of the printer selected from the -pq command
> >>> line option to 3 separate outputs.
> >>>
> >>> @pr holds the printer name selected.
> >>>
> >>> I tried the following but the value is blank
> >>>
> >>> Pt= "\""{@pr"\"" I need the quotes around the printer name as it
> >>> can be more HP LaserJet 4000.
> >>>
> >>> What am I doing wrong?
> >>
> >> If @PR is correct, and PT is blank, then we need to know how PT is
> >> defined in order to know why the assignment is failing.
> >
> > Ken,
> >
> > Pt has no attributes
>
> Then the above code, assuming you fix the syntax error, cannot have PT end
> up blank.
>
> Turn the debugger on, put a breakpoint at that line, and verify the value
of
> @PR. Then single-step to the next line and verify the value of PT.
Corrected the syntax Pt= "\""{@pr{"\"" and retested. Pt is being set now.
Thanks
Richard
More information about the Filepro-list
mailing list