Name of PDF when saving

Hi,
I created a pdf and display it in WD4A. Everything works flne but when my users want to save the PDF locally with the standard adobe save button, the file name by default is "F.pdf".
Thats in deed not a very meaningful name and I asked myself where it come from.
But what I would like to ask you guys is whether and especially where and how i can set the PDF name for saving.
In the best case it would automatically get the e.g. something like this "[invoicenumber]-[customer]-[currentdate".
I have neither found anything in the parameters of the function moduls i use nor in previous post.
Thanks!

Hi,
yes, I will try today or tomorrow to find a corresponding method in ABAP for such an byte stream operation.
Your suggestion made me thing about it and maybe I also find a good hint in "offline forms" if I cant implement it in ABAP like you did in Java. Maybe Java is more powerful than ABAP. Wanted to learn it already but could never get an understanding how these WD-Java components get transported and how the whole stuff needs to get setuped with the development environment etc... But maybe I should rethink about it, looking at all the possibilities WD-Java offeres.

Similar Messages

  • Images fail to appear in pdf when saving as pdf in formscentral

    Images fail to appear in pdf when saving as pdf in formscentral, am I doing something wrong?
    Image is saved as a jpg and appears on the Formscentral form but is not there on the pdf

    Sorted it out the image was in CMYK format, saved it to RGB, and it worked

  • Using Fields from PDF when saving

    Im looking on how to use fields in a pdf form when saving the form.
    ex. Incident Report
    Staff open up the form. Put in the information. Want it so when they save it puts the clients name and date in the save as. So they open Incident_Report.pdf when they save it would be Incident_Report_ClientsName_Date.pdf Yes the staff could type that in that way but want to make it as easy for everyone involved.

    So let's say you have the following fields in your file:
    Incident_Report
    ClientsName
    Date
    You can then add this code to the file's WillSave action (under Tools - JavaScript - Set Document Actions):
    var newFileName = this.getField("Incident_Report").valueAsString + "_" + this.getField("ClientsName").valueAsString + "_" + this.getField("Date").valueAsString + ".pdf";
    app.response("Please copy the text below and use it as the new file-name:","", newFileName)
    Of course, you can adjust the message to the user, and even the format of the file-name, although I've used the format you specified.

  • Why do the file extensions (.jpg .gif .png) no longer appear when I click on a previously saved image to use that image's file name (particularly important when saving a series of images using the same root name)?

    I save a lot of images using firefox, often times from a large batch or series of images. It used to be that I would click on a previously saved image and the entire file name including the file extension (i.e. image_example.jpg) would appear in the "save as" line. Now when I click on a previously saved file, the file name appears without the file extension (i.e. image_example). Which means I have to manually type .jpg every time. For a large collection of images that I am hoping to use the same root file name and then add chronological numbers at the end, this has become incredibly frustrating, especially as it is a previously unnecessary task.
    I am using a new Macbook Pro and maybe there's something Apple related to this...? It did not happen on my old PowerBook G4. I have file extensions turned on in System Preferences.
    It should be noted that I have searched high and low and have even gone into the Apple Genius Bar where they were just confused as I was and of course ended by urging me to use Safari (shocker!) as it has all kinds of new extensions and bells and whistles. I seriously feel alone on an island with this dumb, hard to google problem. Thanks so much for any help anyone out there might have.
    I mean: is this as simple as changing a setting in about:config?
    Your assistance is greatly appreciated.

    Thanks for your response Mylenium, however like I mentioned multiple times, I did change all of my trackpad/scrolling settings in system preferences.  And if I wanted to use a normal mouse (or a tablet), I would've gotten an iMac instead of a MacBook Pro.  I travel often and work all over the place, not always with access to a decently sized workspace that would be required for using a mouse or tablet.

  • Does Preview compress PDFs when saving?

    Hi.  My scanner can group separate scans into a single PDF on its own, but it is significantly slower than scanning documents separately and merging them with Preview. 
    Since scans are essentially saved twice when going the "merge with Preview" route (once when scanned, again when merged), I'm curious to know whether Preview compresses PDFs with each save.  If so, I'd like to know how lossy this process is.  Anyone know?
    Thanks in advance for any help / info!

    Preview suck!!! Please for your own sanity use acrobat to edit PDF. Get it from adobe.com

  • The name of File when Saving New Keynote has "~" attached at the end

    When I do a save file in Keynote, the name of file has "~" attached at the end. It creates a new file so now I have two files which look like this:
    StolbaCh22.key
    StolbaCh22~.key
    Why is this happening? What am I doing wrong - can I delete either one of these?

    Have you nominated in Preferences to have a backup version every time you save?
    Or this maybe be a temporary file whilst you are working on the original.
    If they are both on your desktop without Keynote being open, you could safely assi=ume the one with the most recent time/date is the last one you worked on.
    Peter

  • Hide extension in file name input field when saving?

    A few days ago in Photoshop CS6 I started automatically getting an extension in the file name input field.
    Previously, when I did a "save as" I got, for example "image01."
    A few days ago I started getting "image01.jpg."
    I have another installation of CS6 on another desktop and on that one I get simply "image01." That's the way is had been on this machine.
    This has nothing to do with file/folder options in Windows Explorer. I don't see extension names anywhere but in the Photoshop 'save as' input field.
    It is highly annoying because I process a lot of images and having to get rid of the ".jpg" wastes time.
    Anyone have any ideas?
    dg

    Thanks, everyone for your replies. Perhaps I did not explain this clearly.
    This change I experienced has nothing to do with Windows Explorer settings.
    Here's what the input looks like on my secondary machine and how Photoshop behaved on my primary machine until a few days ago:
    All that is shown is the file name: No extension.
    Here's what I'm getting now:
    Suddenly Photoshop in adding ".jpg" to the end of the file name. This happens in both 64 bit (my default) and 32 bit (I never use it but tested i)t.
    I have not changed anything yet, but could this be a Photoshop preferences issue as gener7 suggested? I made no changes to my Photoshop installation prior to this starting to happen.
    As an aside. I'm surprised people like having the extension in the file name. I have never found that to be necessary at all, since Windows Explorer shows the file type right in the window:
    And if you select an image it's also shown on the lower left:
    I use primarily .jpgs, .tiffs, and CR2 files and even without looking at the examples above, the icon alone tells me what kind of file it is.
    dg

  • Printer share name gets renamed when saving with -1

    Often (but not always) when I change a seemingly unrelated setting (like channel, encryption, NTP...) the printer name gets appended with " - 1"
    Canon MP780 FAX - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1
    Is the current name. This is really frustrating people as you might imagine and confusing to boot.
    What's up?

    BUMP I'm also trying to do the same thing and also experiencing the same issues!

  • Downloading a pdf file, saving it, won't show the full name of the saving file when the name contains a space, stopping the file name.

    Downloading a pdf file, the name of the file contains a space in the middle of the file. The name showing on the 'Save' popup is the first few letters up to the space. Works fine on IE8. For instance, a file named "old snail_12345.pdf" would only show "old" (ignore the "s). This is on Firefox 30.0, WinXP Pro.

    Is this a problem when you are viewing the file in Firefox's built-in PDF Viewer and using its download button, or when you are using a download button in a web page?
    I've seen this problem occur when the server is pushing a different file name than the actual file name (for example, the file name is pdf.asp?id=12345 but the server is sending the name Annual Report.pdf in the headers sent with the file). I'm not aware of a workaround for the user, but for what it's worth, it is easy to fix on the server by replacing the spaces with %20 (the standard substitution used in web addresses).

  • When saving a PDF from a FrameMaker book, is it possible to set document filenames as bookmarks in the PDF?

    When saving a PDF from a FrameMaker book, is it possible to set document filenames as bookmarks in the PDF? Currently when I have a Framemaker book that I want to save as a PDF, I choose Save Book As and then choose PDF for the file format. A dialog box comes up in which I can choose the Bookmarks tab and choose which tagged content I want to be made into bookmarks in the PDF file. What if I would rather have the filename of a document rather than the chapter title be a bookmark in the PDF? Is that possible? Where would I choose that option? Thanks!

    There are two ways that you could do this. You can either use postscript text frames and enter the correct pdfmark entries to show the file name with the corresponding actions (i.e. where to go in the PDF) or you can use hidden text in FM and the "Filename (Short) " variable in a unique paratag to be picked up by FM's bookmark creation.
    To go the pdfmark route, see http://www.pdflib.com/fileadmin/pdflib/pdf/pdfmark_primer.pdf for details and also consult the Adobe Pdfmark Reference manual (http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdfmark_reference.pdf).
    The hidden text route would use FM's Color Views to specify a colour as Invisible. This will make the content visually disappear from the screen (and any output), but FM will still be able to read the contents of any text that is coloured with the Invisible colour(s).
    1. Pick or create a colour that you want to be invisible. [Magenta is usually a good bet and stands out visually].
    2. Set that colour to be invisible in View 1 and visible in View 6. [you can use the shortcut <esc> v 1 and <esc> v 6 to toggle between the views.]
    3. Create a paratag to use for the filename and set the font colour to use the invisible colour.
    3. In the title of each chapter file, drop an anchored frame that is set to be outside of the text frame [so it won't interfere with any other content].
    4. In that AFrame, insert a text frame and use the invisible paratag defined in step 3.
    5. Insert the Filename (Short) variable in that text frame.
    6. Repeat steps for all files to be included in the bookmarks.
    When creating the PDF bookmarks, select only the paratag used for the invisible colour.
    Don't forget to toggle the View to be invisible (i.e. <esc> v 1  - this also works at the book level for all files in the book).

  • Saving a pdf when dynamically build by a servlet

    Hi,
    How is it possible to initialize the "File name" field when saving a pdf content ?
    I'm generating reports in a pdf format with a servlet. This way, the servlet is called by a Url and the result is displayed directly in the browser.
    Now, if I click on the save button, the opened window suggest the url (http://....) as file name.
    Is it possible to send a default file name that is not trhe url ?

    I was interested in your question, since we have a similar application where I work, and every PDF always defaults to the name of the servlet when attempting to save it.
    I don't believe it would be possible to change that. The PDF viewer (Acrobat in my case) doesn't know or care whether the content is dynamically generated or a static .pdf file, it just knows that the browser went to a certain site and retrieved a file for it to open. So it appears to me that the decision of what default name to give the file is made at the browser/viewer level rather than by the servlet. I could be wrong, of course--I'd be glad to see any other suggestions.

  • My goal: "convert into pdf" -- the file is instantly saved with the same name as pdf. feasible?

    Good evening dear experts,
    i use Adobe Acrobat 9 pro extend to convert word, ppt, jepgs etc. into pdfs.
    No if i
    1) convert a ppt into a pdf: it asks --> "save as" --> converts --> opens the file
    2) convert a jpeg into a pdf: it instantly --> opens the file as pdf --> i need to save it manual under "save as"
    In both cases i want to
    my goal: "convert into pdf" --> the file is instantly saved with the same name as pdf
    WITHOUT asking me "save as" + "opening of the file".
    Is the possible, and if yes, HOW ?
    A fast answer is very very much appreciated, for i have to convert hundreds of files tonight in order to get it into 1 pdf
    Thx and greetings from Germany,
    Julia

    We are nearly there!
    A] - righclick "convert-to-method": @Bill: thx again, your approach worked for ppt, doc-files etc.
    2 problems:
    1) exception: for jpegs/bmps it doesn't work (the file is still opened after conversion, strange).
    2) the output-folder. it only accepts the standard "output-folder documents/*.pdf" (which is a step further but not my end-goal). If i choose another output-folder via "browse", this setting is NOT SAVED (even after clicking on "accept" + "ok").
    my goal: the the file should be automatically saved in THE SAME folder the original file is in (seems that can't be achieved and the standard folder is the only thing where to convert in?).
    Personal background for understanding: i have many folders with several ppts in it. Once i send it out to a customer, i always have to convert it into a pdf. thats why i want to save time (i know that i can convert it directly + send per mail, but i want an up-to-date copy of the pdf in the folder as well).
    B] - "the automated solution"- @Sandeep:
    i just watched your link http://tv.adobe.com/watch/acrobat-tips-and-tricks/automating-tasks-in-acrobat/
    about batch processing and i think its really helpful if i want to convert ALL of the files in one folder.
    1 question regarding this: are the subfolders also affected?
    As i understood from the video, i choose 1 "watched folder" and a "destination folder" (can be the same). E.g i have 1 big folder "designs" with many subfolders. I create a batch converting ppts to pdf to "the same folder" Once i run my batch, it converts ppts in the chosen folder "designs" + all subfolders into the same folder, right?
    If this is the case, i get too many pdfs, for i only need the latest ppt-version to be converted (copies of old ppts are also in the files) ;(.
    Do you have an idea how can i solve this?
    Now we are very near to the end-solution of my goal:
    i need this option "to the same folder" in my general settings when i convert a file via right-click. ATM it only works with the standard-folder documents/*.pdf
    In A], my files are now instantly saved with the same name in 1 specific folder. I would be completely happy, if this folder would be alwys the same as the one with the original file (and not 1 specific folder)
    2nd problem with a]: it does not apply to picture files (bmp, jpegs..)
    So if we could solve this, i would be a completely happy girl
    Guys, you are great, thx again for the whole struggle with my concerns!!

  • When saving from the print menu to PDF to iBooks, it saves it as unnamed document.

    When saving from the print menu to PDF to iBooks, it saves it as unnamed document.
    Would like to be able to give it a name before saving it, or at least have a rename function in iBooks.
    Can use Preview and rename it in Downloads and then move it to iBooks.  Very cumbersome.
    Thanks.

    When saving from the print menu to PDF to iBooks, it saves it as unnamed document.
    Would like to be able to give it a name before saving it, or at least have a rename function in iBooks.
    Can use Preview and rename it in Downloads and then move it to iBooks.  Very cumbersome.
    Thanks.

  • CS4 - Missing buttons in dialog when saving as pdf

    Hi Folks,
    I'm wondering if anyone else has come across this problem, or perhaps it's just an issue with my installation.  I get occassional strange issues when saving as pdf, though i think it happens in other cases too.  In the dialog (after choosing the file name and clicking save), some of the buttons are missing (see attached file).  The title bar is also sometimes missing the title, but in the attached file it isn't.  Alt-tab functionality in windows is impaired when this is happening, I can't launch ctrl-alt-del, etc.  Lots and lots of strange issues until i manage to kill illustrator and start again.
    This doesn't only happen when i'm trying to save as pdf - sometimes it happens upon launch of illustrator.
    anyone else have these crazy issues, or just me?

    Thanks for your reply.  I actually don't think the problem has anything to do with actually saving as a pdf per se, since it happens in other situations too.  You'll notice that the Save buttons at the bottom were missing in the first image i posted.  I'm posting another image of how the dialog *should* look.
    Remember, there are also a myriad of other problems that come along when this happens, indicating a bad interaction with Windows somehow.  Alt-tab functionality is messed up, i can't use ctrl-alt-del, i can't close the program, etc.

  • Indesign CS4 "forgets" file name when saving as Postcript file.

    Like the title says Indesign CS4 "forgets" file name when saving as Postcript file.
    Example:
    I open up indesign CS4 and open up a file called "test5". Then I go to the print menu and save it as a postscript file. Once the save as dialog box comes up it wont say "test5" but it uses whatever file name I used last time I created a PDF. 
    I want indesign to recognize that when I create a postscript file that I want it to be named the same way as my file that is open at that moment. Changing the file name every time is not bad when they are called "test5" etc but here at this company we use super long file names and it's a pain to change it every time.
    Funny thing: Some machines here do it the way in the example but other machines will do it the correct way by using the same name in the save as box.
    Any suggestions on how to fix this? If something is not clear just ask!

    How about this - it's a workaround, I can't change ID or your system.
    I'm big on EXACT filenames also, case and space sensative. Do a "Save As" before printing - the file name should be correct and highlighted, ctrl+c copy, escape/cancel the Save As. Paste in the filename during the Save as Postscript File.

Maybe you are looking for