Michael
I know what you mean.  When looking in the help, I usually scroll to the end first, because that's where I usually find my answer!
 
If you haven't done so, you should take a few minutes to install R:Docs.  It is indispensible when it comes to the Property command AND it has all the syntax for the different print, choose, dialog and pause options.  It is a great tool (Thanks Razzak!).
 
Dawn


From: Michael Moser [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 11:58 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Conversion problems - OUTPUT PRINTER does not

Thanks Dawn,
 
That will probably do it.  I thought it might be an issue with the PRINT command and I did look at the help before deciding to bug anyonoe with this but there are so many options for the print command that I overlooked the significance of the OPTIONS command waaaaay at the end.
 
:-)
 
Thanks a lot.
Michael


Michael Moser
EXAQ Micro Services
www.exaq.com
Phone: 916-966-8313
Fax: 916-966-8313

 >>  Michael The print command has a lot more options in 7.1.  Try  this,
 >>  instead of OUTPUT PRINTER   PRINT  QuestionList +  WHERE QSSId = .cQSSId
 >>  AND  QPriority <= .mmvQPriority +
 >>  ORDER BY QPriority, QSort  +  OPTION PRINTER  Here  is the full option set
 >>  for Print to printer - there are other options too  (Screen, PDF, XLS,
 >>  etc.) Look under Print in 7.1 help.  PRINT  reportname WHERE whereclause
 >>  ORDER BY orderbyclause +
 >>  OPTION PRINTER  +
 >>  |SHOW_CANCEL_DIALOG value +
 >>  |TRAY <value> +
 >>  |COLLATION ON/OFF  +
 >>  |COPIES <value> +
 >>  |DOCUMENT_NAME <value> +
 >>  |DUPLEX  <value> +
 >>  |ORIENTATION <value> +
 >>  |PAPER_NAME <value>  +
 >>  |PAPER_WIDTH <value> +
 >>  |PAPER_HEIGHT <value>  +
 >>  |PRINTER_NAME <value>
 >>  Dawn
 >>  From: Michael Moser [mailto:[EMAIL PROTECTED]  
 >>  Sent: Thursday, March 17, 2005 11:44 AM
 >>  To: RBASE-L Mailing  List
 >>  Subject: [RBASE-L] - Conversion problems - OUTPUT PRINTER does  not

 >>  Hi All,
 >>  This one has me stumped.  The following code works fine and prints to  the
 >>  printer when run from R:Base 6.5 but prints to the screen when run from
 >>  7.1         IF PrintOpt = 'YES'  THEN         
 >>  PRNSETUP         
 >>  OUTPUT  PRINTER         
 >>  PRINT  QuestionList  +           
 >>  WHERE  QSSId = .cQSSId AND QPriority <= .mmvQPriority  +           
 >>  ORDER BY  QPriority, QSort         
 >>  OUTPUT SCREEN       
 >>  ENDIF

 >>  The report prints fine to the printer from the reports manager.   However,
 >>  at the R>   R> OUTPUT PRINTER R> DIR R> OUTPUT SCREEN  prints a directory
 >>  on the printer but  R>  OUTPUT PRINTER
 >>  R> PRINT QuestionList WHERE QSSId <  4
 >>  R> OUTPUT SCREEN
 >>  prints the report to the screen.  I have not found anything in the help
 >>  that implies that the 7.1 OUTPUT  PRINTER or PRINT command have any
 >>  differences from 6.5.  There is  not a lot of room to go wrong here so I
 >>  must be overlooking something really  
 >>  obvious.  Any thoughts?  Thanks, Michael    
 >>  Michael Moser
 >>  EXAQ Micro Services
 >>  www.exaq.com
 >>  Phone:  916-966-8313
 >>  Fax: 916-966-8313

Reply via email to