[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Printing multiple reports



You can run both reports, using one or two different SQR files and one or two 
output files, then issue a CALL SYSTEM command to stick the files together 
(e.g. 'cat file2 >> file1'; this syntax would be acceptable on a UNIX system).  
Alternatively, you could write a script to run each report separately and then 
combine the two files.  This sticking-files-together technique seems to work 
nicely for both line-printer and PostScript output; I've never tried it with 
LaserJet.

Be careful if you use page numbers, though, because if you make more than one 
call to SQR, each report generated will start at page 1 unless you track your 
page numbers yourself somehow, and set the correct page numbers accordingly.

Hope this helps,
- Mark

                -----Original Message-----
                From:   Srivastava, Alka [mailto:asrivastava@KPMG.COM]
                Sent:   Thursday, August 31, 2000 9:34 AM
                To:     SQR-USERS@list.iex.net
                Subject:        Re: Printing multiple reports

                Let me rephrase my question.I have to print two report in one 
file ane after
                the other. I would really appreciate if you send me your 
program.

                Thanks,
                Alka

                
*****************************************************************************
                The information in this email is confidential and may be 
legally privileged.
                It is intended solely for the addressee. Access to this email 
by anyone else
                is unauthorized.

                If you are not the intended recipient, any disclosure, copying, 
distribution
                or any action taken or omitted to be taken in reliance on it, 
is prohibited
                and may be unlawful. When addressed to our clients any opinions 
or advice
                contained in this email are subject to the terms and conditions 
expressed in
                the governing KPMG client engagement letter.
                
*****************************************************************************