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

[sqr-users] RE: Multiple Reports - one to printer and one to specific



I would try issuing a NEW-REPORT just before your CALL command.  When you are 
writing a report, it actually writes an .spf file and then when the program 
ends, converts it to a .lis file and deletes the .spf (unless you use a flag to 
keep it).  Therefore, the .lis file is not available until the program has 
completed.  When you use a NEW-REPORT, it immediately closes the current report 
and creates the .lis file for it, making it available before the end of the 
program.  Since you will not be writing anything to the new report, you do not 
need to specify a name for it.

HTH,

Denise M. White
Sr. Software Engineer
Vicor 
--__--__--

Message: 4
Subject: RE: [sqr-users] Multiple Reports - one to printer and one to specific
 location.
To: sqr-users@sqrug.org
From: AmiPatel@loews.com
Date: Wed, 14 Jan 2004 13:31:02 -0500
Reply-To: sqr-users@sqrug.org


Thank you Richard ,
It looks like your idea will work. I tried your idea but with .LIS reports.
I created 2 .lis reports and send one report to printer with CALL command
at the end of report, but in that case it is printing report from previous
run , because current reports is not ready yet I guess. Is that anything we
can do to overcome this problem ....?

As last option I will write to PRN files , close it and print using CALL .
I am not sure that you can print PRN file to different printer without
re-formatting it again or not... ? I am trying it out but if you know
please help.....

Thanks

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users