SCOUG-Programming Mailing List Archives
Return to [ 07 | 
July | 
2004 ]
<< Previous Message << 
 >> Next Message >>
 
 
 
Content Type:   text/plain 
Harry Motin wrote:  
>   
> The various [Mesa 2] printing options are stored with each  
> workbook. If you set those options up for each report as a  
> separate workbook, I think you will get close, if not fully there.  
 
That would work.  Thanks.  I'll give it a try.  
 
> >[Peter wants to] print this report with the following  
> >preface above the headings on the first page only".  
 
Can I do this with Mesa 2?  For example, suppose I have a report with  
these columns:  
 
  Music I.D.  OS/2 Topic  Topic Host  Start Time  
  ==========  ==========  ==========  ===========  
  7418        JFS         A______     11:18:47:02  
  8311        Hobbes      J________   11:23:10:11  
  etc.  
 
*and* I want to put a Preface on the first page only, so the report  
looks like this (view the following using a fixed-width font):  
 
           OS/2 Radio for Wednesday July 7 2004  
 
             Host:  Webfoot The Duck  
             Time Period:  1100-1500  
             Special Guest:  Ann Dowling  
             Sponsors:  S_____, C_____, Pepsi  
             Hot Clock:  C  
 
      Music I.D.  OS/2 Topic  Topic Host  Start Time  
      ==========  ==========  ==========  ===========  
      7418        JFS         A______     11:18:47:02  
      8311        Hobbes      J________   11:23:10:11  
      etc.  
 
but subsequent pages would not have the preface, they would just have  
the column headings.  Can Mesa 2 do this?  
 
I tried about a year ago to get Mesa 2 to do formatting like the above  
but couldn't figure it out.  Should I move this question over to the  
Mesa 2 mail list?  
 
> Also, Mesa has a scripting language  
> with "Print" as one of the functions.  
 
I missed that.  So I would read my database, extract the desired data  
into a CSV file, then run Mesa 2 using a report-specific workbook that  
contains a Rexx script which reads the CSV file and prints the report  
and then exits.  Yes?  
 
- Peter  
 
 
 
=====================================================  
 
To unsubscribe from this list, send an email message  
to "steward@scoug.com". In the body of the message,  
put the command "unsubscribe scoug-programming".  
 
For problems, contact the list owner at  
"rollin@scoug.com".  
 
=====================================================  
 
  
<< Previous Message << 
 >> Next Message >>
Return to [ 07 | 
July | 
2004 ] 
  
  
The Southern California OS/2 User Group
 P.O. Box 26904
 Santa Ana, CA  92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group.  ALL RIGHTS 
RESERVED. 
 
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International 
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
 
 |