On my Brother Duplex Printer to accomplish what you want I have to set the 
printer driver to "collate" and
it prints the complete first copy of the report, then the complete copies of 
each subsequent report.

Following from RBase Help:
COLLATION ON 
OFF  Indicates whether multiple copies will print in pre-sorted 
order 
COPIES value Specifies the number of copies to print. If the COLLATION property 
is set to ON, the copies 
will print in 
sorted order. 
  
DOCUMENT_NAME value When a report is printing, this is the name of the document 
as it should 
appear when listed in the Print Manager and on network header pages. This value 
can 
also be displayed in reports using the DocumentName type of the System Variable 
control.  
DUPLEX NONE
HORIZONTAL
VERTICAL Indicates what type of two-sided printing should occur. Not all 
printers support duplex printing. 
Horizontal duplex printing is performed across the page, from left to right, 
so the text will read as in a book. Vertical duplex printing is performed 
down the page, from top to bottom, so the text will read as a 
tablet. 
ORIENTATION PORTRAIT
LANDSCAPE Determines whether a report prints vertically (PORTRAIT) or 
horizontally (LANDSCAPE) on 
a page.  
 
 Try the COLLATION ON as an option in the PRINT command.

Jim Bentley
American Celiac Society
[email protected]
tel: 1-504-737-3293


>________________________________
>From: Dan Goldberg <[email protected]>
>To: RBASE-L Mailing List <[email protected]>
>Sent: Tuesday, October 4, 2011 8:58 AM
>Subject: [RBASE-L] - RE: duplex printing
>
>
>I have an invoice that I do something similar.
> 
>I know that X number of line items fit on a page. So I do a count of line 
items before the report print is called. If it is over the X amount of lines I 
tell it to print duplex.
> 
>Dan Goldberg
> 
> 
>From: Luc Delcoigne 
>Sent: Tuesday, October 04, 2011 12:09 AM
>To: RBASE-L Mailing List 
>Subject: [RBASE-L] - RE: duplex printing
>Hi, 
> 
>I have a report that I want to print on one pageside if 
the report is only one page and in duplex when the report is more than one 
page.
> 
>This report has to print in 3 copies.
> 
>Now, when I set the printer in duplex mode (|DUPLEX 
HORIZONTAL) it prints every report in duplex....i.e. even the reports that are 
1 
page are printed recto-verso when the 3 copies are printed.
> 
> 
>So, I would have to be able to capture the 
totalpagecount of the report before issueing the print command.
> 
>That way I could evaluate the totalpagecount var and 
issue a 
> 
>Print Report
> 
>or 
> 
>Print Report |DUPLEX HORIZONTAL, 
> 
>when the report is more than one page.
> 
> 
>Somehow I cannot capture the totalpagecount 
var...
>What could be wrong ?
> 
>Luc 
Delcoigne
>
>

Reply via email to