Rename files in PDF Generator

Hi!
This is the situation.
I have an old aplication and im needed to print from it (over 80000 files).
This app always print with the same name (ex RP001) so, i cant use a standard PDF printer, because it keep asking  to overwrite.
I need to know if LiveCycle PDF Generator can help me with this requirement (automatic change files names or something)
PS: Sorry for my english.
Thanks.
Guido.

PDFG can definitely convert PS files to PDF in batch. A typical scenario is either sending these files to LiveCycle via a SOAP, or REST endpoint over HTTP, or the files can be dumped into a watched folder on disk, and PDFG will pick them up and give back a converted PDF.

Similar Messages

  • Combine .ps files using PDF Generator

    Hi all,
    Right now we are using the Livecycle to combine the PDF's to printer, this process was successfully running.
    We got a mail from printer saying that there is repetation of same fonts name displayed in the combine pdf, that need to resolve.
    We have used "RunFlex" option in acrobat professional version to distill the .ps to combine PDF file, this was working fine.
    I need to configure a process to combine the .ps file.
    I configured the PDF's using the "invoke" option.
    Please advice.

    The attached process is as follows:
    It uses PDF Generator > Distiller > Create PDF to generate two PDFs from two .ps files, uses Assembler to merge the PDFs into a single PDF and extracts the assembled PDF from the AssemblerResult object.
    Steve

  • Problems with PDF generator (PLT file to convert)

    Hello everybody,
    I'm having a (maybe) stupid problem trying to print a PDF file from a PLT.
    Here I write the steps I followed to do my test:
    1- download the example file from http://www.winline.com/evalpen_center.html (GL-C-F.plt)
    2- from the Administration Panel of Livecycle ES2 go to Services > LifeCycle PDF Generator ES2 > Convert 3D
    3- set as input the downloaded file and leave the default of the other parameters ("Create PDF", "Standard")
    4- try to generate the PDF.
    Here I have three different issues:
    - the first is that in the result page, if I click on the link of the PDF file generated, I obtain the message "File does not begin with '%PDF-'" and nothing happen;
    - if I click on it and I download the file, I can see it is a PS file, as if LifeCycle generates the PS but it doesn't print the PDF;
    - in the end if I convert the PS to PDF, I cannot see anything because the drawing is completly out of the page and too big to be displayed entirely.
    Could you suggest me any kind of solution or what I have to check in the parameters? I don't know what I can do now because I don't have any other idea.
    If I try to open the file in Adobe 3D Reviewer, I can do what I want, so I think it's not a problem due to compability.
    Thanks,
    Riccardo

    >deskpdf 2.5
    If you were using an Adobe product, someone could probably help but as it is, you aren't using one at all.
    You'll want to check with the support folks at whatever company makes deskpdf 2.5.

  • Cant generate my help file into .pdf format

    Hi All
    I cant't generate my help file into .pdf format for printed documentation.  My .pdf option is not enabled.  How do I get it enabled?  I am on version 8.
    I am following the instructions in help.
    thanks
    Caryn

    Peter,
    Please find my comments inline:
    If I understand you coIf I understand you correctly, any of the Acrobat 8 or greater versions can generate a PDF with the comments feature. Correct please?
    Absolutely!
    That means that one person must have a paid for version of Acrobat, ommenting cannot be initiated by users of Acrobat Reader, the latter only enables you to comment on a PDF that has been created in a paid for version. Correct please
    Yes, the commenting has to be inititated or rather the person with the paid version installed has to assign rights to the reviewers. Only then the assigned persons will receive emails in their inboxes that the document is set for review.
    Regards
    Rajdeep

  • ES2 PDF Generator file not 508 compliant

    I am using the PDF generator service in th
    e ES2. When i take a document that has alt text with the image the converted prf does not have the alt text. Does anybody know what settings address this? Is it a compatiability issue, Acrobat 6.0 or greater?

    Hi Dipti,
    The details on the 'Summary Info' from the report are Not exported to PDF unfortunately.
    I have the latest version on CR installed and it doesn't export too.
    You might want to post this as an Enhancement at the Ideas Place here:
    -Abhilash

  • HT1014 I'm working with imovie 08 and converted movie originally from VHS tape to .m4v files imovie wouldn't recognize it.  I converted to .mov files and imovie generated thumbnails (for hours) and shows a New Event but there is nothing there. Any help?

    I'm working with imovie 08 on Macbook pro OS X and converted movie originally from VHS tape to .m4v files imovie wouldn't recognize it.  I converted to .mov files and imovie generated thumbnails (for hours) and shows a New Event but there is nothing there. Any help?

    markmc78 wrote:
    .. I'm really struggling with the concept of events/clips/projects.
    consider usage of a diff. editor.. iMovieHD6, you're entitled for a free downlaod at apple.com:
    http://www.apple.com/support/downloads/imovieHD6.html
    but IF you're relaxed, opened your mind, follow the bright light, ommmm.. for Events & Stuff:
    your intended workflow will add another step of quality-degradition (8mm>>avi>>mp4>>iM08) ..
    consider the free tool Mpeg Streamclip www.squared5.com for 'chopping' that 90min beast into pieces..
    rename these new chunks, follow advice given on my site:
    http://karsten.schluter.googlepages.com/im08changeeventdate
    there's the manual..
    http://manuals.info.apple.com/en/iMovie08_GettingStarted.pdf
    and the most recommended books from Mr Pogue's Missing Manual series..

  • PDF generated report in Oracle Forms

    Hi folks,
    I'm new in this forum and I want help on how can I generate a report in PDF format just using Oracle Forms (not Oracle Reports).
    This report will be assembled using some parameters that the user will fill in a form when the program starts. When the user click on a button on the form, based on that information, the program will go to the database to recover some data, and then will assemble the report to be shown to the user in a Adobe Reader screen.
    Is it necessary to use the built in CLIENT_OLE2 or anything else?
    Thanks
    Ricardo

    Welcome to the Oracle Forums. Please take a few minutes to review the following:
    <ul>
    <li>Oracle Forums FAQ
    <li>Before posting on this forum please read
    <li>10 Commandments for the OTN Forums Member
    <li>How to ask questions the smart way
    </ul>
    Following these simple guidelines will ensure you have a positive experience in any forum; not just this one! ;-)
    Lets start with some of the basics. What is your Forms version, Client OS version; if web deployed, your browser and Java versions and any error messages you might be receiving.
    ...how can I generate a report in PDF format just using Oracle Forms (not Oracle Reports).What's wrong with using Oracle Reports to produce the PDF file? Manually generating a PDF file means you have to manually format your output and then write it to a PDF file. Oracle Reports is a whole lot easier than this and not prone to the errors you are going to have by manually generating the output.
    If you absolutely have to create your report this way, then I recommend you let the database handle the creation of the file and then simply use Forms to transfer the output file to the client. For this, you would use the WEBUTIL_FILE_TRANSFER.DB_TO_CLIENT or DB_TO_CLIENT_WITH_PROGRESS fucntions to send the file to the client. We need to know the information I request above before we could give you assistance with this.
    Craig...

  • Smartforms: Appending Spool o/p(report)  to  PDF generated by SSF

    Dear Murugesh
    I have attached the code for Appending Spool o/p(report)  to  PDF generated by SSF below
      Please suggest as i will have 2 finish by this SAT.
    (Hint : Under 1 SOrdr there may be several line items==>
      The material with ref 2 every line-item either may be configurable(ZPL3) or nonconfigurable(ZA3C)) .
    *ENCLOSER TO PACKING LIST
    SELECT VBELN POSNR INTO CORRESPONDING FIELDS OF TABLE T_VBAP
                        FROM  VBAP
                        WHERE VBELN = SSORD.
    *For capturing the o/p pages from ZPL3 and consolidating into table
    *T_OTF to get single PDF
      LOOP AT T_VBAP INTO T_VBAP.
        ITNO = T_VBAP-POSNR.
      SELECT SINGLE * FROM ZPP_PLCMH WHERE VBELN = SSORD
                                     AND   POSNR = ITNO.
       IF SY-SUBRC EQ 0.
         SET PARAMETER  ID: 'AUN' FIELD SSORD ,
                            'APO' FIELD ITNO.
         CALL TRANSACTION 'ZPCE' AND SKIP FIRST SCREEN.
         IMPORT A = T_OTF2 FROM  MEMORY ID 'MEMID'.
         LOOP AT T_OTF2  INTO T_OTF2.
           APPEND T_OTF2 TO T_OTF.
         ENDLOOP.
         REFRESH T_OTF2.
       ELSE.
    *For capturing the o/p pages from ZA3C and Appending
    *at the end of the PDF file just created by the above code
        SELECT SINGLE * FROM ZPLH WHERE VBELN = SSORD
                                  AND   POSNR = ITNO.
         IF SY-SUBRC EQ 0.
           SET PARAMETER  ID: 'AUN' FIELD SSORD,
                            : 'APO' FIELD ITNO.
           CALL TRANSACTION 'ZPNE' AND SKIP FIRST SCREEN.
           IMPORT B = SPOOL_ID  FROM  MEMORY ID 'MEMID2'.
           CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
             EXPORTING
               SRC_SPOOLID                    = SPOOL_ID
               NO_DIALOG                      = ''
               DST_DEVICE                     = E_DEVTYPE
              PDF_DESTINATION                = 'LOHP'
            IMPORTING
               PDF_BYTECOUNT                  = BTC
             PDF_SPOOLID                    =
             LIST_PAGECOUNT                 =
             BTC_JOBNAME                    =
             BTC_JOBCOUNT                   =
            TABLES
               PDF                            = T_SPOOL_2_PDF
           EXCEPTIONS
             ERR_NO_ABAP_SPOOLJOB           = 1
             ERR_NO_SPOOLJOB                = 2
             ERR_NO_PERMISSION              = 3
             ERR_CONV_NOT_POSSIBLE          = 4
             ERR_BAD_DESTDEVICE             = 5
             USER_CANCELLED                 = 6
             ERR_SPOOLERROR                 = 7
             ERR_TEMSEERROR                 = 8
             ERR_BTCJOB_OPEN_FAILED         = 9
             ERR_BTCJOB_SUBMIT_FAILED       = 10
             ERR_BTCJOB_CLOSE_FAILED        = 11
             OTHERS                         = 12
           IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.
    ELSE.
           TEXT02 = ITNO.
           MESSAGE I014(ZQOTBANK) WITH TEXT02.
       ENDIF.
    ENDIF.
    ENDLOOP.
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
      EXPORTING
        USE_OTF_MC_CMD               = 'X'
      ARCHIVE_INDEX                =
    IMPORTING
        BIN_FILESIZE                 = BIN_FILESIZE
    TABLES
        OTF                          = T_OTF
        DOCTAB_ARCHIVE               = T_DOC
        LINES                        = T_LINES
    EXCEPTIONS
       ERR_CONV_NOT_POSSIBLE        = 1
       ERR_OTF_MC_NOENDMARKER       = 2
       OTHERS                       = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        BIN_FILESIZE                    = BIN_FILESIZE
        FILENAME                        = 'C:\SD6.pdf'
        FILETYPE                        = 'BIN'
        APPEND                          = 'X'
      WRITE_FIELD_SEPARATOR           = ' '
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
    IMPORTING
        FILELENGTH                      = BIN_FILESIZE
      TABLES
        DATA_TAB                        = T_LINES
      FIELDNAMES                      =
    EXCEPTIONS
      FILE_WRITE_ERROR                = 1
      NO_BATCH                        = 2
      GUI_REFUSE_FILETRANSFER         = 3
      INVALID_TYPE                    = 4
      NO_AUTHORITY                    = 5
      UNKNOWN_ERROR                   = 6
      HEADER_NOT_ALLOWED              = 7
      SEPARATOR_NOT_ALLOWED           = 8
      FILESIZE_NOT_ALLOWED            = 9
      HEADER_TOO_LONG                 = 10
      DP_ERROR_CREATE                 = 11
      DP_ERROR_SEND                   = 12
      DP_ERROR_WRITE                  = 13
      UNKNOWN_DP_ERROR                = 14
      ACCESS_DENIED                   = 15
      DP_OUT_OF_MEMORY                = 16
      DISK_FULL                       = 17
      DP_TIMEOUT                      = 18
      FILE_NOT_FOUND                  = 19
      DATAPROVIDER_EXCEPTION          = 20
      CONTROL_FLUSH_ERROR             = 21
      OTHERS                          = 22
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanx
    Moni
    Message was edited by: md monirujjaman

    Hello,
    Can you explain the problem in detail plz.
    I do see that the logic which was proposed is implemented in code.
    please check at various places, in run time the following points:
    1. Spool ID exported into ABAP Memory.
    2. Contents of the Main OTF IntTab.
    3. Conversion of the Spool to PFD.Check whether SUBRC = 0. <b>Un-comment all the Exceptions in your FMs where-ever you make a call in your program.</b>
       If this conversion of Spool to PDF is successful, you can choose "Append" option from the popup.
    Hope this helps you. Or if you have any specific query let me know.
    Regards, Murugesh AS

  • How many Licenses of Acrobat Professional do I need for Adobe LC PDF Generator

    Hi,
    At our customer site we have purchased 6 licenses of Adobe LiveCycle PDF Generator and have recieved a license file with the keys for Adobe LiveCycle PDF Generator and Adobe Acrobat Professional. We bought the license from a reseller of the product. We understand that the Adobe LiveCycle PDF Generator is a server based software and needs 1 license per CPU. Each of our server (Dev, Val & Prod) have 2 CPU's so we have sufficient licenses (6). We are under the impression that this would suffice. How ever we are not sure on how many licenses we need for Acrobat Professional.
    Here is a brief description of the way we would use Adobe LiveCycle PDF Generator. We are deploying a PLM system and one of the requirement is to render Word documents to PDF so we are using PDF Generator for this capability. On our Adobe servers we will install Microsoft Word, Acrobat Professional V9 Extended and the Adobe Livecycle PDF Generator. We will have around 150 users for the PLM system being deployed. The PLM system is a Web based system which means the PLM application server will be running on a Solaris server in our case. As part of the workflows in the PLM system, at the end of the workflow process, the PLM server would trigger a request to the Adobe server to convert the word document to PDF. The Adobe server processess the request and returns the PDF file that gets generated.
    Based on the above usage of the system how many licenses of Acrobat Professional do we need? We will be installing Acrobat only on the server where we install the Livecycle PDF Generator. We had a call with our purchasing person today and she cautioned us that for Adobe Acrobat Professional we might need 1 license per user of the PLM system. She has asked us to check this with the Vendor of the product. Somehow I don't think it makes sense to purchase so many Acrobat Professional licenses even though we install only once.
    So can someone tell me How does the licensing for Adobe Livecycle PDF Generator work? How many Acrobat Professional licenses we actually need? Is it based on the number of users in the system that is triggering the request? Appreciate your response on this.
    Regards,
    Ragha

    You really should talk to your Adobe Sales Rep about this.  There are all kinds of special deals, licenses and such for customers using LiveCycle.  (For instance the license for PDFG may include Acrobat licenses for certain uses).

  • Error in opening PDF generated through HAP_DOCUMENT(ESS/MSS)

    Hi Experts,
    User is getting an error while opening the PDF generated through "Print" functionality of appraisal document(HAP_Document).
    There is a problem i'am facing in this BSP's,when i click on PRINT after creating Appraisal,it will ask me to either open or save in pdf.
    But when i open or save it and open it is giving me this message in Adobe
    "Acrobat could not open u2018webforms.pdfu2019 because it is either not a supported file type or because the file has been corrupted (for example, it was sent as an email attachment and wasnu2019t correctly decoded).
    To create an Adobe PDF document, go to the source application. Then print the document to Adobe PDF."
    Any body please guide me with a solution.
    With Regards,
    Surender Dahiya

    Hello Surender,
    there may have been connection problems to your content repository when you tried to view this file. I would also recommend that you apply the latest version of the Acrobat Reader. I would recommend that you run a
    trace on the RFC destination to your archive and see what errors are reported when this error occurs again.
    Best Regards,
    Deepak..

  • Bitmap image won't show after converting HTML file to pdf

    I have a program which saves a technical report as a HTML file. I don't  have another choice as to file type to save as. This program has a  template which generates the report....and there are fields which are  filled in...some text fields, and one is a company logo. Just to be  clear the logo itself is not in the template, a holding place is there  which points to the location of the logo on my drive. This is all set up  by the program and can't be altered.
    If I save the logo as a jpg, png or tiff file, the logo shows up in the  final HTML report and if I use Adobe Professional (version 7.0 on Win XP)  to create a pdf the  image also shows up - a perfect replica of the report is created in pdf,  making it convenient for printing and email.
    If I save the logo as a bitmap file (which creates a higher resolution  and sharper looking logo) the logo shows up in the initial HTML  technical report, but when I convert this to pdf the file is not found,  instead it shows as a small square red box with the error "Bad file  image" or "unable to download image".
    I can't understand why this would be the case as the logo is saved in  the same location whether it is jpg, png, tiff or bmp. It just seems  that the Adobe Pro doesn't know how to "find" the bitmap logo from the  HTML template. 
    I did try converting the HTML document to Word but it threw the  formatting out and when it was converted to pdf it cropped the page  & I wasn't able to resolve this...maybe it can be done but it is a  long way around in any case, particularly if steps then need to be taken  to correct the formatting.
    At the moment the document can be printed with success from the original  format - then it's a matter of scanning the printed document in order  to email. It can't be emailed directly because of the embedded  information which is lost if then sent to the recipient's computer.  However it would be nice if the doc could be converted to pdf which  would then make it easier to transfer the file to a backup drive or for  email.  Any ideas? Thanks

    Thanks for your response. Yes I did mean .bmp files.
    The problem is not getting it to show in HTML - but Adobe then picking it up from there. I guess though if it is not a standard format for HTML then maybe Adobe has trouble recognising it if it is there. Also, it is possible for Adobe to convert .bmp files if they are inserted in the HTML file, but I have instead a template with the code for the location of the file rather than the graphic itself.  I don't have this problem using the other file formats and getting them into pdf...it's just that the images aren't as sharp as the bmp. I have tried various formats and resolutions so if there isn't a way I can get the bmp from the HTML file into pdf I might just have to live with printing and scanning from the original. Thanks for your input, it confirms what I was thinking. I'll leave this unanswered for now in case someone else has further information.

  • Why am I getting error messages and sometimes no Bookmarks when I convert some MS-Word files to PDF

    Our company produces educational products for business. Essentially they are e-books in PDF format with Bookmarks allowing for ease movement to various areas of the book. The original product is generated in MS-Word and then converted to PDF. These e-books vary from 40pages to 300 pages in length. Businesses use them as reference and problem solving tools. We are using Adobe Acrobat 7.0 and for what we do it serves our purposes very well.
    Recently, with some MS-Word files only, I have gotten error messages while converting the file to PDF. Sometimes, it will not complete the conversion. Sometimes, it will complete the conversion BUT-there are no Bookmarks in the PDF file.
    The main error message I get is:
    "Acrobat PDF maker has detected 'Highlight Changes in Printed Document' has been selected. To create a PDF file with tags, unselect this option from VIEW>MARKUP. Do you wish to continue and create PDF without tags."
    If I don't unselect VIEW>MARKUP  in the MS-Word file I can't complete the conversion to PDF. If I do unselect VIEW>MARKUP I can complete the conversion to PDF but the PDF file has no Bookmarks. Bookmarks are absolutely essential to the user facility with our products.
    Does anyone know my problem is and can offer a solution.
    Thanks in advance
    BizGuru

    BizGuru,
    Somethings to consider.
    --| In Windows - the OS needs a goodly space for 'elbow room' - you don't want to have HDD free space drop below something like 15%.
       Say your HDD is 600GB, 60GB free space is leaving you 10%...
    -| RAM - May not be enough; more is better <g>.
    --| Virtual Memory - if in Windows, open up Task Manager. Look at all the "stuff" there. Most is not required by the OS.
        Most of the listing is "stuff" associated with a full cart of processes associated with things you may not need or use but they suck up resources.
    --| Graphics - Processing images into PDF can be resource intensive. Having a dedicated graphics card with enough ram makes a difference.
    Be well...

  • Conversion of .txt file to pdf file

    Hi Experts,
    I want to convert a text file to pdf.
    I was able to create a pdf document but unable to open.
    I have followed the following logic
    1) uploaded the file using GUI_UPLOAD
    2)used the FM GET_PRINT_PARAMETERS to set printer settings
    3)Then  used three function modules in order
           a) RSPO_OPEN_SPOOLREQUEST
           b) RSPO_WRITE_SPOOLREQUEST
           c) RSPO_CLOSE_SPOOLREQUEST
    I was able to see the data which I uploaded with the spool id  created in  'SP01'
    4)Then I used the FM CONVERT_ABAPSPOOLJOB_2_PDF followed by
    5) GUI_DOWNLOAD.
    whatever the file size I upload I was able to get just five entries in the table obatined from CONVERT_ABAPSPOOLJOB_2_PDF
    The error which I got when trying to  open the pdf created is "This file cannot be opened becuase it has no pages".
    could any one suggest some solutions

    check the below code if it helps you.
       DATA:    LV_ARCPAR TYPE ARC_PARAMS,
                LV_PRINT_PARMS TYPE PRI_PARAMS,
                LV_BYTECOUNT   TYPE I,
                LV_RQIDENT     TYPE TSP01-RQIDENT,
                LV_MI_RQIDENT   TYPE  TSP01-RQIDENT,
                LV_TEXT TYPE PRI_PARAMS-PRTXT.   "List Text
       DATA:    LV_GD_BUFFER TYPE STRING.
       DATA :   LT_MESS_ATT TYPE STANDARD TABLE OF SOLISTI1,
                LT_MTAB_PDF TYPE STANDARD TABLE OF TLINE,
                LT_OBJPACK  TYPE STANDARD TABLE OF SOPCKLSTI1,
                LT_OBJTXT   TYPE STANDARD TABLE OF SOLISTI1,
                LT_OBJBIN   TYPE STANDARD TABLE OF SOLISTI1,
                LT_RECLIST  TYPE STANDARD TABLE OF SOMLRECI1,
                LT_DOC_CHNG TYPE  SODOCCHGI1,
                LT_OBJHEAD TYPE SOLI_TAB,
                LV_L_ATTACHMENT  TYPE I,
                LV_L_TESTO TYPE I.
       DATA:  LWA_MTAB_PDF TYPE TLINE,
              LWA_OBJPACK  TYPE SOPCKLSTI1,
              LWA_MESS_ATT TYPE SOLISTI1,
              LWA_OBJTXT   TYPE SOLISTI1,
              LWA_OBJBIN  TYPE SOLISTI1,
              LWA_RECLIST TYPE SOMLRECI1.
       DATA : LV_VAL(1).
       CONSTANTS : LC_LINES TYPE PRI_PARAMS-LINCT VALUE 65,  "Line count
                   LC_ROWS  TYPE PRI_PARAMS-LINSZ VALUE 255,  "Rows
                   LC_TEMP_PRINT_PAART TYPE PRI_PARAMS-PAART VALUE
                   'X_65_255'.
       CALL FUNCTION 'GET_PRINT_PARAMETERS'
         EXPORTING
           NO_DIALOG              = 'X'
         IMPORTING
           OUT_PARAMETERS         = LV_PRINT_PARMS
           OUT_ARCHIVE_PARAMETERS = LV_ARCPAR
           VALID                  = LV_VAL
         EXCEPTIONS
           ARCHIVE_INFO_NOT_FOUND = 1
           INVALID_PRINT_PARAMS   = 2
           INVALID_ARCHIVE_PARAMS = 3
           OTHERS                 = 4.
       IF SY-SUBRC <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
       LV_PRINT_PARMS-PAART = LC_TEMP_PRINT_PAART.
       CALL FUNCTION 'GET_PRINT_PARAMETERS'
         EXPORTING
           IN_ARCHIVE_PARAMETERS  = LV_ARCPAR
           IN_PARAMETERS          = LV_PRINT_PARMS
           LAYOUT                 = 'X_65_255'
           LINE_COUNT             = LC_LINES
           LINE_SIZE              = LC_ROWS
           LIST_TEXT              = LV_TEXT
           NO_DIALOG              = 'X'
         IMPORTING
           OUT_ARCHIVE_PARAMETERS = LV_ARCPAR
           OUT_PARAMETERS         = LV_PRINT_PARMS
           VALID                  = LV_VAL
         EXCEPTIONS
           ARCHIVE_INFO_NOT_FOUND = 1
           INVALID_PRINT_PARAMS   = 2
           INVALID_ARCHIVE_PARAMS = 3
           OTHERS                 = 4.
       IF SY-SUBRC <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
       LV_MI_RQIDENT = P_SPOOL.
       CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
         EXPORTING
           SRC_SPOOLID              = LV_MI_RQIDENT
           NO_DIALOG                = 'X'
           DST_DEVICE               = LV_PRINT_PARMS-PDEST
         IMPORTING
           PDF_BYTECOUNT            = LV_BYTECOUNT
           PDF_SPOOLID              = LV_RQIDENT
         TABLES
           PDF                      = LT_MTAB_PDF
         EXCEPTIONS
           ERR_NO_ABAP_SPOOLJOB     = 1
           ERR_NO_SPOOLJOB          = 2
           ERR_NO_PERMISSION        = 3
           ERR_CONV_NOT_POSSIBLE    = 4
           ERR_BAD_DESTDEVICE       = 5
           USER_CANCELLED           = 6
           ERR_SPOOLERROR           = 7
           ERR_TEMSEERROR           = 8
           ERR_BTCJOB_OPEN_FAILED   = 9
           ERR_BTCJOB_SUBMIT_FAILED = 10
           ERR_BTCJOB_CLOSE_FAILED  = 11
           OTHERS                   = 12.
       IF SY-SUBRC <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
       LOOP AT LT_MTAB_PDF INTO LWA_MTAB_PDF.
         TRANSLATE LWA_MTAB_PDF USING ' ~'.
         CONCATENATE LV_GD_BUFFER LWA_MTAB_PDF INTO LV_GD_BUFFER.
         CLEAR LWA_MTAB_PDF.
       ENDLOOP.
       TRANSLATE LV_GD_BUFFER USING '~ '.
       DO.
         LWA_MESS_ATT = LV_GD_BUFFER.
         APPEND LWA_MESS_ATT TO LT_MESS_ATT.
         CLEAR LWA_MESS_ATT.
         SHIFT LV_GD_BUFFER LEFT BY 255 PLACES.
         IF LV_GD_BUFFER IS INITIAL.
           EXIT.
         ENDIF.
       ENDDO.
       CLEAR:  LWA_RECLIST, LT_RECLIST[],
               LT_OBJHEAD, LT_OBJHEAD[],
               LWA_OBJTXT,  LT_OBJTXT[],
               LWA_OBJBIN,  LT_OBJBIN[],
               LWA_OBJPACK, LT_OBJPACK[].
    Object with PDF.
       "   CLEAR LT_OBJBIN.
       REFRESH LT_OBJBIN.
       LT_OBJBIN[] = LT_MESS_ATT[].
       DESCRIBE TABLE  LT_OBJBIN LINES LV_L_ATTACHMENT.
    Object with main text of the mail.
       LWA_OBJTXT = ''.
       APPEND LWA_OBJTXT TO LT_OBJTXT.
       CLEAR LWA_OBJTXT.
       DESCRIBE TABLE LT_OBJTXT LINES LV_L_TESTO.
    Document information.
       LT_DOC_CHNG-OBJ_NAME   = 'STATUS_REPORT'.
       LT_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
       LT_DOC_CHNG-OBJ_DESCR  = 'Generated File'.               "#EC NOTEXT
       LT_DOC_CHNG-SENSITIVTY = 'F'.
       LT_DOC_CHNG-SENSITIVTY = 'O'.
       LT_DOC_CHNG-OBJ_PRIO   = '1'.
       LT_DOC_CHNG-DOC_SIZE   = LV_L_TESTO * 255.
    Pack to main body.
       CLEAR LWA_OBJPACK-TRANSF_BIN.
       LWA_OBJPACK-HEAD_START = 1.
       LWA_OBJPACK-HEAD_NUM   = 0.
       LWA_OBJPACK-BODY_START = 1.
       LWA_OBJPACK-BODY_NUM   = LV_L_TESTO.
       LWA_OBJPACK-DOC_TYPE   = 'RAW'.
       APPEND LWA_OBJPACK TO LT_OBJPACK.
       CLEAR LWA_OBJPACK.
    Pack to PDF.
       LWA_OBJPACK-TRANSF_BIN = 'X' .
       LWA_OBJPACK-HEAD_START = 1.
       LWA_OBJPACK-HEAD_NUM   = 1.
       LWA_OBJPACK-BODY_START = 1.
       LWA_OBJPACK-BODY_NUM   = LV_L_ATTACHMENT.
       LWA_OBJPACK-DOC_TYPE   = 'PDF'.
       LWA_OBJPACK-OBJ_NAME   ='SPOOL'.
       LWA_OBJPACK-OBJ_DESCR = 'Generated File details'.       
       LWA_OBJPACK-DOC_SIZE = LV_L_ATTACHMENT * 255.
       APPEND LWA_OBJPACK TO LT_OBJPACK.
       CLEAR LWA_OBJPACK.
       CLEAR LWA_RECLIST.
       LWA_RECLIST-COPY = 'X'.
       LWA_RECLIST-RECEIVER   = P_EMAIL.
       LWA_RECLIST-REC_TYPE   = 'U'.
       LWA_RECLIST-NOTIF_DEL  = 'X'.
       LWA_RECLIST-NOTIF_NDEL = 'X'.
       APPEND LWA_RECLIST TO LT_RECLIST.
       CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
         EXPORTING
           DOCUMENT_DATA              = LT_DOC_CHNG
           PUT_IN_OUTBOX              = ' '
           COMMIT_WORK                = 'X'
         TABLES
           PACKING_LIST               = LT_OBJPACK
           OBJECT_HEADER              = LT_OBJHEAD
           CONTENTS_BIN               = LT_OBJBIN
           CONTENTS_TXT               = LT_OBJTXT
           RECEIVERS                  = LT_RECLIST
         EXCEPTIONS
           TOO_MANY_RECEIVERS         = 1
           DOCUMENT_NOT_SENT          = 2
           DOCUMENT_TYPE_NOT_EXIST    = 3
           OPERATION_NO_AUTHORIZATION = 4
           PARAMETER_ERROR            = 5
           X_ERROR                    = 6
           ENQUEUE_ERROR              = 7
           OTHERS                     = 8.
       IF SY-SUBRC <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
        REFRESH : LT_OBJPACK, LT_OBJHEAD, LT_OBJBIN, LT_OBJTXT,
                 LT_RECLIST.

  • PDF Generator ES: Monochrome image DPI

    Has anybody had any issues with DPI settings being overridden in output from PDF Generator ES?
    We're passing 200dpi TIFF files in, and getting out PDF files with a DPI of 72 (tested by exporting to TIFF from the PDF) but containing the same number of pixels. The result is the page size is about 2.78 times as large as the original TIFF image.
    Right-click conversion to PDF using Acrobat on the server produces a file with the correct DPI (and therefore page size).
    I did look through the exported PDFG config files, and noticed this:
    > /MonoImageResolution 72
    But this seems to be a base operand for other settings (e.g. thresholds for mono image conversions) and changing to 200 seems to have no effect. Have reverted back to defaults now.
    Converting the TIFF into a PS file then passing that to PDFG gives the correct DPI/page size. Also the same TIFF files come out correctly on PDFG 7.2.
    Putting together a case for Adobe, but asking here in case anyone else has come across this.
    Thanks in advance for all input on the matter!

    I've raised the issue with Adobe and been told that a fix is on the way. If you encounter this same problem and you have a support and maintenance agreement, contact Enterprise Support and they will be able to assist.

  • Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process.

    Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process. I have a client application which will prepare number of source files and some meta data information (in .XML) which will be used in header/footer. Is it possible to put a run time generated DDX file in the watch folder and use it in Process. If possible how can I pass the file names in the DDX. Any sample Process will be very helpful.

    If possible, make use of Assembler API in your client application instead of doing this using watched folder. Here are the Assembler samples :  LiveCycle ES2.5 * Programming with LiveCycle ES2.5
    Watched folder can accept zip files (sample : Configuring a watched folder to handle multiple input files and write results to a single folder | Adobe LiveCycle Blog ). You can also use execute script to create the DDX at runtime : LiveCycle ES2 * Application Development Using LiveCycle Workbench ES2
    Thanks
    Wasil

Maybe you are looking for