I need to print two of many reports on both sides of the paper. The second side is stock text, a disclaimer, to be printed on invoices and packing slips, but only those copies sent to the customer.

I modified the two reports to include the disclaimer as a report footer and formatted everything so that it would print properly when the printer was set to duplex mode. I then tried to figure everything out so that these reports would print DUPLEX and the rest of them not. This would mean going through all the stored procedures and form eeps to turn duplex on and off as necessary. This seemed an awful lot of hassle to go through. This morning the light dawned.

Report Action > Before Generate
    PRNSETUP <printer name>
    PRNSETUP DUPLEX HORIZONTAL
    RETURN
Report Action > After Generate
    PRNSETUP <printer name>
    PRNSETUP DUPLEX SIMPLEX
    RETURN

Before and after printing a test copy, the printer showed one sided printing, but the report printed duplex on the printer.

WOOHOO!!!!

What a team R:Azzak has!
Albert

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================


Reply via email to