.pdf filename to title batchconversion
Have 10,000 .pdf files, all with a meaningful filename, but with no or meaningless Title (under File -> Document properties -> Description).
Any reliable program, trick to assign the filename as title for all 10,000 files at once?
We have encountered the same problem at our company, and the following thread help us to resolve our problem:
Thanks to KevinCur.
Error while saving a .PDF File to a mapped drive
"It has to do with Protected Mode being turned on. I don't know if it was off by default & now it is on with the update but turning it off changes Adobe Reader's behavior back to what the users expect - a prompt warning you if you want to overwrite the existing file & then selecting Yes to overwrite.
To disable Protected Mode:
Start Adobe Reader
Edit - Preferences - Security (Enhanced)
Uncheck Enable Protected Mode at Startup
Close Preferences & Close Reader"
We unchecked the "Enable Protected Mode at startup" box --> Yes --> OK. Our users are happy now. ^_^
Similar Messages
-
FM10 Book to PDF - show title (not PDF filename) in Reader header?
FrameMaker 10.0.2.419 + Distiller X Pro 10.1.438 -> Adobe Reader X
I have a FM book file with a title along the lines of 'Worked Examples'. When I save it to PDF with Distiller and view the PDF in Adobe Reader X, the reader's header bar shows the PDF filename e.g. wex.pdf, but I want it to show the book title Worked Examples.
I assume there's a setting in Distiller that forces Reader to show the book title not the file name, but having trawled through the settings/help/forums I can't see it. It's probably blindingly obvious (when you know the answer!), but can anyone tell me how I can get Reader to show a book's title in its header?Note: I have partially solved this issue by loading the PDF into Acrobat X Pro and going to File > Properties, and on the Doc Properties > Initial View tab selecting 'Show = Document Title', and then saving the PDF. I'm hoping to figure out (or get told!) a way of achieving this from my FM10 book file though.
-
How to auto add in pdf filename (shown in footer) by using Java Script?
In order to have nice tracking a document, I want to print the file name as a header or footer when printing the documents.
How can this be done?
Found a perfectly nice post related to same issue
http://forums.adobe.com/thread/302996
(Many thanks on every contribuitors inside that posts)
In the above post, found that ##Reinhard had shared some well nice scripts for "enable to put in filename in the footer for every document, just by 1 simple click in each documents"
For the time being,
if i would like to generate a script that allowing
1) Only adding / showning the pdf filename in the footer
2) Auto Run/Execute on this script for all documents, which means without any click but it will auto showing the "filename at footer" when any document opening.
Hope any experts can give a help on this.
PS: Currently using Adobe Acrobat 10 & Reader 11 // OS = Windows 7
Many thanks ^^My code for above method is Floor #2
var FileNM = this.documentFileName;
for (var p = 0; p < this.numPages; p++)
var fd = this.addField("xftDate", "text", p, [30,15, 290,30]);
fd.textSize=5; fd.value = " (" + FileNM +")";
It works for me & my PC, however I unable to applied same things into a JavaScript.js file
Hope any experts could help and advice.
Many thanks. -
I have a question about extracting pages. When I do the function, adobe saves the individual files as "<file name><space><page number>", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf". Without too many gory details, I am using excel to concatenate some data to dynamically build a hyperlink to these extraced files. It casues me problems, however, for the space to be the the file name. Is there any way to change the default behavoir of this function to perhaps use a dash or underscore instead of a space?
No, you can't change the default naming scheme. You can do it yourself if you extract the pages using a script instead of using the built-in command.
-
I am outputting a report to PDF and its all working fine
except for one thing, and that is that the pdf's filename is the
entire path to the file instead of just the filename. This is the
code I am using in the cfdocument tag:
<cfdocument format="pdf"
filename="#request.baseRefTempFile#\#form.collectorLongName#_AssignedSamples.pdf"
fontembed="yes" overwrite="yes"
saveasname="#form.collectorLongName#_AssignedSamples.pdf"
scale="100">
request.basereftempfile is a variable pointing at the folder
where the pdf is saved. Its saving it there correctly. Its just the
filename is the entire path but it omits the directory slashed and
replaces them with underscores.
Any help would be much appreciated .Thanks very muchI am currently using the same method and the working code is
below. I do not use the saveasname. Have you tried without?
<cfdocument
filename="#application.reportPath##dateFormat(todaysDate,'yyyymmdd')#-#UserKey#.pdf"
format="PDF" pagetype="letter" margintop="0" marginbottom="0"
marginright="0" marginleft="0" orientation="portrait"
backgroundvisible="yes" overwrite="yes" fontembed="yes"> -
Hi all,
I have report6i and we are generating reports in PDF format.
While saving the PDF file name contains url, how
to format PDF filename?
Please help urgently.
thanksHi,
When you use destype=CACHE, the desname is disregarded. The reason is that the PDF file name does not matter when it is opened in the browser. It only makes sense for users to specify the filename when you are "saving" the file. So that is why desname value is taken when you use destype=FILE.
If you want the PDF to first appear in the browser, and then you want to save it with a particular name, just choose File > Save As from the browser or from the PDF toolbar.
While saving the PDF file name contains urlI guess you just need to manually overwrite this with the file name you want.
Navneet. -
Get pdf filename during initialize:
I wonder to get the pdf filename during initialize, may i know is it possible?
Thanks your concern.
ThamASFileSysOpenProc is not suitable. It is used for the opening of all
files, not just PDF files, and you do not provide it for the standard
filesystem: it is a standard part of Acrobat.
Since it is documents you are interested in, rather than files, you
would want to look at the document related callbacks (CosDoc, PDDoc,
AVDoc). I can see why you wouldn't find it though, the Acrobat API
documents are breathtakingly awful, ever since someone had the bright
idea of replacing a human editor with a programmer generated file.
You need to use the PDDocDidOpen notification (notification is the
buzzword here, not callback), registered with
AVAppRegisterNotification. Try documents from an older version of the
SDK, the Acrobat 8 SDK is beyond a joke.
Aandi Inston -
APEX + BI Publisher: dynamic pdf filename.
Hello gurus,
i'm deploying my first apex application and I need to know if is possible to decide witch name will have the pdf output file.
What I need is that the filename respect a particular syntax:
:USER_NAME_:DATE_:ID
I cannot find any customizable parameters in (report queries / report layouts ).
Is it possible?
Thank you very much in advance.
Regards.
SimonSimon,
In the Print Attributes tab of your Report Region you can specify a filename. If you leave this blank it is the name of your region. Maybe you can enter there: &USER.
For the Date : If &USER. works, you should fill a hidden field with the date you want to use for your report and use a reference to that field as a Filename (like &DATE_FIELD. ).
The solution above doesn't seem to work. Even if you use &USER. in the region title (that is shown on the page), the PDF page is created with &USER..PDF as the name....sorry!
HTH
Regards
Roel
Edited by: Roel on Oct 16, 2008 12:31 PM -
Folder level script? How can I use field value as a pdf filename in save as dialog box
I read somewhere that if you use a folder level script, you can do things like save a pdf with a specific filename - possibly based on a field name.
How would one set up a folder level script?
How do you execute a script from the PDF?
What code would you use to change the PDF name to the contents of the fFieldName text field?
Or, is this really just impossible to do?The article is interesting. It suggests you place code like this:
// Page Replacement Function
var ReplaceLastPage = app.trustedFunction( function(cPath) {
app.beginPriv();
this.replacePages(this.numPages-1, cPath); app.endPriv();
In the trusted folder. What is the path of the trusted function(s) that get automatically loaded into Acrobat?
I assume in the example above, function(cPath) is a function inside of the PDF... -
PDF Filename in WebResource URL
Hi,
I've got a maybe simple problem, but didn't find any solution.
I get an PDF File from my application and open it as an external window.
This works fine
The URL contains not the filename but "unknown.pdf...".
How can i change that?
Following the code where i read the file and open the external window.
File file = controller.getReportFile(...);
byte[] fileData = null;
try {
fis = new FileInputStream(file);
fileData = new byte[(int) file.length()];
fis.read(fileData);
fis.close();
catch(Exception e) {
IWDWindow = null;
try {
IWDWebResource webResource = WDWebResource.getWebResource(fileData, WDWebResourceType.PDF);
window = wdComponentAPI.getWindowManager().createExternalWindow(webResource.getURL(), "Report", false);
window.open();
catch(Exception e) {
The URL looks like this (short form..)
".../~wd_key29_......./unknown.pdf?sap.session....."
I appreciate any helpThank you for your reply.
I'll try to detail what i want to do.
The context of the view looks like this:
Reports.creationDate
Reports.filename
Reports.filesize
Reports.period
This context is build up in wdDoModifyView and each context element will be bind to a column of a table, which i create manually.
The table is now filled with these context. One column includes a download link (LinkToAction) which is binded to the action "onActionDownloadReport".
In this action i read the leadSelection, get the filename of the current context element and send it to my background application which returns me the file.
The rest is shown in the first posting.
I tried to create the context attribute PdfSource as binary and the code you given me.
But nothing happens. It's also "unknown.pdf"
Maybe i have to bind the PdfSource to LinkToAction?
Following the code where i create the download link in table.
IWDLinkToAction link = (IWDLinkToAction) view.createElement(IWDLinkToAction.class, null);
link.setText("Download");
link.setOnAction(wdThis.wdGetDownloadReportAction());
column.setTableCellEditor(link);
table.addColumn(column);
Regards
Ingo -
How to get the current PDF filename?
Hi everyone,
I know this might be a question that has been asked millions of times but I couldn't find a direct answer.
I'm using a work flow that comes with a Content Manager Solution so it is not Adobe this WF will generate a very long file name (about 30 characters) which will be used as the unique process number.
To move to the next step in the work flow I have to update the table in the database and the record to be updated will use the process number. What I did is I added a hidden text field to the form which should have the process number on the initialize function.
Now my question is how to get the file name of the opened PDF file??
I'm sure there is a function in JS but I couldn't find the way to do it.
Thanks in advance guys for the help.
MazenThanks Bruce, it worked.
Here is what I did:
I create a textfield and added this script in initialize event:
==============================================================
var
fileName = event.target.documentFileName;
//removing the file extensionvar vDot = fileName.length-4;
//apply the value to the TxtFieldthis.rawValue= fileName.substring(0,vDot); -
PDF Maker, PDF Filename as database field value
Hi everyone,
I am using Word 2010 and Adobe Acrobat X
When you are complete a mail merge and specifically the "Merge to Adobe PDF function" - is it possible to specify the filename for the resulting PDF as a value in the database?Hi everyone,
I am using Word 2010 and Adobe Acrobat X
When you are complete a mail merge and specifically the "Merge to Adobe PDF function" - is it possible to specify the filename for the resulting PDF as a value in the database? -
Hi Gurus!
I have uploaded file through archivelink. It generates an object id automatically.
May i know how can i get filename? like
a.pdf i am uploading , i want to retrieve 'a' (name).
Thanks in advance.Hi,
I think you need to run the FTP command FM..
CALL FUNCTION 'FTP_COMMAND'
Pass the command the directiory path for the arcive in command parameter..
you get the result in data table parameter..
Now looping on the result table you search for the '.pdf'
if sy-subrc = 0.
move that offset into an internal table.
now you can get the file name into your work area..
Hope am not wrong with your question..
reward if useful
regards,
nazeer -
PDF filename appears in website text
I have linked pdf documents through the Inspector > File link but the filename appears in the website and not the text that I highlighted.
How can I hide the filename and just have the text as a hyperlink
SusannaSusanna R wrote:
How can I hide the filename
Susanna ~ Perhaps I've misunderstood the problem, by rather than hiding it, you could simply change the filename to the text you want. You'll have to undo the current file hyperlink and re-do it with the new filename.
If you need to post a screenshot of something to illustrate what you're talking about, go here:
http://www.imageno.com
...upload your screenshot and from the resulting page, copy & paste the *"HTML code for webpages"* into your post. Switch from Compose mode to Preview mode to check that the clickable thumbnail works before posting. And for how to take a screenshot, _see here_. -
How to define a pdf - filename in reports 6i
good morning programmers,
first i want to excuse me for my not very good englisch. i4m a german
programmer and i have a little problem. i wrote a report for
printing quotations / offers. the user has the option to print
or to send an e-mail with pdf-attachment. and there is the problem.
the filename of the report is always the same ( report.pdf ) or in german
( bericht.pdf ) but i want to define the filename myself. how to do this ???
i would be very thankful for your fast help.
regards
kevinthank u for your fast answer. but i think it wasn4t the right one.
i had define the systemparameter DESNAME in a form-parameter-list.
---> add_parameter(pl_id,'DESNAME',text_parameter,'whatever.pdf');
the report-engine starts, the e-mail client opened and search for
an e-mail-kontact named whatever.pdf gg
maybe u have another idea or did i make anything wrong ?
regards
kevin
Maybe you are looking for
-
How do you retain links within a page when converting from Microsoft word from a Mac?
Keeping Microsoft Word page links within a document or converting the filed map into bookmarks are not options when you work on a Mac. I subscribe to the Adobe Acrobat Plus service specifically to address that issue. But I can't find any documentati
-
i just recently replaced the simcard to my personal simcard earlier. after e few hours of usage (messaging, facebook, twitter, instagram and viber) it slwoed down until it hung up. i locked the screen to see if that helps since it usually did with my
-
Change items' order in a list by drag-drop
Hi, Is it possible to allow the user to change the items displayed in a List by just drag-&-drop? Thanks.
-
Adding additional tab in crm_order sales
hello experts, kindly let me know how to add an additional tab & some custom fields to that tab in crm_order sales using BADI. plz do the need full.. bye-- Deepa
-
Can i make the database passwords non case-sensitive ??
Can i make the database passwords non case-sensitive ??