No Jim, I'm just saying that at the R> prompt, you should do a PRNSETUP, select 
your
tray and then do the cval I posted.  This will tell you how RBase "sees" the 
name of the
tray you want.  You can then compare that to your code and make sure it is 
correct the
way you have it typed in there.

Karen

 

 

 

-----Original Message-----
From: Jim Belisle <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Tue, Dec 9, 2014 4:06 pm
Subject: [RBASE-L] - printer setup



Karen,

I understand I can go to the printer setup and after choosing how I want the 
printer to work, the CVAL functions can give me the information.
However within code, how does that help me?
Will the user have to go in and choose these settings when they run the report 
then my code grabs their choices into variables?
Then I make the code use the variables as below?

PRNSETUP
(they choose their settings)
Set var vtray TEXT = (CVAL('PRN_Source'))

Set var vprinter TEXT = (CVAL('currentprinter'))

Set var vcol TEXT = (CVAL('PRN_Collation'))

OPTION PRINTER +

|TRAY .vtray +

|COLLATION .vcol +

|COPIES 1 +

|PRINTER_NAME .vprinter


Sorry if this is so easy to you folks but I tried following the HELP guide, not 
the Functions.


James Belisle

Making Information Systems People Friendly Since 1990
[cid:[email protected]]


 

Reply via email to