At 12:00 PM 2/21/2011, Dick Fey wrote:
I want to print an invoice pdf directly to a file for faxing and do not
want the print options box coming to the screen for the operator to use.
I cannot find a way to suppress that box, thus the operator has to
approve each one.
Dick,
You can suppress both "Cancel" and automatically "open" the report in PDF
reader.
Here's how:
-- Example:
CONNECT RRBYW17
CLS
PRINT Invoice WHERE TransID = 1002 +
OPTION PDF +
|FILENAME Invoice_1002.pdf +
|SHOW_CANCEL_DIALOG OFF +
|GENERATE_TOC OFF +
|TITLE Customer Invoice +
|SUBJECT Invoice +
|AUTHOR R:BASE eXtreme 9.1 +
|KEYWORDS R:BASE, Invoice +
|OPEN OFF
RETURN
For file name, you may also define a concatenated or calculated variable
to automate the entire process.
That's all there is to it!
Very Best R:egards,
Razzak.