How to create a new pdf-document in cfolder

I'm trying to add, via an abap program,  a new Pdf-document as a document in the cfolder-environment. Has anyone information on currently available standard Abap-classes/functions that can be used to do this. If possible some code excerpts that clearly show how to do it.
The data to be used to create this PDF is stored in an internal table created by the function module 'CONVERT_OTFSPOOLJOB_2_PDF'.
Edited by: Van Gorp Jan on Oct 25, 2010 3:02 PM

What is the result of running this code from  the console window:
this.setPageBoxes("Media",this.pageNum,this.pageNum,this.getPageBox("Crop",this.pageNum));
this.getPageBox("Media",this.pageNum);
is the new Media Box the same as the Crop?  It should be.
Thom Parker
The source for PDF Scripting Info
pdfscripting.com
The Acrobat JavaScript Reference, Use it Early and Often
Then most important JavaScript Development tool in Acrobat
The Console Window (Video tutorial)
The Console Window(article)

Similar Messages

  • How  To create a new word document and to serve bookmarks

    how To create a new word document and to serve bookmarks

    there is an example :
    http://www.must.de/default.html?Javactpe.htm
    howerver ,I don't kown how to use in jsp!!

  • The app? How do I open/create a new PDF document using Adope Reader

    How do I use the Adobe Reader app on my android tablet to create a PDF document.  Can the Reader app convert an existing *.docx document to a *.pdf?

    Currently this feature is not available in Adobe Reader.
    Thanks,
    -vaibhav

  • Applescript : how to create a new numbers document

    I know you have to use +make new+ command. But how to specify the path and name. I tried +at, properties+ nothing helps.
    My code:
    *tell application "Numbers"*
    * make new sheet at "Macintosh HD:Users:Nimmy" with properties {name:"test"}*
    *end tell*
    I get an error "Numbers got an error: Can’t make "Macintosh HD:Users:Nimmy" into type location reference". I don't know what should follow (isn't +location specifier+ path to the file?). I would be grateful for anybody who can help.

    (a) it seems a bit odd to try to make a sheet before making a document.
    (b) I assumes that to make a document the location would be a folder, not a string
    (c) to make a document, it would be useful to pass a legal document's name "test" is not one of them.
    I tried with
    make new document at folder "Macintosh HD:Users:yvan_koenig:Desktop:" with properties {name:"test.numbers"}
    This time all seems to be OK but the command failed.
    Normal as it was already described.
    As far as I know, at this time, to create a document we must rely on GUIscripting.
    set myNewDoc to my makeNewDoc("test.numbers", path to documents folder as text)
    on makeNewDoc(n, d)
    tell application "Numbers" to activate
    tell application "System Events" to tell (first process whose title is "Numbers") to tell menu bar 1 to tell menu bar item 3 to tell menu 1 to click menu item 1
    (* menu bar item 3 for menu File *)
    (* menu item 1 for New *)
    tell application "Numbers" to save document 1 as n in file (d & n)
    return (d & n) as alias
    end makeNewDoc
    Yvan KOENIG (from FRANCE samedi 14 février 2009 15:44:20)

  • How to create a new PDF consisting only of the cropped area?

    Hi,
    Is there a way to crop a PDF via javascript in such a way that the new MediaBox contains only the cropped material, where the lower left corner is also located at 0,0? setPageBoxes("Media",...) to match the CropBox doesn’t seem to do it.
    What I need is a scripted method to get around a problem with Acrobat X’s pixel-based compare documents function.  If I crop to trim in both documents for example, it seems to be able to pick out the areas to compare alright, but the annotations that mark any differences are located incorrectly—as if the comparison is performed under one coordinate system and the annotation is handled via another.
    There are ways around this outside of scripting. For example, pdfToolBox5 has a “Set MediaBox to origin” fixup that seems to do the trick, but I’m looking for a scripted method. So far, the only way that I’ve been able to get around the misplaced annotations problem is to export a postscript file after cropping, distill that, and then compare.
    Thanks for any help on this.
    Larry

    What is the result of running this code from  the console window:
    this.setPageBoxes("Media",this.pageNum,this.pageNum,this.getPageBox("Crop",this.pageNum));
    this.getPageBox("Media",this.pageNum);
    is the new Media Box the same as the Crop?  It should be.
    Thom Parker
    The source for PDF Scripting Info
    pdfscripting.com
    The Acrobat JavaScript Reference, Use it Early and Often
    Then most important JavaScript Development tool in Acrobat
    The Console Window (Video tutorial)
    The Console Window(article)

  • The SDK have no C# Sample to create a new PDF-Document

    I have Acrobat Pro XI installed. I have about 100.000 single pages of tif-files. The number of single pages which belong to one document are variable.
    Now I want to write a Programm in C# using .NET Environment to convert this to pdf.
    Thanks for help

    With JavaScript, I think you can use the toPDF converter (may be wrong, might need a plug-in). That would convert a one page TIFF to a one page PDF. Then you would combine the PDFs, by opening one and inserting pages of the other, and save.  Really far from ideal, but possible.
    Bear in mind Acrobat is designed for light duty automation. Close and restart it at least every 100-200 files, perhaps more often.

  • How to include more than 12 files in a new PDF document?

    I have a Adobe PDF Pack, and when I click on crating a new PDF document, they say that I cannot combine more than 12 files...!
    And I want to have a document of hundreds of pages!
    Someone can help me?
    Pleeeeaaase!!!!!!

    Hi Hisami,
    Thank you very, very much!
    It is very useful what you explain.
    One only question, since I have the trying version of Acrobat Pro: how many files can you combine at the time with it?
    May be it depends on the files size.
    I tried yesterday to combine 50 files at the time and it just blocked everything...
    Thanks a lot!
    Have a very good day.
    Henric
    Henric Caldas
    30 rue de Belleville
    75020 Paris
    Home : +33.1.46.36.04.55
    Mobile : +33.6.59.08.02.27
    [email protected]
    Le 28 janv. 2014 à 22:48, "H.Spector" <[email protected]> a écrit :
    Re: How to include more than 12 files in a new PDF document?
    created by H.Spector in Adobe PDF Pack (formerly CreatePDF) - View the full discussion
    To combine more than 12 files into a single PDF file:
    1. Combine file 1 to file 12 then name it (combined 1 for example)
    2. Combine file 13 to file 24 then name it (combined 2 for example)
    3. Keep doing those steps #1 and #2 then combine "combined 1, Combine 2.....Combine 12).
    Another way is to use Adobe Acrobat. Please download Acrobat XI Pro Trial version from www.adobe.com or you can upgrade your subscription to Acrobat Plus(please see more information about Acrobat Plus subscription at https://www.acrobat.com/acrobatplus/en/home.html?trackingid=JPZKR).
    In Acrobat XI Pro:
    1. Launch Acrobat
    2. Select "File" menu > Create > Combine Files into a Single PDF
    3. Click "Add Files" button at top left corner
    4. After adding your files click "Combine" button at the bottom of the dialog.
    Thank you
    Hisami
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6062261#6062261
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6062261#6062261
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6062261#6062261. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Adobe PDF Pack (formerly CreatePDF) at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • How can I create a new Numbers Document through AppleScript?

    How can I create a new Numbers Document through AppleScript?
    I try this:
    tell application "Numbers"
    make new document with properties {template name:"blank"}
    end tell
    But don't work.
    Where can I find documentation about it?
    Thanks

    If you try to invent your own syntax, you are starting on very wrong basis.
    The required syntax is defined by the Numbers AppleScript's dictionary.
    This one doesn't know what is a template.
    This is why, in the link posted by badunit, I use an other scheme to create a new document.
    I know that it's awful but it's the only one available at this time.
    Yvan KOENIG (VALLAURIS, France) samedi 4 juin 2011 11:25:25
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How can you create a writable PDF document from a PPT presentation ?

    How can you create a writable PDF document from a PPT presentation ? Upper part with the image , lower part with a free space in order to take notes for students during presentation or course.
    Thanks.
    B

    You can make a PDF file out of you notes and handouts but using the Adobe PDF printer.
    Open your PowerPoint Document then go to “File” “Print”
    Select ‘Adobe PDF” Printer
    Under slides, select which way you want to print. Note it will not print to a printer but to a PDF file.
    After then go into printer Properties and Setup PDF properties, do the following: (see second image below)
    Default: PDF/A 1-b
    Adobe Security: none (change as needed)
    Adobe Output folder: Prompt for Adobe file name
    Adobe Page size: Letter (change as needed)
    Check the following check boxes
    View Adobe PDf Results,
    Add Document Information,
    Rely on system fonts only,
    Delete Log files for successful jobs.
    Select OK
    A pop will ask you where you want to save the document. The file extension should be PDF. After giving the file name select okay and the file should popup as a PDF. Down side is if you want to speaker notes included then you will have to do another file, like wise with just screen shots then combine into one PDF document.
    I used Acrobat IX Pro. So to do this you need Acrobat IX or X Pro.
    Hope this will help.
    Tiger26

  • I've created a fillable PDF document in XI Pro. I need to change the body of the document and create a new fillable PDF document. When I do that it won't let me create a new PDF. It keeps saying "no new  fields recognized. What can I do to redo my documen

    I've created a fillable PDF document in XI Pro. I need to change the body of the document and create a new fillable PDF document. When I do that it won't let me create a new PDF. It keeps saying "no new  fields recognized. What can I do to redo my document with the changes in the text, but no changes in the fillable fields?

    You start with a source / authoring file for the "static" content (e.g., Name, Last:). Say this is an MS Word file.
    You master the "static" content..
    You keep this authoring file and have a backup of this file.
    You output a PDF and use Acrobat to build and fine tune the "form" (form = the form fields, not the "static" content).
    The authoring file  and output PDF (with form fields) gives you "rev 00".
    Now, you must change something in the "static" content.
    Open the authoring file and save as to a new version (e.g., "wordfile_v00"  becomes "wordfile_v01).
    Output this to "pdffile_v01".
    Use Acrobat to open the PDF form file "pdffile_v00". Save As to a new file name ("pdffile_v00update").
    Using Acrobat XI Pro the click-path Tools - Pages - Replace lets you replace a page or pages of "pdffile_v00update" with a page or pages from "pdffile_v01".
    This replaces the "static" PDF page content and does not affect the form fields on the page.
    (you may have to adjust position of form fields)
    Save "pdffile_v00update" to "pdffile_v01" to reflect the revised status of the PDF form file.
    Be well...

  • How can I remove a page from a PDF document and save it as a new PDF document?

    How can I remove a page from a PDF document and save it as a new PDF document?

    Tools - Pages - Extract and tick the option to delete the extracted page from the original file.

  • How can i edit a PDF document?

    would like to edit a pdf doc. how can i do that?

    It is always best to edit the source document - MS Word, for example - then create a new PDF. If the source document is not available, you can try saving the PDF as a Word document. Sometimes that works reasonably well, other times not so much. It is possible to make small edits using the Content Editing tools in Acrobat, but do not expect too much. Acrobat is not a word processor.

  • How to create a new System Data

    Hi guys.
    I need to create a new System Data with which to filter a list output using a field derivated from siebel marketing. This data isn't between the standard system data like CampaingCode, SegmentId .....
    Now i discover one .XML file (someting like Marketing....xml), in the OracleBIData/web/config directory, in which there are defined all the standard System data like:
    <WebExpression>
    </WebExpression>
    Can I try to modify this file and add a new system data? if the answere is YES, hao i can do this? My real problem is how take a system value, from siebel marketing, to assign at this new systme data.
    Thanks in advance
    Best reguards

    Hi
    thanks for your solution,
    i created a new Data carrier type AC for viewing auto cad files and given the path as, C:\Program Files\AutoCAD 2006\acad.exe"
    and at Define serveres and files or folders,
    defined the data carrier as Autocad type was default as AC,
    at Identify frontend computers i could not enter any thing it is only in display form and no values were there and niether could be entered.
    and my datacarrier created is not there to be selected while creating documents.
    through CV01N create documents.
    i suppose this is because i have already defaulted PC as the data carrier type. default system as my data carrier.
    please clarify my Below douts also
    as in my configuration i have defined only one Datacarrier ie Default PC, will this do all the need full, or will lead to to any complication in any aspect,
    i want to know what is the Advantages of defining many datacarriers or the Limitation of a single Datacarrier.
    iam facing a situation where a particular software say PDF reader or AutoCAD, is not installed in all the System. and iam thinking of installing this Software in a particular System or say in the Content Server system.
    can this software be made used to view these cad and Pdf files on the front end system where this software is not installed,
    Say in a particular PC the software AutoCAD is not installed and if he wants to View the AutoCAD file,
    another problem iam facing is
    while Creating a New AutoCAD file in my system through DMS Create, it gives a message "Drawing file is not Valid"
    while i can create a Word Doc File, but it is not possible to create a new AutoCAD file throuh DMS, (AutoCAD is Installed in my system)
    also i have no idea of how to create a New Data carrier type,
    what exactly have to be filled in
    1, define data carrier type
    2, define server and files or folder
    3, identify frontend computers
    please provide configuration details or if possible screen shot details
    points will be awarded for sure.
    Thanks and Regards
    Sathish

  • How to create a new repository in EP 6

    I was wondering how to create a new repository in EP 6 SP2 CM.  I am farmiliar with using repository managers, but I just want to create a new repository similar to the dfaul repositories that are provided by sap, such as "discussions or documents".  The reason is that I want to be able to report "only on the size of this repository"
    Thanks
    Jeremy

    Jeremy -
    You can create a CM repository using the following path:
    System Administration -> System Configuration -> Knowledge Management -> Configuration -> Content Management -> Repository Managers -> CM Repository
    Click on the New button.
    Enjoy!
    Kyle

  • How to create a new partion in my HP (Compaq LE1902x )PC that has already 4 primary partitions ?

    How to create a new partion (to save my files & Folders) in my HP (Compaq LE1902x )PC that has already 4 primary partitions ? when something goes wrong along with OS(C) drive my all files are lost. so i want to create a new partition & dedicate it to my files & folders.

    I would consider another problem. What if the hard drive (not the OS) fails. You'd lose all your data, all partitions. It seems better logic would be to copy your files and folders to either an external hard drive or USB thumb drive.
    I would not use the internal backup program, but would manually copy the data. I also would not leave such device attached to the computer.
    In my system I have a separate USB thumb drive that stored critical medical and legal documents. That way, I can travel with it, as needed. I also clone my primary desktop every 30-45 days. That way, if I get a failure, it's only that far back on lesser files.
    I am a volunteer. I am not an HP employee.
    To say THANK YOU, press the "thumbs up symbol" to render a KUDO. Please click Accept as Solution, if your problem is solved. You can render both Solution and KUDO.
    The Law of Effect states that positive reinforcement increases the probability of a behavior being repeated. (B.F.Skinner). You toss me KUDO and/or Solution, and I perform better.
    (2) HP DV7t i7 3160QM 2.3Ghz 8GB
    HP m9200t E8400,Win7 Pro 32 bit. 4GB RAM, ASUS 550Ti 2GB, Rosewill 630W. 1T HD SATA 3Gb/s
    Custom Asus P8P67, I7-2600k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX660 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Custom Asus P8Z77, I7-3770k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX670 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Both Customs use Rosewill Blackhawk case.
    Printer -- HP OfficeJet Pro 8600 Plus

Maybe you are looking for

  • How can I convert a String into an int?

    I need to use command-line args. So I enter "java Main 123" and I want to use 123 not as a String but as an int. How can I convert it into an int? Thank You!! Sprocket

  • Office Web Apps Error

    hi - I have Office Web Apps 2013 installed and configured on my dev server.  It's set to allow HTTP. When I try to preview a Word document, the frame displays the following message: This content cannot be displayed in a frame.  To help protect the se

  • JDev 11.1.2 dropping a data control creates new DataControl Usage

    After installing JDev 11.1.2 in a new Oracle Home I've been dealing with some weird behaviors Now, each time I drag a Data Control into a page, a new Data Control Usage is created. However, View objects do not appear inside Data Control in the bindin

  • SCCM 2012 R2 CU2 Admin Console Connects But Closes In A Few Seconds

    I built a new SCCM 2012 R2 CU2 suite on Server 2012 R2. There are four servers: site server, secondary DP, WSUS/SUP, and a SQL server. On the first three the SCCM Admin Console will open. But when logged into the SQL server, the Admin Console opens

  • How do I delete over 1500 junk emails at one time?

    Help! I have over 1500 junk emails, but how can I get rid of all at once on my ipad2?