I don't want to RTFM!

Saw a patch release today slipping past my ever growing inbox. It had an intriguing title: OPTIONAL PRINTING OF PAGES IN PDF TEMPLATES, WTF?

Digging into the bug text; some customers would like the ability to not have to print the instruction sheets in their PDF documents. In an RTF template its pretty simple but if the document is already in a PDF format why re-invent the wheel. Its a nice enhancement and available all the way back to 11i (5.6.3)

There are two parts to the solution one piece in the data and another in the template itself. For the PDF template you need to add a field to the instruction page:

Name: SHOW-PAGE
Tooltip:<?show-page:PRINT-INSTRUCTION='Y'?>

this is the default command to print the instructions ie 'Y' or 'N' if you don't want them.

Now, in your data for the form you need to include a specific XML element:

<data>
 <form1>Your Text Data</form1>
 <form2>1234567890</form2>
 <PRINT-INSTRUCTION>N</PRINT-INSTRUCTION>
</data>

Now as BIP merges the data in it will check the XML tag see whether it should be printing the instruction page or not.

The patch is not quite out of the gate but if you are interested look out for 8452335. If you need a template to check out the functionality, get it here.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Follow bipublisher on Twitter Find Us on Facebook BI Publisher Youtube ChannelDiscussion Forum

Join our BI Publisher community to get the most and keep updated with the latest news, How-to, Solutions! Share your feedback and let us hear your voice @bipublisher on Twitter, on our official Facebook page, and Youtube!

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today