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

