How to use cfdocument  create a PDF file and save the file in server?

Hi,
I want to use cfdocument to create a PDF file and save it in
the server for other people to download,can you give me a idea how
to do this.Thanks.
<cfdocument format = "PDF" pagetype="A4"
orientation="portrait">
</cfdocument>
Mark

Hi
<cfdocument filename="" format = "PDF" pagetype="A4"
orientation="portrait">
</cfdocument>
Give the physical path to the filename. You have write
permission for this folder to create a PDF file.

Similar Messages

  • How to capture a .gif file from a spectrum analyzer and save the file in PC

    I want to capture a .gif file from a spectrum analyzer and save the file in PC, but I've got a problem when read data from the instrument. I'm not sure how to format the string got from the instrument , When I use "%s" or "%t" as the read string format the data got from the instrument is truncated.
    my code are as follows, could anyone tell me where i am wrong?
    char resultsArray[5000];
    viPrintf(hSpectrumInstr, ":MMEMTORCR 'CICTURE.GIF'\n");
     viQueryf(hSpectrumInstr, ":MMEMATA? 'CICTURE.GIF'\n", "%t", resultsArray);
     printf("%s", resultsArray);
     getchar();       
    Solved!
    Go to Solution.
    Attachments:
    readResult.docx ‏50 KB

    char resultsArray[5000];
    viPrintf(hSpectrumInstr, ":MMEMTORCR 'CICTURE.GIF'\n");
    viQueryf(hSpectrumInstr, ":MMEMATA? 'CICTURE.GIF'\n", "%b", resultsArray);

  • I am using both PSE 13 and Lightroom 5.  When I use Lightroom as an external editor and save the photo, it shows up in PSE13 as an edited file but does not look any different.  Why doesn't it appear edited?

    I am using both PSE 13 and Lightroom 5.  When I use Lightroom as an external editor and save the photo, it shows up in PSE13 as an edited file but does not look any different.  Why doesn't it appear edited?

    People who have Photoshop, but don't have Lightroom, need ACR so that they can use Raw files. Without ACR they could do nothing with those (they may also like having ACR so that they can work on other kinds of image using the same kinds of adjustments and techniques, as are used with Raw files).
    People who have Lightroom, can get access to Raw files regardless whether ACR is present or not. They can use Lightroom on other kinds of image also, using the same methods. LR can pass images directly into Photoshop without passing via ACR (or else does so transparently, which amounts to substantially the same thing).
    ACR does not, strictly speaking, even need to be installed for this external editing to happen. In fact, not even PS needs to be - since a different image editor can be used instead, while still retaining the Adobe Raw conversion etc.
    Lightroom "subcontracts out" specialised external tasks, in this workflow, but is still your "main contractor": the image is otherwise located, viewed, managed, adjusted/presented and output entirely using LR.
    So IMO we can divide image processing into:
    operations that involve pixels and layers and layer masks and adjustment layers etc (of the kind done inside Photoshop)
    operations that involve parametric edits (of the kind done in ACR where you are not using a Lightroom based workflow; otherwise, done inside Lightroom)
    When PS is called in, that's because those tasks are impossible or unsuitable to do in Lightroom. But those tasks can't be done in ACR either - by definition, since LR and ACR have exactly the same image processing "feature set".
    Lightroom is irrelevant to the Bridge + ACR + PS workflow. This workflow requires both your PS and your ACR to be current enough, to support your Raw format etc.
    ACR and Bridge are irrelevant to the LR + (image editor) workflow. It is in this case, only LR which needs to be current enough to support your Raw format etc.
    RP

  • Can you copy/paste files from the Finder to Mail in Lion, or drag them onto the Mail icon in the Dock to create a new message and attach the files to it?

    Message title says it: Can you copy/paste files from the Finder to Mail in Lion, or drag them onto the Mail icon in the Dock to create a new message and attach the files to it?
    I can't find anything in the Knowledge Base that says these two options no longer work or still do.
    I do not have a system capable of running Lion, but I need to know the answer nonetheless.

    Gee, I don't know: "paste attachments mail Lion"? ;-)
    One further question, if I may: in Panther (which is where I've aggregated nearly 7 years of mail), if you copy more than one file in the Finder, switch to Mail, and paste the files into a new message, only the file names paste in. If you copy one file and paste it into a Mail message, you get the file, not just the name. Is that still true, or has that (IMHO) bug been fixed since 10.3.9?

  • I am not able to download ITunes. I had some problems with ITunes and had to uninstall but now when I reinstall iTunes after I click on download iTunes and save the File, I get this message"Thank you for downloading iTunes" and nothing else happens. I don

    I had some problems with ITunes and had to uninstall but now when I reinstall iTunes after I click on download iTunes and save the File, I get this message"Thank you for downloading iTunes" and nothing else happens. I don't see any thing else. Now not sure what else I have to do.
    Thanks,
    Ranjit

    See the further information area of Troubleshooting issues with iTunes for Windows updates.
    tt2

  • HT201250 I accidentally didn't save a document on my desktop--a report.  Can I go back with time machine and recover my desktop and save the file?

    I accidentally didn't save a document on my desktop--a report.  Can I go back with time machine and recover my desktop and save the file?

    If you saved it at least once, then time machine should have a copy of the document at the state you last saved it.  I'm guessing tha's not the case however or the copy of the file would still be on your Desktop.
    If you never saved it a single time, yet closed the window and dismissed the warnings about an unsaved document, then you are out of luck as far as I know.

  • Possible to overwrite a pdf when in use or open a pdf without holding/locking the file for update

    Possible to overwrite a pdf when in use OR alternative open a pdf without holding/locking the file
    We frequently generate pdf files from our 3D program and would like to know if it's possible to either open a pdf file in a way that it doesn't get locked or hold up so the pdf can be updated even when opened or in use.
    Most programs e.g. ultra edit & notepad will let go the file when you opened and hence the file can be updated or over written even when in use.
    If any guru can help, would be highly appreciated

    Hi Abbas,
    It's not possible to overwrite a pdf when it is already in use by a different program or user. The file then opens up in Read Only mode.
    You can make a copy of the file and then apply those changes later in the original file. That's the only possible solution.
    Regards,
    Rahul

  • Generate a PDF export and getting the file or the bytestream to modify it

    Hi everybody
    I have a web dynpro application and want to get the bytestream or the PDF file itself.
    Is there a function (RFC, J2EE-Method, ABAP methode/class) where I can say
    "Hey function, generate a PDF export of a BI report and save the PDF file <br>somewhere in the KM or return the bytestream of the PDF"
    I must be able to define following parameters
    -BI template name
    -values for the selection mask (the same as the BEx BI-Commands to prefill a field in the selection mask)
    -KM path + filename (if the function saves the file in the KM)
    What I already tried:
    Broadcast to KM
    I can start the broadcast automatically using the report RSRD_BROADCAST_STARTER. But the problem is that I can't generate a broadcast setting and so I'm not able to define the filename and selectionmask data dynamically.
    Package RSRD
    When you enter the transaction SE80 and look for the package "RSRD" there are a lot of interesting classes and methods. But I couldn't figure out how to call them to generate a PDF export of a BI report.
    FM RSADOB_PDFREPORT_GENERATE
    This function module have all the parameters I wish. The problem is that it does not work anymore. It's just an internal test for the SAP guys themselves.
    So ...
    Have anybody an idea how to solve this?
    How to generate a PDF export of a BI report and fill the selection mask and get the PDF (as bytecode or file in the KM) ?
    Thanks lot
    Klaudio

    hi,
    Like you said.. steps are simple and clearly mentioned in guide.
    1. create a variable of type string
    2. after configuring the file adapter , go to corresponding receive activity , go to properties tab
    3. search for a property with name as jca.file.FileName . This basically keeps track of file name
    4. for this property, give the value as name of variable created in step 1 above
    5. Use this variable anywhere in assign / transform
    HTH,
    Ketan

  • PDF print. where save the file?

    Hello,
    on my system (SPAD) is defined ZPDF2 a printer for printing in PDF.
    I want to know where to save the PDF? In a specific file system? How can I see this?
    Best regards
    Silvio

    Hi,
    It is not cleared what is your exact goal ?
    see that the printing is completed but I do not know if SAP has created a file and where to put it
    By default SAP saves the documents in users home directory "C:\Documents and Settings\<USER_NAME>\SapWorkDir".
    Is there a log that tells me what happens when I print a SAP page?
    in SP01/SP02 or SPAD you can see the status of the spool job (success or failed) or its attribute. But it will not tell you where you saved the file because this activity will not come under SAP's control.
    If I am not mistaking SAP generates spool request as per the configured spool device in SPAD. Once you fire the print job it depends on operating system's installed printer (configuration) what to do with that request. Means whether to print as PDF document or send to normal print device.
    If you want more control over print job, you can configure "Access Method" as "G: Frontend printer with Control tech." and set "Host Printer = _DEFAULT". So it will pop-up Operating system printer selection dialog box.
    I hope, it will cleare your doubts.
    One more thing:
    You have 2 methods to get it done...
    A) In case of standard transactions or report, use method as I said in previous post.
    B) If it is custom development, you can take ABAPers help to do the same. below are the steps for the same.
    Basic Steps .
    1) Generate the classical Report output .
    2) Create a Spool Request .
    3) Search  the Spool Request .
    4) Submit the Spool Request  for Pdf  Creation .
    5) Download the Pdf Output in Presentation server  or Application Server .
    Use the Standard Function Modules 'CONVERT_ABAPSPOOLJOB_2_PDF' and 'GUI_DOWNLOAD'
    It will give you a freedom where to save the file..
    Regards.
    Rajesh Narkhede

  • How to prevent end user to create a Query View and save back to BW Server?

    Dear All :
    Do Someone know that how to setup authorization for Bex Query View Creation? We want to prevent end user to create a Query View to save back to BW Server his favorite folder. when our user run Bex Query, he can base on this query and use Bex Analyzer's save function to save a Query View and save into his favorite folder.
    My question is :
    1. Can we set up a Authorization to prevent end user to save Bex Query View?
    2. Or can I remove Save function from Bex Analyzer to prevent end user use save function, But Developer should not to be prevent .
    Thanks for all of your kindly response.
    Best Regard
    Lawrence Kuo

    Hi.
    Yes, you can do it like you outline in your point 1):
    You need to use the authorization object S_RS_COMP for this. This object let's you control what parts/components of a query the user can do stuff to. So, in your case, you need to have a role for the users, where you do not grant create-access to the component QVW, and then you need another role for developers, where you grant full access or whatever you need for your developers.
    See [this post|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a6c54319-0e01-0010-20a4-fb81ad32f330?QuickLink=events&overridelayout=true&5003637661135] and the [SAP Help entry|http://help.sap.com/saphelp_nw70/helpdata/en/80/1a6859e07211d2acb80000e829fbfe/content.htm].
    You will also need to use the authorization object S_RS_COMP1. If you already have a productive system with users doing reporting, both objects will be maintained in one of the roles already.
    You also want to consider using the object S_RS_PARAM to allow users to create variants for the variabel screen.
    Good luck.
    Jacob

  • After the new 10.9.2 Maverick upgrade, my Photosmart C4480 3 in 1 printer can not scan and save the file to desktop or documents.  You can only see the image in the print preview area. Does anyone know how to fix this or when a fix will be out?

    After Aple support downloaded the new 10.9.2 Maverick upgrade on my MacBook Air, my Photosmart C4480 3 in 1 printer can not scan a document and load the file on to my desktop or document file. (You can see the doc image in the preview but it doesn't save it.) Does anyone know an Apple fix for this or when the fix will be out?  After hours of trying reloading, and the usual fixes, etc. Apple told me to call HP, and HP told me they don't support Mac.  It does not seem honorable of Apple to put out an upgrade and not tell people it will destroy their scanning ability, and that the only thing to do is to buy another printer/scanner.

    Have you tried using Applications/Image Capture to scan.
    Vuescan often works.
    VueScan
    VueScan FAQ

  • How to convert Smart Form into PDF format and return the result in BAPI?

    I want to convert a Smart Form into PDF format and return the result in BAPI.
    can anyone tell me how it can be done with related example
    regards
    pranay

    hi,
    smart form to pdf--
    All you have to do is call your SF to get OTF and then concert it to PDF. Works like charm:
    DATA: p_output_options TYPE ssfcompop,
    p_control_parameters TYPE ssfctrlop.
    p_control_parameters-no_dialog = 'X'.
    p_control_parameters-getotf = 'X'.
    CALL FUNCTION v_func_name "call your smartform
    EXPORTING
    output_options = p_output_options
    control_parameters = p_control_parameters
    IMPORTING
    job_output_info = s_job_output_info.
    call function 'CONVERT_OTF_2_PDF'
    tables
    otf = s_job_output_info-otfdata
    lines = t_pdf
    and if u need more u can check below links also
    Check the below links..
    Re: Smartforms to PDF
    Re: smartform (otf) as pdf and sending as email-attachment
    VISIT THIS LINK
    Re: Smartforms to PDF
    PLZ REWARD POINTS IF IT HELPS YOU
    rgds
    anver

  • How to use TextField to add two numbers and show the result.

    hi everybody
    i would like to use JTextField to get addtion of two Numbers,
    for example i am trying to type any integer numbers in JTextField like 7
    and press JButton, called( +) to add anthor number like 7 and press JButton called(=) to get addtion fo
    7 + 7 = 14, at same JTextField.
    so there will be two buttons, one for (+),other for (=).
    i have implement ActionListener in (+) button ,to get Text from JTextField (with getText() method),
    now how do i use same getText() method to get the next number that i will add it with previous number in
    (+) button and get the result whenever i press (=).
    1-type integer number like (4) in TextField.
    2-press addition button(+) to get text by using getText() method and clear TextField.
    3-type anthor integer number like(6).
    4-press (=) button to get the number (6) by using getText() method, calculate 4 + 6 and show the result at same TextField (10).
    i hope it is so clear
    thank u in advance for any advice and suggestion.

    Use your first button to
    String x = JTField.getText();
    int y = Integer.parseInt(x);
    this will get your first value on your + button. Make sure you initialise the int beforehand incase nothing is put in (ie error prevention) then clear the JTField prob using setText(""). Repeat the process for the = button using different variables and add them normally and output the result.
    If your putting more than 1 arithmetic button on the GUI then you'll need to distinguish between them!!!

  • Download a file and give the file name as default name while saving

    Hi folks
    I am facing a problem. I have jsp which fetchs the file name and it's location from the database.
    It can fetch many row's. Now i have provided a radio button, against each row, By clicking on it , the user selects the file to download.
    And clicks on download button, which call an action say "Download File".
    It's downloading the file successfully. But displaying the action name as default name while selecting the location to save the file on local machine.
    I want the file name which he opted to download, should get displayed as default name.

    Set it in the content disposition header.
    The downloadFile() snippet here might give some useful insights: http://balusc.xs4all.nl/srv/dev-jep-pdf.html

  • I have a pdf file attached to email inbox for ipad3.  I also have an neu.Annotate  app for pdf.  Can anyone tell me how to open my pdf through neu.Annotate and save the file?

    How do I save the pdf on ipad3?  How can I view the fiel from neu.Annotate so that I could do the editing from the app?

    If the PDF isn't already downloaded in the email then you should be able to do so by tapping on it.
    If the PDF is open within the body of the email then press and hold it and after a second or so you should get a 'Open In' pop-up; otherwise (e.g. the PDF opens into a separate screen) then tap the PDF and you should get an icon top right of a box with an arrow coming out of it - tap that and you'll get the 'Open In' option

Maybe you are looking for

  • HELP!!! I Can't Authorize My Nook

    I've tried everything posted on this site to get my nook authorized to read the books from the public library. I deleted Adobe and relaunched it,but it still won't authorize my device. Any advice would be helpful. I'm ready to return it, but it's for

  • How can I sync my documents on my devices if I have two different Apple IDs

    I would like to be able to sync my Pages documents on all my devices.  However, one of my devices uses a different Apple ID (my work one).  Is there any way to get Pages to sync the documents created with the first ID onto the device with the second

  • Itunes and iphone issues

    I got the iphone4 and now it turns out i can't connect it to my itunes because i don't have the itunes 10.1 version. I can't get the 10.1 version because i have Mac OS X 10.4.1 and the new version of itunes needs Mac OS X 10.5. How can i get the Mac

  • My Mac Air erroneously thinks I want to log out

    My Mac Air 10.8.5 often interupts a movie with a request for confirmation of log out.  Changing Energy saving settings has had no effect.  I am running on battery but this occurs even when battery is nearly full (it is not a worn out battery either).

  • Error A12E5 When Installing CC

    I have looked at the solutions provided by others (i.e. updating Application Manager), and that did not resolve the issue.  I updated it, it seems to have installed properly, and the CC download will begin, hang, and ultimately error out.