Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle APEX Best Practices

You're reading from   Oracle APEX Best Practices Make the most of Oracle Apex with this guide to best practices. It will help you look at the bigger picture when building applications and take more elements into account such as security and performance.

Arrow left icon
Product type Paperback
Published in Nov 2012
Publisher Packt
ISBN-13 9781849684002
Length 298 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Oracle APEX Best Practices
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Prepare and Build 2. Leveraging the Database FREE CHAPTER 3. Printing 4. Security 5. Debugging and Troubleshooting 6. Deploy and Maintain Database Cloud Service and APEX 4.2 Index

Print API


Application Express also has APIs available for printing documents. These APIs are apex_util.download_print_document and apex_util.get_print_document. Both Print APIs have four different signatures, which they allow for programmatically downloading report queries while dynamically associating stored report layouts at runtime, downloading report queries with custom templates stored in your own tables, and generating PDF based on your own custom XML by using your own custom templates.

APEX_UTIL_DOWNLOAD_PRINT_DOCUMENT initiates download of a print document in four ways. Each has slightly different parameters (you can read more about these parameters at http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21676/apex_util.htm).

The first option is to use XML-based report data and an RTF- or XSL-FO-based report layout:

APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT (p_file_name IN VARCHAR,p_content_disposition IN VARCHAR,p_report_data IN BLOB,p_report_layout IN CLOB,p_report_layout_type IN VARCHAR2...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image