PDF Creation and Saving in Database using Apache FOP
Hi,
I read lot of topics in this forum about using Apache FOP for creating PDF documents and I have configured the same and works fine.
When user clicks a button, the PDF file is generated and it downloads the document. How can I make the PDF document save in the database.
I would like to provide a interactive report with a link and they can download the document later.
Thanks
Karthik
Hi, Karthik
Think here how to save pdf in APEX 3.0 you can find more information about this
Michael
Similar Messages
-
What is the use of OP operator in PDF creation and on which factor transparency is determined?
q
0 g
0 G
1 w 10 M
/GS4 gs
/Fm3 Do
Q
PostScript code for Fm3
q
65.136 431.142 491.727 -307.179 re
W n
q
/GS0 gs
493.7399902 0 0 308.3157654 64.0563507 123.963913 cm
/Im0 Do
Q
Q
0 0 0 0 k
/GS1 gs
63.416 432.9 495 -310.32 re
f
Value of CA is 1, OPM is 1, OP is false in GS1 Extended graphic state.
whether the rectangle under the GS1 will be fully transparent or fill transparent?This information is all in 32000-1. Please read it ALL, especially the chapter on transparency. Forum here: PDF Language and Specifications
-
Providing security to the PDF file using apache FOP in java
I am working on PDF file generation using Apache FOP, I have security concerns which are
1. PDF file will be placed in a folder after generation and that should not be copied to other locations.
2. PDF file should only have an option print nothing else. The save/save as options should never be enabled.
3. PDF expiry date is required, so that PDF file will get expire after duration.HI,
I did that too, with too much experiments.
Code snippet for reference.
PdfReader reader = new PdfReader(getOutputFilePath());
PdfStamper stamper = new PdfStamper(reader, new FileOutputStream("my-new-file.pdf"));
stamper.setDuration(1,1);
int permissions = PdfWriter.HideMenubar & PdfWriter.HideToolbar & PdfWriter.HideWindowUI & ~( PdfWriter.AllowCopy | PdfWriter.AllowModifyAnnotations | PdfWriter.AllowFillIn | PdfWriter.AllowAssembly | PdfWriter.AllowModifyContents | PdfWriter.AllowScreenReaders);
stamper.setEncryption(null, null,
permissions, PdfWriter.STRENGTH40BITS);
stamper.setFormFlattening(true);
System.out.println(stamper.getMoreInfo());
stamper.close();
I am able to disable the save button, but I am unable to disable the save as option.
It would be great help, if you can give some inputs on this. -
The PDF file and slideshow view corrupted using iPhoto. Macbook air only get corrupted slideshow and Mac Mini both slideshow and PDF file is corrupted.
Saving as a PDF file for some users have been a problem. If you boot into Safe Mode and run iPhoto you can create undamaged PDF files. We don't know why the problem but this is a workaround.
This problem prevents many from ordering books, calendars and cards since iPhoto creates PDF file of them for uploading and printing. Booting into Safe Mode lets them successfully order those items. -
Chinese Charcters in PDF using Apache FOP
Hi,
I am creating a PDF using Apache FOP.
This data contains Chinese characters.
On APEX 3.1, I couldn't contain Chinese characters in PDF.
On APEX 3.2, is it possible?
Is there any way that I don't have to use BI Publisher?
Please advise on this.
ThanksHi, Karthik
Think here how to save pdf in APEX 3.0 you can find more information about this
Michael -
Downloaded PDF file and try to type the form or sign the form, it it will not let me?
From: Pat Willener [email protected]
Sent: 11 December 2012 02:36
To: chandabajaj
Subject: I have just load form Pdf file and saved try to sign or type the form,it will not let me?
Re: I have just load form Pdf file and saved try to sign or type the form,it will not let me?
created by Pat Willener <http://forums.adobe.com/people/pwillener> in Adobe Reader - View the full discussion <http://forums.adobe.com/message/4911163#4911163 -
Printing XLS, HTML, or RTF using Apache FOP
Hi,
Is it possible to print XLS, HTML, or RTF reports using Apache FOP? If not, is there another open source or free print server that will do this?
Thank you.
MartinHello,
>>
Your going to want to study the Cocoon sitemap concept to see how to pipeline the xml and xsl to the right output.
>>
To get this working correctly you need to understand the Cocoon sitemap concept and how to read data out of the XML file your posting in order to pipeline it to the right rendering format. It's pretty much a hands on affair so it depends on what your trying to do, sorry there is no easier way to do it.
In a future versions it will be easier to do this as you will be able to select specific end points per report.
Regards,
Carl
blog : http://carlback.blogspot.com/
apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5 -
PDF PRINTING using Apache FOP and Oracle Containers for J2EE
Hi,
I am having major confusion about the pdf printing in Oracle XE and Apex 3.1.2.00.02
It clearly states that this is an available option on the Oracle website.
According to Apex there are two options for printing report regions.
Standard - which is free
Advanced - which uses BI and requires a licence
Standard requires me to have Apache FOP (which is provided by Oracle in the Apex release) and Oracle Containers for J2EE (OC4J)
Where my understanding of all this falls down is the part where I am downloading the Oracle Containers for J2EE and the license agreement states this cannot be used in a production system (only as a protptype). Can anyone clarify this? This is surely a required componenet and for the standard report printing which is supposed to be free.
My problem is that I need to have a database system on a laptop that will go off site for a number of weeks. We need report printing options.
Can anyone help with this. im desperate.
Kind regards
colin mclayno not yet with Application Server.
I have tried to compare the settings to another installation with a separeted oc4j as described in the howto. But at the moment i found no mistakes.
If i call the url adresse like:
http://localhost:18101/fop/apex_fop.jsp
i get:
500 Internal Server Error
Servlet error: java.lang.ClassNotFoundException: fop.apex__fop
I installed it another time with these settings:
Web Anwendung= .../fop.war (selected war file from apex install directory)
Anwendungsname= fop
URL zuordnen= /fop
I would like to know if its possible to use the fop.war out of apex install directory with the Application server? In the standalone version (as described in howto) it works. But if you install it there you don't need to define an URL.
Is the URL /fop correct or what do i have to insert there? -
Creation of Logical Standby Database Using RMAN ACTIVE DATABASE COMMAND
Hi All,
I am in confusion how to create logical standby database from primary database using rman active database command.
What i did:-
Create primary database on machine 1 on RHEL 5 with Oracle 11gR2
Create standby database on machine 2 on RHEL 5 With Oracle 11gR2 from primary using RMAN active database command
Trying to create logical standby database on machine 3 on RHEL 5 with Oracle 11gR2 using RMAN active database command from primary.
The point which confuse me is to start the logical standby in nomount mode on machine 3 with which pfile like i create the pfile for standby database do i need to create the pfile for logical standby db.
I done the creation of logical standby database by converting physical standby to logical standby database
I am following the below mentioned doc for the same:
Creating a physical and a logical standby database in a DR environment | Chen Guang&#039;s Blog
Kindly guide me how to work over the same or please provide me the steps of the same.
Thanks in advance.Thanks for your reply
I already started the logical standby database with pfile in nomount mode. And successfully completed the duplication of database. by mentioning the DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT parameter.
But i am not able to receive the logs on the above mentioned blog i run the sql command to check the logs but getting "no rows selected"
My primary database pfile is:
pc01prmy.__db_cache_size=83886080
pc01prmy.__java_pool_size=12582912
pc01prmy.__large_pool_size=4194304
pc01prmy.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
pc01prmy.__pga_aggregate_target=79691776
pc01prmy.__sga_target=239075328
pc01prmy.__shared_io_pool_size=0
pc01prmy.__shared_pool_size=134217728
pc01prmy.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/pc01prmy/adump'
*.audit_trail='db'
*.compatible='11.1.0.0.0'
*.control_files='/u01/app/oracle/oradata/PC01PRMY/controlfile/o1_mf_91g3mdtr_.ctl','/u01/app/oracle/flash_recovery_area/PC01PRMY/controlfile/o1_mf_91g3mf6v_.ctl'
*.db_block_size=8192
*.db_create_file_dest='/u01/app/oracle/oradata'
*.db_domain=''
*.db_file_name_convert='/u01/app/oracle/oradata/PC01SBY/datafile','/u01/app/oracle/oradata/PC01PRMY/datafile'
*.db_name='pc01prmy'
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=pc01prmyXDB)'
*.fal_client='PC01PRMY'
*.fal_server='PC01SBY'
*.log_archive_config='DG_CONFIG=(pc01prmy,pc01sby,pc01ls)'
*.log_archive_dest_1='LOCATION=/u01/app/oracle/flash_recovery_area/PC01PRMY/ VALID_FOR=(ONLINE_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=pc01prmy'
*.log_archive_dest_2='SERVICE=pc01sby LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=pc01sby'
*.log_archive_dest_3='SERVICE=pc01ls LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=pc01ls'
*.log_archive_dest_state_1='ENABLE'
*.log_archive_dest_state_2='DEFER'
*.log_archive_dest_state_3='DEFER'
*.log_archive_max_processes=30
*.log_file_name_convert='/u01/app/oracle/oradata/PC01SBY/onlinelog','/u01/app/oracle/oradata/PC01PRMY/onlinelog'
*.open_cursors=300
*.pga_aggregate_target=78643200
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=236978176
*.undo_tablespace='UNDOTBS1'
My logical standby pfile is:-
pc01ls.__db_cache_size=92274688
pc01ls.__java_pool_size=12582912
pc01ls.__large_pool_size=4194304
pc01ls.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
pc01ls.__pga_aggregate_target=79691776
pc01ls.__sga_target=239075328
pc01ls.__shared_io_pool_size=0
pc01ls.__shared_pool_size=125829120
pc01ls.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/pc01ls/adump'
*.audit_trail='db'
*.compatible='11.1.0.0.0'
*.control_files='/u01/app/oracle/oradata/PC01LS/controlfile/o1_mf_91g3mdtr_.ctl','/u01/app/oracle/flash_recovery_area/PC01LS/controlfile/o1_mf_91g3mf6v_.ctl'
*.db_block_size=8192
*.db_create_file_dest='/u01/app/oracle/oradata'
*.db_domain=''
*.db_file_name_convert='/u01/app/oracle/oradata/PC01SBY/datafile','/u01/app/oracle/oradata/PC01PRMY/datafile'
*.db_name='pc01prmy'
*.db_unique_name='pc01ls'
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=pc01prmyXDB)'
*.log_archive_config='DG_CONFIG=(pc01prmy,pc01sby,pc01ls)'
*.log_archive_dest_1='LOCATION=/u01/app/oracle/flash_recovery_area/PC01PRMY/ VALID_FOR=(ONLINE_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=pc01prmy'
*.log_archive_dest_2='LOCATION=/u01/app/oracle/flash_recovery_area/PC01LS/ VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=pc01ls'
*.log_archive_dest_3='SERVICE=pc01ls LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=pc01ls'
*.log_archive_dest_state_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
*.log_archive_max_processes=30
*.log_file_name_convert='/u01/app/oracle/oradata/PC01SBY/onlinelog','/u01/app/oracle/oradata/PC01PRMY/onlinelog'
*.open_cursors=300
*.pga_aggregate_target=78643200
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=236978176
*.undo_tablespace='UNDOTBS1'
Kindly advice over the same -
Can we connect and access SAP database using db adapter?
Hi,
I need couple of details:
1) Can we connect to SAP database using db adapter and run select query to extract data from the SAP database tables?
2) Where can I download SAP adapter? How to install it? and how to plug that in to the JDev?
Cheers1) Can we connect to SAP database using db adapter and run select query to extract data from the SAP database tables? It is possible as long as back-end DB version of SAP are supported by DB adapter. Oracle recommends SAP connectivity through Oracle Application Adapter for SAP rather than direct connection to SAP Database tables.
2) Where can I download SAP adapter? How to install it? and how to plug that in to the JDev?http://www.oracle.com/technology/products/integration/adapters/pdf/DS_OracleASAdapter_SAP.pdf
http://www.oracle.com/technology/software/htdocs/devlic.html?url=/technology/software/products/ias/htdocs/101202.html
http://download.oracle.com/docs/cd/E12524_01/doc.1013/e14201/toc.htm (Installation)
http://download.oracle.com/docs/cd/E12524_01/doc.1013/e14196/toc.htm (SAP adapter configurtation)
Manoj -
How to maintain the documents like PDF, EXCEL and WORD in database
Hi,
I am working on UI, I am tracking the COREMODS data using this UI. My requirement is need to maintain the related documents also in database using this UI. I think SLM system have that functionality. If any one know about this functionality, explain about
How to upload the documents into database.
How to maintain this documents in database.
Is there any standard methods/function modules to upload this documents ( I am not asking about content of document, I am expecting about total file).
i.e. I want to maintain the all core mod related test cases and other documents in SAP database.
How to handle this functionality?
Rayuduhi,
There is a Utility in SAP called Easy DMS.
Here you can create folders, maintain authorisations and store your documents.
Hope this is wht u r looking for.
Reg,
Raj -
Hi I am looking for a simple way of creating a xml file, populate it with data and saving it. Is there any simple way to achieve this ?
What API/language are you using?
If it's Cocoa look at NSXMLDocument
http://developer.apple.com/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSXM LDocument_Class/Reference/Reference.html
Eric -
User exit during creation and saving of Produciton order
Hi folks,
I need to append a row in the material component of transaction code COR1. This needs to be triggerd when an order is created and saved in COR1. Please help me out...........
thanks in advanceHi Team
Below mentioned requirement , in which user exit i have to put below logic while creaion and change of sales order?
u2022 The logic for the user exit to explode should consider the following assumptions and validations
o Customer master to have the entry at KNVV-KVGR1
o Material master to have the entry at MVKE
o UoM in the Sales order item (VBAP- VRKME) should be = Pallets PAL or tonnes (TES)
o Should have more than one line item or number of line items with UoM PAL or tonnes TES should be > 1
for example :-->
Product A with Scales mentioned below
Product A Quantity / Scale UoM Price(£)
0-10 PAL/TES 20
11- 20 PAL/TES 10
21- 30 PAL/TES 5
31-40 PAL/TES 2.5
>41 PAL/TES
Product B with Scales mentioned below
Product B Quantity / Scale UoM Price(£)
0-15 PAL/TES 25
16-20 PAL/TES 20
21- 30 PAL/TES 15
31-40 PAL/TES 10
41 PAL/TES 5
u2022 Product A (qty 10PAL) + Product B (qty 15 pal) ordered in a single order with 2 line items.
u2022 The expected results should be
o Product A qty 10 + B qty 15 added = 25Pal
o The system user exit should add the total number of pallets on the order line items and point towards the respective scales, so in this example prices against each line item should be the respective price against 25 Pal = 5£ for product A per pal and £15 for product B.
Thanks in Advance.
Puneet. -
Receive mail with POP3 and saving to file using XI
Hello! I'm new to XI, could you help me with this "simple" task: Receive mail with POP3 and saving to file.
Thanks!Hi,
you will need:
Mail Sender Adapter
http://help.sap.com/saphelp_nw04s/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm
and File Receiver Adapter
http://help.sap.com/saphelp_nw04s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
Regards
Patrick -
Want User Exist or BADI when PO created and saved in database
Hello Experts,
I want User Exists or BADI, when PO saved in database table. That is, after Successfully Created message, want user exist or BADI in 4.7 server.
Thanks & Regards,
Poonam.Hi Friend ,
Here is the User Exit & BADI for Purchase Order on save .I hope it will solve your Query
User exit create project in CMOD : MM06E005
BADI in SE18 : ME_PROCESS_PO_CUST
For more Information please see this SDN LINK : [ME21N / ME22N SAVE Userexit;
Regards,
Edited by: Loganathan girishkumar on Nov 5, 2009 4:31 AM
Maybe you are looking for
-
Not Using Index on File Server When Accessing User Files Directly on Server
It appears to me that on a server with an indexed network share (Desktop Experience and Search Indexing roles/features installed), if you access the share directly on the server using its drive path, you can search the folders using the index, which
-
OAM Identity Asserter Provider Error:Unable to create the AccessGate entry
Hi All, I have installed Oracle Access Manager and trying to protect an application deployed on weblogic application server. I have added the jar oamAuthnProvider in weblogic server lib mbeantypes and configured an OAM Identity Asserter Provider in m
-
they sent me verified email , and have confirm properly but when i sign in itunes , they still give ****.......doesnt work at all i cant even use it
-
What file format should I digitize film to ?
I'm having some old 16 mm film footage digitized (by a film lab), and am wondering what format(s) to have it done in. I'm sending them a portable drive to download the files. I want a good quality digital master for archival purposes, but would also
-
Copy/paste full row, full column, a cell on datagrid using MVVM?
What is the best way to implement on datagrid? As I am new on this, I had some researches but I am confused because there are some complicated implementations and easy ones? I try to understand the best way. Adding simply selection mode and selection