How to generate a .pdf output for a BLOB column?
Hi friends,
(Forms 6i)
I have a .pdf into a blob column and I want to show that .pdf as my report output...
Example-> The report only have this query:
select myblob_ column
from mytable
the column in database has the .pdf ... but when I execute the report, it only appears some information when I put the item to show as Text... But obviously it's not the ofriginal pdf...
If I try to put as OLE2 doesn't appear either anything and if I try to put it as an Image, it appears a message error.
Any ideas?
Thanks.
Jose.
Hello,
How has been "uploaded" the PDF file in the BLOB ?
Regards
Similar Messages
-
How to generate a PDF output using batch file in 10G
Hello,
I am using .bat file to generate a report PDF output. I have done this many times in 6i but for 10G I am unable to do the same.
Can someone please look at the syntax below and let me know where I am going wrong.
I understand that reports are different for 6i and 10G specially .rep file but I am sure we should be able to generate a PDF file using 10G. Please let me know.
Thanks
IQ
Contents of .bat file follow
ECHO Opening parameter form. Please do not close this window.
C:\
FOR /F "tokens=1 " %%I IN ('time /t') DO (SET _TIME=%%I)
FOR /F "tokens=2 " %%I IN ('date /t') DO (SET _DATE=%%I)
SET EXP_DATE=%_DATE:~6,4%%_DATE:~0,2%%_DATE:~3,2%_%_TIME:~0,2%%_TIME:~3,2%
SET FILENAME=SEND_EMAIL_%EXP_DATE%_%USERNAME%.PDF
CD C:\Users\Documents
RWCONVERTER REPORT=C:\Users\Documents\send_email.rep USERID=scott/tiger@ORCL1 ORIENTATION=LANDSCAPE DESFORMAT=PDF DESTYPE=FILE
DESNAME=C:\Users\\%FILENAME% PRINTJOB =NORwconverter is not used to run reports:
rwconverter (Reports Converter) enables you to convert one or more report definitions or PL/SQL libraries from one storage format to another.
I think you mean rwrun:
rwrun (Reports Runtime) runs a report by starting its own in-process server (not to be confused with the default in-process Reports Server), which runs in the same JVM as the rwrun process.
This bat file has to run on the server. There is no Reports installation on the client anymore.
If you want to run a report from a client, you can make a bat file that calls the report url
See: http://download.oracle.com/docs/cd/E14571_01/bi.1111/b32121/pbr_cla002.htm#i634710 -
Conditional pdf Output for a report
Hi, depending on the value for one particular filed in my XML, I need to generate the pdf output.
For eg.. If Reqd = 'N', I don't want the XML publisher to generate the pdf output else if the value is 'Y', it should generate the output.
In my current implmenetation, The pdf report is getting generated for all cases.. i need to put the above mentioned check to restrict it .
If you have an idea on how to acheive it, please let me know.
Thanks and Regards
MadhuHi,
The first thing you'll need to do is to create a form field before any content in your rtf file.
The form field shall contains the following code in the Add help text:
<?if:REQD='N'?>Restricted content..<?end if?>
<?if:REQD='Y'?>The next form field shall be placed in the bottom of your file, containing:
<?end if?>I hope that helps.
BR
Kenneth
Edited by: Kenneth_ on 2010-09-22 09:05 -
XML Publisher Report not generating the PDF output.
Hi,
I am trying to develop a XML Publisher Report in R12 Vision Instance.
I have developed the rdf report and concurrent program with XML as output format. Ran the concurrent program and I got the XML output. Based on XML output I have created the rtf template. Using both the template and xml output I have created in Data Definition and Template in XML Publisher Administrator Responsibility. Now I am comming to the concurrent program and running the program, here instead of generating the PDF output it is generating again the XML output and concurrent program completing with warning status.
When I am trying to do the same in 11i Vision Instance, Concurrent Program completing with normal status and when trying to view the output it is saying "Unable to Publish output for the Processed Request".
Kindly please help me out in this issue.
Thanks,
Manasa.Hi Mahesh,
Here the concurrent programs are not erroring out. It is completing with Warning status and when we click on View Output the output is coming in XML format instead of PDF, this is in R12 Vision Instance.
In 11i Vision Instance, concurrent program is completing with Normal Status but when we click on View Output it is saying "Unable to Publish output for specified request".
Thanks,
Manasa. -
How to generate a pdf form from a webform
HOW TO GENERATE POPULATED PDF?
We used to fill out the forms at work longhand (yes, with a pen!)
Now since we created the form using Acrobat 9 Pro, we just enter the data on computer, and print out the form.
Acrobat 9 form creator was great - I found it quite easy to use.
Now, I'd like to automate the process even further.
Each week we receive response forms from our website (maybe about 20-25). These response forms have about 10 fields that
people have completed with their information.Currently I am printing out the response form and then open up the acrobat form and I enter their information into the pdf (and then print).
1. Is it possible to automatically populate a pdf from the response form ? (without me having to print out the response form and re-enter the data)
2. Is it really complicated; is this something I can do with some software/learning or do i need a programmer?
Thank you kindly for any advice or direction.It sounds like you are using the forms in your local shop and that e-mail may work fine. If e-mail submission works fine (not recommended for normal use, but find in a controlled environment where you can be sure each e-mail client is running MAPI), then add a submit button to submit a FDF or XML data file (I like FDF when using forms in Acrobat, Designer only uses XML forms). You can then import the FDF or XML data to the form and print it. You can even manipulate the FDF or XML data and add it to a database of some form, furthering your processing even more.
-
How to generate a PDF Report to print all records
Hi,
I have two fields on the page
1.Id
2.year
both are select list.
When Id and year is selected from the list a pdf report is generated showing the details of that particular ID.
I want to generate a pdf report for all Id's for a particular year rather than selecting each Id.
How to do it?
thanks,
Ven.Ven,
Your where clause should look something like this:
AND ( :px_id = '%null%'
OR id_code LIKE '%' || :px_id|| '%'
Your LOV for the id item should have Yes selected on Display Null and Null display value should have something like -- All Ids --
Jeff -
How to generate a PDF 417 Barcode by assigning a dynamic value at runtime?
PDF 417 Barcode Description given in the Livecycle Designer 8.2
: PDF 417 Non-Scriptable Barcode. Value must be assigned to this barcode at design time, and this barcode will not update after form object value changes.
And my question is how to generate a PDF 417 Barcode by assigning a dynamic value at runtime?All the information you described points to the problem that reports seems can't generate to a file which already exist. You can verify that by simply doing
r30run32 C:\AC_REPORT.REP DESTYPE = FILE DESFORMAT = PDF BATCH = YES' desname=c:\temp\ac_report.pdf
several times. If first time the report is successfully generated in c:\temp\ac_report.pdf, but not the second, third time, then it looks like there is a bug on reports r30run32 executable.
You may try to find any latest patch for Reports 3.0 to see if patch can solve you problem. But keep in mind Reports 3.0 is de-supported, you are better to move to 6i or 9i reports.
Thanks,
-Shaun -
How to generate an XML file for an animation of IK armature
Can someone please tell me how to generate an XML file for an animation of IK armature.
I have a 5 keyframe/16 frame animation of a human character made up of a series of moveiclip symbols that is animated with an IK armature. I need the XML information from the animation.
When I go to Commands > Export Motion XML I get the error message "There is more than one object on frame 1" and then nothing happens.
Thank you,
cI hope that's not the case. I want to write to adobe about it. I think it's a great feature and it functions really well even though it is not a very developed IK tool. My biggest issue with it is ouput options and integration with motion tweens.
I have seen a lot of examples of animators using it online, just no one talked about output. I just feel it hasn't been developed. It can generate a sprite sheet but only for a single pose frame of the animation, and not all the key frames or pose tweens. I find that functionality quite odd, as if adobe just forgot about IK when added in sprite sheets, etc. and the reason it half works is just an accident. -
Jfmerge:Invalid printer Type (98) when generating a pdf output.
I am receiving "Invalid Printer Type (98)" error message when i call jfmerge from my servlet to generate a pdf output. Any idea?
Thx,
AnupamHi Frazer,
I am indeed using Central Output Server not the Central Pro. Is there any trial version available for Central Pro? Any information on this will be greatly appreciated.
Thanks,
Anupam -
Layout to be generated as PDF output in a Spool
Hi ,
I am generating a layout using smartform. My requirement is layout has to be generated as PDF output in a Spool.
Please let me know how to write the code in my driver program to generate the spool or any FMs related to this.
Thanks in advance.
Regards,
Jyothi
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Jul 14, 2009 12:44 PMhi
use below sample code hope this may help u out
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
IMPORTING
fm_name = fname
CALL FUNCTION fname
IMPORTING
job_output_info = impdata..
i_itcoo[] = impdata-otfdata[].
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
use_otf_mc_cmd = 'X'
IMPORTING
bin_filesize = binsize
TABLES
otf = i_itcoo
doctab_archive = idocs
lines = t_pdf
EXCEPTIONS
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
OTHERS = 3.
CALL METHOD cl_gui_frontend_services=>file_save_dialog
CHANGING
filename = filename
path = path
fullpath = fullpath.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = bin
filename = fullpath
filetype = 'BIN'
TABLES
data_tab = t_pdf
EXCEPTIONS
OTHERS = 99.
thank you
surya -
How to generate an invoice output programmatically?
I need to generate an invoice output(Sapscript or smartform output) pragrammatically by input an invoice number and then I can obtain its spool number.I have known how to get its spool number already. Now my concern is how to generate an invoice output programmatically. Who can give me some hints here? Thank you very much.
Hi Sudhir, Thanks for your helps. But I think I may in a wrong way for my issue. Though RSNAST00 cannot process those existed invoices due to their dispatch time (NAST-VSZTP) or status (NAST-VSTAT), while those invoices could still be printout by using VF31, I may NOT SUBMIT RSNAST00 in my function module, instead I should look for other proper print program to be submit. My function module should process those existed invoices as well without changing their NAST date.
So if you have any suggestion to other print program (maybe some program above RSNAST00), please advice.
Thanks and have a great long weekend.
Jack -
How to show pdf or word icons for a BLOB column in a report?
Hi,
I am getting interested for the blob columns, I have created some columns for storing some pdf drawings and pictures for specific items in a table, it is ok to show a text like 'download' or any other text in the report by setting the following blob attribute:
DOWNLOAD:TICKET_DETAILS:ATTACHMENT:TICKET_DETAILS_ID::MIME_TYPE:FILE_NAME:::inline:Download
but instead of texts, I would like to show a small pdf image for my Blob file, or a word image or Excel image, according to the different file type.
how to do that?
and instead of inline or attachment this two options, I would like when the user click the image of the file, the browser will show the image in a new window, or a new browser tab.
I tried the inline option for my file at Google Chrome, but when it showed the pdf file within the browser, I cannot get back to my app by clicking the 'backward' icon at the browser menu, it will stuck there and I have to close the broswer and then login to the app again, instead of simply returning back to the previous page within the app.
Please help me out.
Thanks
Peter Yawei . ZhangPlease try using a query like below for your report.
SELECT ticket_details_id,
CASE
WHEN NVL(dbms_lob.getlength(attachment),0) = 0 THEN NULL
ELSE
CASE
WHEN mime_type LIKE 'image%'
THEN '<a href="'||apex_util.get_blob_file_src('P101_ATTACHMENT',ticket_details_id)||'" target="_blank"><img src="/i/image_icon.gif" /></a>'
WHEN mime_type = 'application/pdf'
THEN '<a href="'||apex_util.get_blob_file_src('P101_ATTACHMENT',ticket_details_id)||'" target="_blank"><img src="#IMAGE_PREFIX#menu/pdf_32.gif" /></a>'
WHEN mime_type like '%ms-excel%'
THEN '<a href="'||apex_util.get_blob_file_src('P101_ATTACHMENT',ticket_details_id)||'" target="_blank"><img src="/i/excel_icon.gif" /></a>'
WHEN mime_type like '%msword%'
THEN '<a href="'||apex_util.get_blob_file_src('P101_ATTACHMENT',ticket_details_id)||'" target="_blank"><img src="/i/word_icon.gif" /></a>'
WHEN mime_type like '%ms-powerpoint%'
THEN '<a href="'||apex_util.get_blob_file_src('P101_ATTACHMENT',ticket_details_id)||'" target="_blank"><img src="/i/powerpoint_icon.gif" /></a>'
ELSE '<a href="'||apex_util.get_blob_file_src('P101_ATTACHMENT',ticket_details_id)||'" target="_blank"><img src="/i/office_icon.gif" /></a>'
END
END attachment
FROM ticket_details
WHERE ticket_details_id = :P102_TICKET_DETAILS_IDPlease note that I am using APEX_UTIL.GET_BLOB_FILE_SRC function to download the BLOB files. The first parameter of this function in my example query is P101_ATTACHMENT, which refers to page item of type "File Browse" on page 101, which is a DML form on table TICKET_DETAILS. Replace it with the appropriate page number. Please refer to "Working With BLOBs Procedurally" section of this APEX 3.2 documentation for more: [url http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/advnc.htm#sthref2199]http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/advnc.htm#sthref2199
Also I have the gif images representing various MIME types on my file server. For e.g., /i/excel_icon.gif. You can use #WORKSPACE_IMAGES# if you want to. -
How to check a pdf uploaded for press in a website automatically ??
how to check a pdf uploaded for press in a website automatically ??
i am making a new website for a printer.. his client upload pdf online directly in his website, we want that in the case that the pdf is not
as the printer need it for printing , the site automaticly after checking the pdf profile uploaded open a window and write what is wrong with this pdf
and if possible fix what he can fix automaticly as pitstop software is doing offline.
PLEASE YOUR HELP
thank you in advanceAcrobat isn't available with a server license. You might like to look into PitStop Server.
-
How To Generate Debug Log Files for ebs jsp?
hi How To Generate Debug Log Files for ebs r12 jsp?
and where i get the log .please help me thanks!Please check following MOS Document
Oracle Application Server Diagnostic Tools and Log Files in Applications Release 12 (Doc ID 454178.1) -
How to generate a number sequence for a column of a Z*table?
Hi ,
How to generate a number sequence for a column of a Z*table?
plz guide me.
thanks
Albert1) Use SNRO for defining a number range.
2) Use FM NUMBER_GET_NEXT for getting the next number with object, sub object etc..
See one example below.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = c_01
object = c_z_prd_code
* QUANTITY = '1'
subobject = p_vkorg
* TOYEAR = '0000'
* IGNORE_BUFFER = ' '
IMPORTING
number = in_prd_code
* QUANTITY =
* RETURNCODE =
EXCEPTIONS
interval_not_found = 1
number_range_not_intern = 2
object_not_found = 3
quantity_is_0 = 4
quantity_is_not_1 = 5
interval_overflow = 6
buffer_overflow = 7
OTHERS = 8
3) You may write these code in main program of the table maintinence
rgds,
TM.
Maybe you are looking for
-
Registerin​g an email account on the torch
I have a blackberry that belonged to my wife and I am now going to use it. I have reset the factory settings and tried to register my email account on the phone. When doing this I get an error message that says, 'the user names is invalid. A user nam
-
How to convert only part of a picture to black and white?
Hello. I just received PSE 8. I want to convert a photo of my daughter to b&w but I want to leave her eyes blue. Anyone know how I can do this? Thanks so much.
-
Preview Image Viewing Problems
The OSX Preview application frequently displays images at a smaller size than actual. On images downloaded from the internet and images from my camera they may be something like 600px x 396px in Photoshop but they view at 226 x 148 in Preview. If I s
-
Hi, As you can see in the image below, there is this bright squiggly object in the bottom right corner of my iMac's screen. The computer is just under 4 years old. It is much more visible in person, and the artifact, or whatever it is, has depth to i
-
Lsmw........(multi-line items)
hi, how to insert several line items in a sales order. whether this can be performed using recording or any other method can be used . If so please let me know. thank you. regards prem