• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Printing large DB reports
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing large DB reports


  • Subject: Re: Printing large DB reports
  • From: Aaron Burghardt <email@hidden>
  • Date: Wed, 20 Apr 2005 09:23:37 -0400


On Apr 19, 2005, at 9:02 PM, Scott Stevenson wrote:


On Apr 19, 2005, at 5:41 PM, Aaron Burghardt wrote:


I am generating reports from a database and could have millions of records to print in a given report. The documented Cocoa approach for printing would be to draw into a custom view and to paginate the view accordingly (either automatically or a custom pagination scheme). This leads me to two problems/questions:


I expect you're going to need a batch strategy of some sort when dealing with such an immense number of records.


As for the layout side, consider generating an HTML or XML document with CSS formatting. This allows you to offload all the hard work to WebView.


Hi Scott,

Thanks for the suggestions.

Our requirements are to generate reports that are viewable on screen, printable, and can be saved. We briefly considered XML/XSLT, but it appeared we would have to break up the output into many documents to avoid unmanageably large files (if I understand the the spec correctly), which would be cumbersome for the user to print. A single PDF is preferable to our client. Also, the report needs to be viewable on a variety of platforms and we wanted to avoid dealing with the differences in web browsers. Maybe we dismissed the idea too quickly.

Cheers,

Aaron

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Printing large DB reports
      • From: p3consulting <email@hidden>
References: 
 >Printing large DB reports (From: Aaron Burghardt <email@hidden>)
 >Re: Printing large DB reports (From: Scott Stevenson <email@hidden>)

  • Prev by Date: Two help menus
  • Next by Date: Re: Getting user's input from an NSOutlineView
  • Previous by thread: Re: Printing large DB reports
  • Next by thread: Re: Printing large DB reports
  • Index(es):
    • Date
    • Thread