Duplex Reports

Chris Sharman Chris.Sharman@ccagroup.co.uk
Thu, 26 Nov 1998 08:51:06 +0000


>I have a COBOL program that generates a report that prints on a laser
>printer on both sides of the paper.   When a key changes in the data,
>the COBOL program closes and reopens the output report file so that
>the data associated with the new key prints on "side 1" of a fresh
>sheet of paper.  How can I do this in QUIZ?

Sounds do-able in pure powerhouse:

def ff int*2 = 12
def ffchar char*1 = characters(ff)[2:1] ; [1:1] for VMS

def toback char*1 = ffchar if (1=mod(syspage,2)) ; previously 1: should be 2

foot at whatever toback skip page

Alternatively: try doubling page length, so that one Quiz 'page' is both sides
of a printer page. You won't get page headings on the back page then though.
______________________________________________________________________
Chris Sharman			Chris.Sharman@CCAgroup.co.uk
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.