JComponents split into multipage pdf

I've big troubles trying to stream large JComponents into a multi-page pdf. Watching other threads I learn there's no way to make this in a simple way; what's the best way to solve my problem?
I want to make "photoes" of my JPanels, with the ability to split them over multi-pages, without page break JPanel's child components.
I need to override paintComponent() and related methods, or just fop give me some other useful instruments?
Could an intermediate SVG encoding step help me for this porpouse?
Best regards,
Fabio

Not possible with Adobe Reader. You can extract pages from a unprotected PDF document with Adobe Acrobat.

Similar Messages

  • How to display the data in PDF format : problem is splitting into 2 lines

    Hi ,
    I developed one report which downloads the data into PDF format and saved in C drive but my problem is
    in my program : Line size of the report is 255 in PDF it is splitting into 2 lines. it has to show in a single line. how to do it. how to reduce the width of the output? i am sending my code below. anybody can suggest me how to do it. if possible please send me the code.
    my code:
    report zmaheedhar.
    maheedhar-start
    TABLES : vbak.
    parameters : p_vbeln type vbak-vbeln.
    data : begin of itab occurs 0,
            vbeln type vbak-vbeln,
            ERDAT type vbak-erdat,
            ERZET type vbak-erzet,
            ERNAM type vbak-ernam,
            ANGDT type vbak-angdt,
            BNDDT type vbak-bnddt,
            AUDAT type vbak-audat,
            VBTYP type vbak-vbtyp,
            TRVOG type vbak-trvog,
            AUART type vbak-auart,
            AUGRU type vbak-augru,
            GWLDT type vbak-gwldt,
            SUBMI type vbak-submi,
            LIFSK type vbak-lifsk,
            FAKSK type vbak-faksk,
            NETWR type vbak-netwr,
            WAERK type vbak-waerk,
            VKORG type vbak-vkorg,
           end of itab.
    maheedhar-end
    DATA: pripar TYPE pri_params,
          arcpar TYPE arc_params,
          lay TYPE pri_params-paart,
          lines TYPE pri_params-linct,
          rows TYPE pri_params-linsz.
    DATA: val(1), val1(1).
    *---> Local Printer Name defined in SAP, Change NHREMOTE to your local printer
    DATA: dest TYPE pri_params-pdest VALUE 'ZNUL'.
    DATA: name TYPE pri_params-plist VALUE 'Testing'.
    DATA: i_pdf TYPE STANDARD TABLE OF tline.
    DATA: spono TYPE tsp01-rqident.
    maheedhar-start
    top-of-page.
    write: 'Sales Document' , 'C Date', 'Entry time', 'Created By','Quotation date',
           'Date','Document Date','SD document category','Transaction group','Sales Document Type',
           'Order reason'.
    start-OF-SELECTION.
          select vbeln  ERDAT ERZET ERNAM ANGDT BNDDT AUDAT
                  VBTYP  TRVOG AUART AUGRU GWLDT SUBMI LIFSK
                  FAKSK  NETWR WAERK VKORG from vbak
            into table itab
            where vbeln = p_vbeln.
    maheedhar-end
    --- Retreive local printer details
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        destination            = dest
        no_dialog              = 'X'
        immediately            = ' '
      IMPORTING
        out_archive_parameters = arcpar
        out_parameters         = pripar
        valid                  = val
        valid_for_spool_creation = val1
      EXCEPTIONS
        archive_info_not_found = 1
        invalid_print_params   = 2
        invalid_archive_params = 3
        OTHERS                 = 4.
    IF sy-subrc NE 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    *-- Set Spool printer details w.r.t local printer
    pripar-prdsn = 'DSN'.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        in_archive_parameters    = arcpar
        in_parameters            = pripar
        no_dialog                = 'X'
        list_name                = name
      IMPORTING
        out_archive_parameters   = arcpar
        out_parameters           = pripar
        valid                    = val
        valid_for_spool_creation = val1
      EXCEPTIONS
        archive_info_not_found   = 1
        invalid_print_params     = 2
        invalid_archive_params   = 3
        OTHERS                   = 4.
    IF sy-subrc EQ 0.
    ---> Triggers the spool creation in the sense all the write statements from hereon will be written to spool instead of screen
      NEW-PAGE PRINT ON
      NEW-SECTION
      PARAMETERS pripar
      ARCHIVE PARAMETERS arcpar
      NO DIALOG.
    ELSE.
      WRITE:/ 'Unable to create spool'.
    ENDIF.
    *--- Output statements
    *WRITE:/ 'First Line', 'mahee','lklk','kikik','lokiuj','fffff','kijuyh','fgfgfgfg','gtgtgtgtgtgtgtgtggggggggggggggggggggggggggggggg'.
    *WRITE:/ 'Second Line'.
    LOOP at itab.
    write: itab-vbeln,
            itab-ERDAT,
            itab-ERZET,
            itab-ERNAM,
            itab-ANGDT,
            itab-BNDDT,
            itab-AUDAT,
            itab-VBTYP.
    ENDLOOP.
    "---> Close spool
    NEW-PAGE PRINT OFF.
    spono = sy-spono.
    Convert ABAP Spool to PDF
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
      EXPORTING
        src_spoolid                    = spono
        no_dialog                      = 'X'
    TABLES
       pdf                            = i_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.
    Download PDF contents to presentation server
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename                        = 'c:\test.pdf'
        filetype                        = 'BIN'
      TABLES
        data_tab                        = i_pdf
    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.
    thanks,
    maheedhar

    hi tripat,
    actual problem is what u said it is decreased the wiidht of the output.
    now the output is:
    Sales Document C Date Entry time Created By Quotation date Date Document Date
    SD document category Transaction group Sales Document Type Order reason
    62741 07/29/1996 11:54:38 DARLENE 00/00/0000 00/00/0000 07/29/1996 C
    actual output is:
    output should come in a single line. it is splitting into 2 lines.
    thanks,
    maheedhar

  • Trying to convert a multipage PDF into multilayered PSD. Automatically, not one by one - manually. Please help!

    as per title - i have a multipage PDF that i want to transfer into a multilayered PSD.
    not one by one - but automatically.
    my attempts of recording a set of actions failed.
    Please help.

    This would likely need Scripting at least.
    But like station_two indicated people might feel more inclined to help if the necessity for the process were clearer.
    And converting pdfs into pixel images is often a bad choice.

  • A pdf file failed to convert to word, presumably because of size.  how do i split a large pdf file into manageable secrtions?

    I'm running Abode Reader XI version 11.0.7.  Repeated attempts to convert a large (439 page) file, a dissertation, failed.  How do I split a large pdf file like this into manageable sections for conversion?

    Hi Mike,
    Your 11MB file is well within the file-size limits for ExportPDF, but depending on the number of pages, complexity of the file (and yours doesn't sound complex), and your connection speed, it is possible that the service is simply timing out before it can finish processing. These steps can help:
    If the file already contains editable text (that is, it isn't a scanned document), try disabling OCR as outlined in this this document: How to disable Optical Character Recognition (OCR) when converting PDF to Word or Excel.
    Clear the browser cache and try again.
    Try a different browser.
    Let's start there. If you still can't export the file to Word, let me know and we'll take it from there.
    Best,
    Sara

  • Why does a mail-merge in MS Publisher split into multiple files when printed as a pdf file?

    Why does a mail-merge in MS Publisher split into multiple files when printed as a pdf file?

    'Cuz that's what mail merges do.  They create multiple documents based on the parent doc and all the names/addresses in your data tables.
    Perhaps if you describe exactly what you're trying to do & why you need PDF, we can point you to relevant tutorials.
    Nancy O.

  • Split a long PDF form programmatically into smaller PDF forms

    You can programmatically split forms using LC Assembler service and use the DDX. You could extract page1 from pdf1 and create a pdf, then page2 of pdf1 into a different PDF using something similar to:
    <?xml version="1.0" encoding="UTF-8"?>
    <DDX xmlns="http://ns.adobe.com/DDX/1.0/">
    <PDF result="Final.pdf">
         <PDF source="PDF1.pdf" pages="1"/>
    </PDF>
    <PDF result="Final2.pdf">
          <PDF source="PDF1.pdf" pages="2"/>
    </PDF>
    </DDX>
    To split according to Level 1 bookmarks, you can also use the PDFFromBookmarks tag.
    For example,
    <PDFsFromBookmarks prefix="stmt">
         <PDF source="doc1.pdf"/>
    </PDFsFromBookmarks>
    More info is available in the Assembler Service and DDX Reference available at http://help.adobe.com/en_US/livecycle/10.0/ddxRef.pdf.

    Sorry, but making single PDF from many smartforms is not what I want to achieve. I wold like to know how to get one PDF document made by ALC-forms.
    In my example I have many PDF documents. So, how to get (or put) them all in one PDF?
    ps: the way to get one PDF from smartforms is also here:
    "Combining Multiple Smartform Outputs Into One PDF file"
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450

  • Can one large pdf be split into a packaged pdf?

    can one large pdf be split into a package without having to extract pages then merged back together?
    i have been scanning documents and some have been over 400 pages.
    i have been creating seperate pdf's for each appendix/section then merging them into a packaged pdf to find each appendix easier.
    but it is a bit time consuming to look at the 400+ pages then removing each appendix.
    so i was wonder if it is possible to just find where all the appendixes start and have them put into package without need to extract each appendix one at a time.

    Graffiti:
    Correct. Knew that about other formats not being able to be seen by all users.
    I tried exporting a PDF to HTML and then couldn't place it in an email without it loosing formating. I'm a long-time PM/ID (even before Adobe) user and am not familiar with Dreamweaver, which I guess I need to learn now. Thanks for the response.

  • Convert multipage Spool (ALF)  into separated PDF documents

    Hi,
    is it possible to convert one multipage ABAP spool(ALF) into separated PDF documents. For example: I have a spool with 3 pages and want to convert it into 3 different PDF documents.
    With function 'CONVERT_ABAPSPOOLJOB_2_PDF' I can only convert into one PDF document.
    Thanks in advance,
    René

    hi,
    Welcome to SDN forum.
    Refer to these links
    Re: ALV List as PDF
    Re: Print to PDF file
    Reward with points if it is helpful
    Regards
    Alfred

  • Getting Canon 4770 to scan multipages into a PDF file while using the document feeder

    Hi All
    I'm new to this forum.  So if I break any rules with my questions below, kindly forgive me.
    But my questions are about my Canon MF4770 printer.
    1.  Why can't I used the document feeder to scan multiple pages into one PDF file?
    2.  Why do I have to constantly select the remote scanner option when the printer is connected to my computer?
    Any help I can get will be very appreciated.
    Starlene

    Hi Starlene and welcome to the Canon forum,
    The ability to scan multi-page documents can depend on your operating system and version, and if the scanning software being used supports the feature.  However, the MF Toolbox application that accompanies your laser product offers this option when scanning via a USB connection to your computer.
    For example, if you are using Windows, below are the steps that would be performed:
    1.  Place documents.
    Note: Up to 35 documents can be loaded in the feeder.  Be sure to fan the stack, place it face up, and align the document guides to the width of document.
    2. Press [SCAN].
    3. Press [^] or [v] to highlight <Remote Scanner>, and then press [OK].
    The machine is now waiting to be scanned.
    4. Double-click the [Canon MF Toolbox 4.9] icon on the desktop.
    The MF Toolbox starts.
    5. Click [PDF].
    Select [PDF (Multiple Pages)] in [Save as Type].
    7. Specify the required settings as needed and click [PDF Settings].
    The [PDF Settings] dialog box appears.
    8. Specify the required settings as needed and click [OK]:
    [Create Searchable PDF] Converts the characters in the document to text data and makes the PDF document searchable with keywords.
    [Text Language] Select the language of the text to be scanned. The characters may be recognized more accurately if you select [English] from the drop-down list and set [Image Quality] to [300 dpi] or higher in [Scanner Settings].
    [PDF Compression] Select [High] for color images such as photos or illustrations to reduce file sizes.
    9. Click [Start].
    Note:
    A folder with the scanning date will be created in the [MY PICTURES] folder in the [MY DOCUMENTS] folder, and your document will be saved in this folder. If there is no [MY PICTURES] folder, the folder with the scanning date will be created in the [MY DOCUMENTS] folder and your document saved in this folder.
    For text documents or black-and-white documents, it is recommended you select either [BLACK and WHITE] or [GRAYSCALE] in [SCAN MODE].
    If making a Multiple PDF with color documents ([IMAGE QUALITY] set to [300 dpi]), it is recommended that the PDF have fewer than 20 pages.
    The MF toolbox can be loaded from your software CD or downloaded here from the "Drivers & Software" tab on the Canon USA website.
    I can understand some confusion on having to select "Remote Scanner" when you have a direct computer connection to your product.  The reason for this is that first, the "Remote Scanner" mode refers to seeing your computer as a stand alone, or remote, device; however, the "Computer" scanning mode option allows you to select which computer will be performing a scan when doing so over a network (Max: up to 10 computers).
    Another reason for having to select the scan mode is that the selection is not programmed but selected based on the type of scan you will be performing at the time.
    If this does not answer your questions or we can offer further assistance, please feel free to Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Placed Multipage PDF crop to preset

    I'm repeating the same actions over and over with many, many files into many, many documents and thought I'd ask to see if anyone could help to speed me up by removing one repetative step.
    I'm placing multipage PDFs into an indesign document.
    For example:
    page 1 of multipage PDF goes on page 13 of the INDD
    page 2 of multipage PDF goes on page 14 of the INDD
    page 3 of multipage PDF goes on page 15 of the INDD
    page 4 of multipage PDF goes on page 16 of the INDD
    Every single time I go to place the document I have to select the page to place (this seems reasonable) but also the crop to, which is always "bounding box" whereas I always want "Media".
    Is there any way to fix this option to media?
    I don't want to split the PDFs into separate pages as I don't have all the fonts and by splitting them the fonts are no longer embedded. Also, each of the documents has varying different fonts so chasing them all down would be an expensive nightmare.
    I'd be interested to hear how other forum members would tackle such a task!

    Peter Spier wrote:
    It shouldn't be changing like that. Try trashing the prefs. See Replace Your Preferences
    I've been working on this issue and trashing prefs hasn't fixed it. The other problem I was experiencing is also back (show baseline grid shortcut not working).
    I've tried the following:
    Manual trash of prefs
    Trash prefs using the cmd-alt-ctrl-shift starup option
    Removed every utility I could find, rebooted and trashed prefs again
    Interested to hear if there are any utilities known to mess with InDesign

  • How to view a multipage PDF in the form of a contact sheet?

    There are plenty of discussions over how to place a multipage PDF into an InDesign document ONE PAGE PER PAGE. But I fail to find out if there is a way (within a CS2 environment) to place a multipage PDF continuously as "thumbnails" either 1 : 1, or scaled down, filling each page in the document in a way similar to the Data Merge tool, for example - so as to create a contact sheet of the PDF pages.
    The only way I see is to place the PDF the usual way, export the document as individual images, and then make a contact sheet using Bridge or Photoshop - which I find rather inconvenient.
    Any hint, please?
    Thank you, Pataka

    In Acrobat Pro print to Adobe PDF.
    In the settings for Layout choose for instance
    16 pages per paper sheet.
    One get's a PDF with one or more new pages,
    which can be placed in ID if necessary.
    Sometimes that's called printing N-up, here 16-up.
    Best regards --Gernot Hoffmann

  • How can a 2 column text frame be split into 2 separate text frames?

    Hi InDesigners,
    I have a 12 spread (22 page) document that was originally created with a single column primary text frame in CS6. It contains text and anchored images throughout the doc. (images are anchored to the text frame).
    My client now wants each page split into 2 columns, but the columns need to have different widths - the left column needs to be narrower than the right. Although I can create 2 columns in a single frame, it's not possible to adjust the column widths separately, so I need to get them into 2 separate frames.
    Is there a way to convert a 2 column text frame into 2 separate text frames, so I can resize the column widths invididually?
    kind regards,
    -c

    hi, Thanks for the replies,
    The doc size is 8.5"x11", with 1/2 " margins. I never mentioned anything about it being a book. (It's just a paper my client wrote and woud like a PDF of it). The reason for the uneven columns is he wants the images to be 4" wide. For some reason, he wasn't keen on just a single column with text wrapped around the pix. I proposed making a 3" left column threaded into a 4" right col with a .5" gutter between them and he wants it that way.
    Thank you both for your respones. I'll try the script
    -c

  • Import multipage pdf in an Illustrator document

    Hello,
    Does a script exist to import multipages pdf document in an illustrator document ?
    I usually use InDesign to import multipage document with the script named "pdf import".
    The goal of the manipulation is to outline fonts, or resize the different boxes (Trim box for exemple).
    An other question : can we import a ".jsx" file made for InDesign into Illustrator ?
    Thank you for your help.

    Illustrator has a PDF open options object with allows for sizes height, width, boxes i.e. media art crop and page to open.
    I have so far NOT tried scripting this but should NOT think its too much of a problem with the exception of knowing how
    many time you need to loop to get all the pages in the PDF. The scripting guides contain a basic example too.

  • How [Insert|Add] Image into Opening PDF file with Acrobat SDK.

    Hi Guys,
    I'm trying to insert|add image file into opening PDF file with specified location (X|Y) and scale (Width|Hight) but got many of troubles
    If use third party like iTextSharp or something else thing become simple but i want to use Acrobat SDK to do this
    Any suggestion or idea?
    Any help appreciated.

    Thank for your interested.
    I use VB.NET and Acrobat
    Here is some my code:
    Try
       If File.Exists(T(0)) Then
       Dim AcroAVDoc As AcroAVDoc = Ap.GetActiveDoc
       Dim AcroPDDoc As AcroPDDoc = AcroAVDoc.GetPDDoc
       Dim AcroPDPage As Acrobat.AcroPDPage = AcroPDDoc.AcquirePage(Integer.Parse(T(3)))
       Dim data() As String = T(1).Split("^")
       Dim imgX = data(0)
       Dim imgY = data(1)
       Dim imgWidth = data(3)
       Dim imgHight = data(4)
       'TODO: insert into opening PDF file
       Return 1
       End If
       Catch ex As Exception
       End Try
    I don not know what to do next to insert an image (JPEG, PNG, ..) into PDF file.
    Can you show me or suggest some solution, idea?
    Thank in advance.

  • Converting a multipage pdf to a multipage jpeg in acrobat pro x

    I was wondering if anyone has any tips on how to convert a single multipage pdf into a single multipage jpeg in acrobat pro x.
    Thanks

    I did not know there were multipage JPegs under the JPeg standard (there are multipage TIFFs). In any case, Acrobat does not create multipage documents but will save a file as multiple files -- one for each page -- in either TIFF or JPeg. You should then use a graphics editor to combine them into one file. Irfanview might do the job, but am not sure.

Maybe you are looking for

  • How do we share one iTunes account but have separate users

    My family all have apple products, but cant figure out how to share one account as a family, share applications, and the rest, but have differant users. Is there an actual way to do this?

  • How can I silence my MacBook without powering it down?

    Quick summary My MacBook is running OS X Mavericks and has an unidentified hardware problem with the optical disc drive that, among other things, causes it to make an annoying sound four times right after each other anytime the MacBook checks if ther

  • Is my internal hard drive dead?!? (iMac mid-2007)

    Hi everyone, My aluminum iMac (mid-2007) is behaving strangely recently. I'm suspecting some internal hard drive failure. Here are the symptoms: 1) Difficult wakeups from sleep mode: two times out of three, the spinning beachball appears on each open

  • How do I find what carrier my phone is locked to?

    I recently sold a brand new iPhone 4S on eBay to a person in another country.  The phone was unlocked. He started an eBay dispute and said the phone was not working and wanted to return it. He returned what looked like my phone.  Same specs and every

  • "An error occured saving the ActiveX control"

    I pulled up an old LabVIEW program today that I used to work on under Win-NT. Now I use Win-XP. We're talking about LabVIEW 5.1.1 on this program. The program suddenly throws "An error occured saving the ActiveX control" when I try to save the progra