Empty CreatorDate field in PDF files generated by Report 6i on Windows 7
When generating a PDF file from Reports 6i on Windows 7, the CreatorDate in the PDF file header is empty.
Even worse: its opening parenthesis "(" is not closed. See example here below.
This generates several problems with Adobe Reader 10 like:
- text searching does not work although you can select text and do a copy paste,
- File/Properties does not work (nothing happens when selecting this menu item),
- File/Save As PDF generates the Adobe Reader error "The document could not be saved. There was a problem reading this document (114)."
We do not have this issue with Windows XP.
Any idea?
%PDF-1.1
1 0 obj
<<
/Creator (Developer 2000)
/CreatorDate ( <---- here is the error: missing value and missing ")"
/Author (Oracle Reports)
/Producer (Oracle PDF driver)
/Title (LETTRE_TEST_PDF_REPORT.pdf)
>>
As you probably know, Developer 6i is not supported on Windows 7. Search the Forms and Reports forums for tips like:
Install in XP compatiblity mode.
Run in XP mode with Virtual PC.
Similar Messages
-
Gif images in pdf file generated from Reports 6i
Hello,
When I generate pdf file from Reports Builder 6i and open this file with Acrobat Reader 5.0 I get that some of my gifs are black or other color.
When I generate the same report to the live previewer everything is OK.
Is it a Reports 6i bug? Any workarounds?
Best regards
Raimundas KatiliusHi
If u generate the report output to PDF from the report
GIF images doesn't show up properly . Generate it from the
application then i think it will print clearly.
If u try to print text followed by image and followed by text
again PDF will not print
I think this should help u
Sri
Hello,
When I generate pdf file from Reports Builder 6i and open this file with Acrobat Reader 5.0 I get that some of my gifs are black or other color.
When I generate the same report to the live previewer everything is OK.
Is it a Reports 6i bug? Any workarounds?
Best regards
Raimundas Katilius -
Get/Save PDF file generated by Reports.
How can I get the temporary .pdf file stored in the cache by Reports Server when, there is a request for a report?
When the a request to view output as PDF file? Reports server stores the output PDF file in the server cache but generates bogus alphanumeric files. Is there a way I can save it myself so that I can capture that file for future use. or maybe a Reports API?When it appears in the browser you could use "Save As" to save it locally.
-
Not possible to open PDF file generated by Report functionality
Hello,
we are facing the problem that reports in PDF format deliverd in SharePoint by Duet Enterprise cannot be opened by Adobe Reader. The error we get is the following:
Adobe Reader could not open "filename.pdf" because it is either not a supported file or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
When trying to open it with Internet Explorer the following error message pops up:
File does not begin with '%PDF-'.
Does anyone know how to fix this problem?
Thanks in advance.
Kind regards
SvenHi Hi Sven,
Could you please tell me the type of report you were trying execute? Is it ERP or BW? And ALV or non-ALV?
We are supporting PDF report output type only for BW reports and for ERP non-AVL reports. For other types PDF format is not supported.
If you configure PDF for other report types then you will get report output in PDF file in SharePoint server, but you will face above error message while opening the file.
Regards,
Binson -
Creating a PDF-File from a report within a service
Hello,
I have to create PDF-Files from a report within a windows service.
My source is as follows (quick and dirty) using Microsoft Report Viewer 2012
Imports Microsoft.Reporting.WinForms
Dim reportViewer1 As New Microsoft.Reporting.WinForms.ReportViewer()
Dim objRDLC As New Microsoft.Reporting.WinForms.LocalReport()
reportViewer1.LocalReport.ReportEmbeddedResource = "MyApplication.MyReport.rdlc"
Dim deviceInfo As String = "<DeviceInfo>" & _
"<OutputFormat>PDF</OutputFormat>" & _
"<PageWidth>21cm</PageWidth>" & _
"<PageHeight>29.7cm</PageHeight>" & _
"<MarginTop>0.7cm</MarginTop>" & _
"<MarginLeft>0.7cm</MarginLeft>" & _
"<MarginRight>0cm</MarginRight>" & _
"<MarginBottom>0cm</MarginBottom>" & _
"</DeviceInfo>"
objRDLC.DataSources.Clear()
'Fill Report with data
reportViewer1.LocalReport.DataSources.Clear()
reportViewer1.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("dsInfo", dt))
reportViewer1.RefreshReport()
'Output Report as File
Dim byteViewer As Byte() = reportViewer1.LocalReport.Render("PDF", deviceInfo)
Dim newFile As New FileStream("MyFileName", FileMode.Create)
newFile.Write(byteViewer, 0, byteViewer.Length)
newFile.Close()
'Clean up
newFile.Dispose()
objRDLC.DataSources.Clear()
objRDLC.Dispose()
reportViewer1.Dispose()
In most cases everything works fine.
But the service crashes after some/many reports (e.g. after 270 reports or after 1.400 reports). There is no fix number of reports that causes the service to crash.
The service crashes with the following error:
System.ComponentModel.Win32Exception (0x80004005): Fehler beim Erstellen des Fensterhandles.
bei System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
bei System.Windows.Forms.Control.CreateHandle()
bei System.Windows.Forms.Control.get_Handle()
bei System.Windows.Forms.Control.PointToScreen(Point p)
bei System.Windows.Forms.ToolStripItem.TranslatePoint(Point fromPoint, ToolStripPointType fromPointType, ToolStripPointType toPointType)
bei System.Windows.Forms.ToolStripDropDownItem.DropDownDirectionToDropDownBounds(ToolStripDropDownDirection dropDownDirection, Rectangle dropDownBounds)
bei System.Windows.Forms.ToolStripDropDownItem.GetDropDownBounds(ToolStripDropDownDirection dropDownDirection)
bei System.Windows.Forms.ToolStripDropDownItem.get_DropDownLocation()
bei System.Windows.Forms.ToolStripDropDown.GetDropDownBounds(Rectangle suggestedBounds)
bei System.Windows.Forms.ToolStripDropDown.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
bei System.Windows.Forms.Control.SetBounds(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
bei System.Windows.Forms.Control.set_Size(Size value)
bei System.Windows.Forms.ToolStripDropDown.AdjustSize()
bei System.Windows.Forms.ToolStripOverflow.OnLayout(LayoutEventArgs e)
bei System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
bei System.Windows.Forms.Control.PerformLayout()
bei System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
bei System.Windows.Forms.Control.ResumeLayout()
bei System.Windows.Forms.ToolStrip.OnLayout(LayoutEventArgs e)
bei System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
bei System.Windows.Forms.Control.PerformLayout()
bei System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
bei System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
bei System.Windows.Forms.TextBoxBase.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
bei System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified)
bei System.Windows.Forms.ToolStripControlHost.OnBoundsChanged()
bei System.Windows.Forms.ToolStripItem.SetBounds(Rectangle bounds)
bei System.Windows.Forms.ToolStripItem.set_Width(Int32 value)
bei Microsoft.Reporting.WinForms.ReportToolBar..ctor()
bei Microsoft.Reporting.WinForms.ReportViewer.InitializeComponent()
bei Microsoft.Reporting.WinForms.ReportViewer..ctor()
bei DC5Warteschlange.clsReportTools.Druck(DataTable dt, String Reportname, String ReportDataset, String Drucker, String Format, String Datei)
bei DC5Warteschlange.clsInfoQueue.Snotiz(String[] CallIDs, String Speicherort)
bei DC5Warteschlange.Imail.InformationMailSenden(Int32 AID, DataTable& tmpDT)
Thank you very much....
GernotUnfortunately, it is not a piece of code that I can send. The SQL would be embedded inside Oracle Reports tool, and you would have the option to save the output of the report in PDF format.
Once you have the Oracle Report developed, you can execute it from command line prompt and save the output to a pdf file. In your case, the cursor would be embedded inside Oracle Report
Shakti
http://www.impact-sol.com
Developers of Guggi Oracle - Tool for DBAs and Developers -
Any tricks to store pdf file generated via jasper to oracle tables.
i need to generate pdf file ..for records in a cursor..
So i use jasper integration kit ... to accomplish the same...
issue is .. i need to press a button and then pdfs file shoudl be generated...and stored in a table as a blob..My process does this..
But since the process can be fired only on condition. on load before header...
The result is i get my pdf file generated and stored in table ..but the page is a blank page..seems like it is some jasper page..
http://127.0.0.1:82/apex/f?p=132:267:3324851978466855::::: The page looks empty...I will not want it to look empty...
i will like after pressing a button immediatley it shows a page processing and when processing is done... it shifts to other page...
I am putting the part of code which generates the pdf file ...any guidance or help shall be appreciated..
So i hope you understood the issue..*Issue is when button is pressed i see a blank page..THough the below process is fired pdf file genrated and stored in oracle tables..as blob.. I will like instead of blank page it displays me some othe page..say like processing and once done it shoudl say processing complete..*
Any guidance will be kindly appreciated..
Thanks paul johny
Below you will see the stored procedure i use..to generate the pdf files...
create or replace procedure lordslave is
cursor c1 is select subscribe_no from subscribers
where subscribe_no > 296;
l_blob BLOB;
l_mime_type VARCHAR2 (100);
begin
for xxx in c1
loop
begin
--xlog ('PRC_GET_REPORT_TUNNEL', 'url (orig):' || 'http://localhost:84/JasperReportsIntegration/report?_repName=test_repFormat=pdf_dataSource=def1_outFilename=tes.txt_repLocale=de_DE,repEncoding=UTF-8');
xlib_jasperreports.set_report_url ('http://192.168.1.3:84/JasperReportsIntegration/report');
xlib_jasperreports.get_report
(p_rep_name => 'subinvx',
p_rep_format => 'pdf',
p_data_source => 'default',
p_rep_locale => 'de_DE',
p_rep_encoding => 'UTF-8',
p_additional_params => 'Psubscribe_no='||390,
p_out_blob => l_blob,
p_out_mime_type => l_mime_type
BLOB_LOADB (mid(),xxx.subscribe_no,'SUBSCRIBERINVOICE','mfilename',l_mime_type,l_blob);
-- release resources
DBMS_LOB.freetemporary (l_blob);
-- stop rendering of APEX page
apex_application.g_unrecoverable_error := TRUE;
EXCEPTION
WHEN OTHERS
THEN
xlog ('PRC_GET_REPORT_TUNNEL', SQLERRM, 'ERROR');
RAISE;
END;
end loop;
end;All you need to do - is that you should use the column data type as Long Raw.Why would you recommend using LONG RAW which has been deprecated in favour of BLOB for years?
You can find a simple example of inserting a file into a BLOB column using JDBC here. The Oracle JDBC docs are also worth a read. Find out more.
Cheers, APC
Blog : http://radiofreetooting.blogspot.com/ -
Where is a PDF file, generated by Agent (BIEE11g), stored?
Hi,
In BIEE11g, I created an Agent for scheduling to generate PDF files from Analysis.
In tab: "Delivery Content", I choose PDF in field "Format", and BIEE will automatically chooise option "Deliver as attachment".
At the same time, in tab: "Destinations", I just choose "Home Page and Dashboard" for field: "User Destinations".
After scheduling time, an Alert is generated, and there is data and graph embedded in the content of the Alert. However, I don't find any URL for downloading PDF file. I want to make use of BIEE Agent that so that I can keep snapshot data for the report.
Anyone know where where is the PDF file, generated by Agent (BIEE11g), stored?
ThanksA nice way to achieve this is to export the reports to the server's filesystem using the Actions tab > Invoke Server Script. On a Windows server you can write a little VBScript or Javascript and pass it the PDF file which then gets saved to disk. I have some code if you are interested - contact me via my blog.
Paul -
Generate PDF file from a report using greek characters
Dear all,
I tried to generate a PDF file from a Report having greek characters on it.While in previewer I could see everything OK, when PDF file was generated all greek characters had been substituted by symbols...
Any ideas, suggestions and workarounds are welcome.
Thanx a lot!hi Kiriakos,
which version are you using ?
please test this with reports 9i since PDF support
has been enhanced there.
to test i would suggest to run the report from rwclient
as well and specify desformat=pdf and to a generate to
file within builder to see if the same behavior occurs.
if this problem reproduces there as well i suggest
to contact oracle support to log the problem.
regards,
christian -
Generated pdf file from oracle reports show bad characters
Hello all,
Iam fighting with a problem with generated pdf file from oracle reports which show some bad characters. I was searching for some information but it didnt help...
I have Oracle Database 11g R2 (or 10g R2) on Oracle Linux or Windows, Oracle forms and reports 6i (i know that is very old and not supported with 11gr2 but we are in this scenario).
NLS parameters are set like this
server:
NLS_CHARACTERSET EE8MSWIN1250
NLS_TERRITORY AMERICA
NLS_LANGUAGE AMERICAN
client:
NLS_CHARACTERSET EE8MSWIN1250
NLS_TERRITORY SLOVAK
NLS_LANGUAGE SLOVAKIA
When I run Oracle Reports it show perfect in display and when I try to print them, they are all good with good characters, but when I try to generate pdf file, some characters like č,š,ľ are not displaying corectly... This happen only when try to generate to pdf...
I try to work with uifont.ali on client side but without any result. Fonts for reports were installed on client and server side... Can someone help me with this problem? Thank you very much for every advice.
MartinHi Sergiusz,
Thank you for your reply. I look at what you wrote and try to make some test...
1) For first I download FontForge, which can generate type1 font from true type. So I open FontForge and open my Arial.ttf font and use "Generate Fonts" to save my Arial.ttf font to pfb and pfm (whoch are need to set in uifont.ali). I have to change encoding, because my font has 2byte encoding so I reecondode the font from ISO10646-1 to ISO8859-2 and generate to pfb.
2) Then I navigate REPORTS_PATH from regedit to my *.pfm and *.pfb files.
3) I add these lines to end of my uifont.ali
[ PDF:Embed ]
Arial = "Arial.pfm Arial.pfb"
ArialNarrow = "ArialNarrow.pfm ArialNarrow.pfb"
4) Then I generate my report but nothing change... I check "Font used" in my pdf file, but there were not my fonts embedded I guess..
I also try PDF:Subset, but it doesnt change anything... I try PDF aliasing to see if my uifont is working - this work very well, but I dont need to change font...
Any other advice? Thank you so much to everyone!
Martin -
How to passw protect my pdf files generated by Adobe Acrobat?
I simply want to passw protect my pdf files generated by Adobe Acrobat. However the option as indicated by the helpdesk is not available in my pdf generator. I am working with apple? Can someone tell me how to pass protect my files?
Can some one help me out here?Hi josr,
You can password protect your files in Adobe Acrobat by choosing File > Properties when you have the PDF open, and clicking the Security tab. Here is a Help topic that goes into detail: Acrobat Help | Securing PDFs with passwords.
If you don't have Acrobat, you're welcome to give it a try! Feel free to download a 30-day trial from http://www.adobe.com/products/acrobat.html.
Best,
Sara -
Merging ps files into pdf file using "adobe distiller XI pro", i am getting warning message that is "%%[ Warning: Empty job. No PDF file produced. ] %%". My code working perfectly with "adobe distiller 7 standard" . But i don't know why is not working in Adobe Distiller XI.
Kindly give me a solution.OS不明。
> runfile.psを利用したところ
細かくなるが、「RUNFILEX.PS」ではない? ファイル名を1文字でも間違っていると、正確な情報には辿り着けなくなる。
Acrobat Distiller 8.1以降では制限が加えられているという。
文書番号 : 232142
Acrobat Distiller 8.1 におけるアクセス制限の問題
− 「RUNFILEX.ps」ファイルを使用して、複数の PostScript ファイルを 1つの PDF ファイルに統合することができません。
「Acrobat Distiller 8.1 ではファイルオペレータがアクセスできるフォルダおよびファイルが制限されています。」
文書番号 : 222406
ページの挿入または置換の際にエラー「...Subset fonts have the same name and cannot be merged(同じ名前のサブセットフォントがあるため結合できません)」
Acrobat 7.0 Proでは、[ファイル/PDFの作成/複数ファイル]を選ぶことで複数ファイルを対象に結合させたPDF文書を作成でき、順番も入れ替えられる。また、対象ファイルにはPostScrip tファイルも含まれている。
Acrobat 9ではどうだった?
ポートフォリオ文書への検討は? -
How can I quickly view pdf files like I can do with Windows Picture and Fax viewer for jpg files? I need to look at several thousand PDF files. It takes too long to open each one individually. The only thing I could think of is combining them into large groups and then using the Navigation index. But I like the way windows Picture and Fax Viewer does it because you can keep the files separate. Combining PDFs causes loss of individual file names. That would be a problem since I do need to have the individual file names.
Windows Picture and Fax Viewer is a DLL and is started via a rundll32.exe call and can't be set as an application to handle images in Firefox 3 and later versions.
Try to set Windows Picture and Fax Viewer as the default viewer in Windows, then it should be listed automatically in the Mozilla Firefox Browse dialog.
*http://www.winhelponline.com/articles/115/1/Windows-Picture-and-Fax-Viewer-as-the-default-viewer-in-Mozilla-Firefox.html
'''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.''' -
Integrating an Exisitng multiple page PDF file into a report and outputting as one PDF
Post Author: sditmer
CA Forum: Crystal Reports
We would like to be able to PDF files into a report based on a file name contained in the detail of the report. For Example, I have some data in our database relating to a specifc PDF file including the name of the PDF that I would like to print in the header of the report and then print the actual PDF as the detail of the report. The PDF may be multiple pages so I would like the remaining pages of the report to follow on each page of my crystal report. Essentially I am trying to merge a report header onto a mulitple page PDF file as a single report. Is this possible to do out of the BOX with Crystal? Do I need some other tools to do this?Post Author: IdoMillet
CA Forum: Crystal Reports
Consider a 3rd-party tool as a solution (for a list of such tools, see http://www.kenhamady.com/bookmarks.html).My Visual CUT software allows you to automate the process of merging the pdf export of your reportwith a pdf file named based on a formula in the report. The resulting merged pdf file can automatically be printed or emailed. -
File Open Issues - document library pdf file to open in new browser window
Hi
I have a requirement to open the document library containing pdf file to open in new browser window. So far I have tried following steps but could not get it to work.
1. Changing Document library advance setting to open the document in browser (have tried others as well).
2. SharePoint web application setting changed as Permissive instead of Strict. Here the pdf file opens in browser but redirect from document library instead of new window(Also tried adding Target=”_blank” and no change).
3. Executed the powershell script to adding MIME type to see if it works but no change.
$webApp = Get-SPWebApplication http://SharePointSite
If ($webApp.AllowedInlineDownloadedMimeTypes -notcontains "application/pdf")
Write-Host -ForegroundColor White "Adding PDF MIME Type..."
$webApp.AllowedInlineDownloadedMimeTypes.Add("application/pdf")
$webApp.Update()
Write-Host -ForegroundColor White "Added and saved."
Else
Write-Host -ForegroundColor White "PDF MIME type is already added."
4. Open the Doc library and modified ALLItems.aspx to add Target= “_blank”
5. I have already tried solutions suggested in the link:
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9db08c4a-b53c-419a-84f8-001c194d1311/how-to-open-sharepoint-document-library-pdf-file-in-new-window?forum=sharepointadminlegacy
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/530e2ea1-d77d-491c-935f-04f536e439a5/open-a-pdf-document-to-a-new-browser-in-the-document-library-web-part?forum=sharepointadminlegacy
http://mindsharpblogs.com/todd/archive/2005/08/16/654.html
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/7b6091df-4657-4799-ba02-259ebd7e4b7c/pdf-doesnt-open-in-document-library?forum=sharepointadminlegacy
Appreciate if there are any working solution from any of you. Many ThanksI found a solution which works only in the development. No idea when I compared, Browser MIME type is enabled, STRICT browser type is configured for web application. on the document library advance setting, default to open in new browser. Both configurations
are identical but I am able to open pdf file in new window in my developing using jquery script
http://blog.ithinksharepoint.com/2011/02/21/open-pdf-files-from-a-document-library-in-a-new-window/ but the same does not work on production server :(
Any help experts?
Thanks -
Reading and printing the pdf file in abap reports.
Hello friends .
how to read pdf file and print the contents of the pdf file in abap reports.?
Edited by: Shivanand Kalagi on Jan 11, 2008 12:47 PMHI Brad Bohn,
Issue is not only with the file damaged.
My requirement is to place the PDF file in FTP folder using FTP_COMMAND, FTP_R3_TO_SERVER Function Modules.
I'm placing the PDF sucessfully in FTP Folder. When i try to open it's showing the "File cannot be opened because it's damaged....".
I'm not sure whether i'm placing the PDF file in correct way.
Regards,
Saran
Maybe you are looking for
-
My family shares one itunes account. We have started receiving each others imessages
My husband, son and I all have iPhones linked to our family iTunes account. Since the update, we began to get one anothers iMessages. The problem was that under Facetime it listed all of our numbers and our email. Obviously, I don't want that to h
-
Additional screen to capture some data in VA41
Hello all, Is there any way that when the user clicks save button after entering contract data a pop screen appears with two fields, asking user to enter two more fields data in th screen.As soon the user enters the data in the two fields and clicks
-
I have a PCi lab card 6025. i need to control one pump, by sending a square signal, between 0 and 5 Volts. I need to send a signal in intervals of 1 second. Could anyone tell me something about this?
-
Cancellation fees Student and Teacher eduction Creative Cloud
If you cannot provide proof for the Student and Teacher edition subscription of Creative Cloud and they cancel your subscription, do any cancellation fees apply?
-
Difference between fully qualified name and Canonical name
CAn annyone xplain Difference between fully qualified name and Canonical name