Pdf print and view using swing

hello
i am created one pdf file from original pdf file with data using itext library,but now my problem is how can view this file and print this pdf file using swing printing api

but how to print?
Note: Just because the PDF DocFlavor exists doesn't mean you can use it to print a PDF file. When you lookup the PrintService for the PDF flavor,it will report unsupported flavor. That means there is no print service for the flavor. Sun doesn't provide one for PDF files. To the best of my knowledge,nobody else makes one available either. Until such a time as someone does,you can't print PDF files using the new Print Service API.
??? is there another way to print a pdf-file directly from filesystem without using the command line like:
C:\..\Acrobat 5.0\Reader>acrord32.exe/t test.pdf
thanks for replys
mfg

Similar Messages

  • Using PDF Printer and MS SharePoint

    We love the new functionality with Acrobat and Sharepoint, however, we noticed there is a problem when using the Adobe PDF Printer to save to a Sharepoint Library.
    None of the Sharepoint functionality works when you save to a Sharepoint library from the PDF Printer!!!
    We have users that (in an effort to cut down on paper printing costs) screen-print a report from an external application using the Adobe PDF Printer. We would like for them to be able to immediately drop these into a Sharepoint library which has required metadata fields in it. The problem is that, while this functionality works when you already have a PDF open and try to save to this library, the user is never prompted to fill out the required metadata whenever they use the PDF printer.
    Steps:
    1.     User hits the print button and selects the Adobe PDF Printer
    2.     User gets a Save-As dialog box where they select the sharepoint location (via a mapped drive)
    3.     The screen-print then pulls up in Acrobat
    ***The problem is, the document somehow successfully saves to the library but stays checked out. The user can just close the document and is never prompted for the metadata.

    Dear SAP_Wiz
    Thanks
    It is a sapscript out put.
    Converting output to spool and then to PDF is definetly a way.
    However, seens SAP has already provided a PDF printer and which asked for email as parameter, It could be easy.
    Is email ID as parameter is really not there is PRINT PARAMETER. ????
    - SUNIL

  • I have home videos in iCloud.  How do I view them on iPad?  Tech said to load iTunes and view using that but there is no itunes for ipad.

    I have home videos in iCloud.  How do I view them on iPad?  Tech said to load iTunes and view using that but there is no itunes for ipad.

    You can download a complete iPad 2 User Guide here: http://manuals.info.apple.com/en/ipad_user_guide.pdf
    Also, Good Instructions http://www.tcgeeks.com/how-to-use-ipad-2/
     Cheers, Tom

  • Printing to Adobe PDF printer and getting the same document, possible??

    Hello:
    I need to split a page A4 into 2 pages, it's possible using print, then tile large pages, the problem is that my original document is black and white, but the generated one has a shades of gray visible when zooming to 800% (and the size is much bigger), so my question is:
    is it possible to print a document to Adobe PDF printer and getting exactly the same document?? same size, same black and white
    I'm using acrobat6

    I suspected as much.  I was hopeful it was something like a setting that needed to be changed or a reg hack that needed a bit changed from 0 to 1 to make the printing work as expected.  I only installed the local printer to see if the RDP session
    tunnel was in fact causing the print size to balloon so I will continue to instruct users to use that instead of the local redirected printer.  I am disappointed but not surprised.
    Edit:
    Additionally I have tested the functionality of setting the GPO settings for Easy Print to use the redirected printer's drivers instead of the ones used by easy print, by setting “Computer
    Configuration -> Administrative templates -Windows Components -> Remote Desktop Services > Remote Desktop Session Host -> Printer Redirection”.
    to “Disabled” but
    with no luck.  In fact the printer received the proper Adobe PDF driver, but the job went out into print spool hell and was lost to the ether.  I have concluded that this approach will not bear any fruit.

  • PDF 'print' and other 'next' and 'finish' commands hidden behind deep icon tray on monitor. Help!

    Pavilion Slimline s5212y desktop, Windows 7
    I can't find info on how to control lower icon tray depth so that I can see and click on various program install, PDF print and other 'print', 'next', 'finish', etc. commands. 

    Hello Veebeep
    If I understand you correctly your PDF viewer is not giving you the options you posted above. Click on View and ensure that both Read Mode and Full Screen Mode are unchecked. This should get your options back if you are experiencing that I am thinking you are. If this does not work if you could elaborate a bit on your issue I will try to assist.
    Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • Office PDF Print and office PDF creator(adobe plugin) create different line thickness result

    Hi together,
    Office PDF Print and office abobe PDF creator(adobe plugin) create different result. It seems that Adobe PDf creater improves line thickness to 1pt instead of 0,3pt. Is there a setting to change to original 0,3 because this 0,3 are standard line thickness for our documents. with adobe V9 the line was 0,3pt. (we need thin, mid and thick lines)
    After 2 day's google searching this is the last change for hope :-)
    Software Versions
    Windows 7
    MS Office 2007 (12.0.6668.5000) SP3 MSO (12.0.6662.5000)
    Adobe Acrobat X (10.1.7)
    Left: MSO Adobe Plugin / MId: MS Word / Rigth: PDF printed over "print" AdobePDF printer

    Hi Bill,
    Thanks a lot for the fast reply, i have tested it with 300dpi but I didn't get a different result. The bad thing is that not all lines getting thicker. if there is no arrow or ball at the end of the line the line thickness will not change (see Pic). I think this is a Acrobat error, i don't think that this will improve the pdf quality if the progam changes only some lanes and not all to 1pt.
    I Think we must downgrade to version 9.

  • File printed to pdf printer and physical printer

    hallo,
    as the title says, my application prints files and they are printed to a pdf file and sent by an email or printed by a physically printer letter and sent as letter to the customer
    my application is a nightly batchjob in vb6 which has worked really well for some months but now the customer said, that some of the files have been printed to a pdf and sent by an email and also printed by a physicaly printer so i checked the logfiles and realized that there is only one printing mentiond of the files which have been printed twice (pdf and physically) so now i'm wondering
    the process looks like this:
    i read the data from the database, and if the customer has an email address i change the default printer to the adobe pdf printer, then i set value in the registry which is a parameter for the pdf printer, what the name of the file shall be after this i reset the default printer to the physically one
    in the logfile aren't any exceptions so the set of the default printer had to work, and also the set of the parameter for the pdf printer, and the files also had been sent by mail so i'm wondering if it's possible that windows or adobe has also sent the file to the physically printer, the OS is windows 2003 server
    hope you can help me
    if anything is fuzzy im ready to provide more informations
    thanks a lot
    greetings peter

    >nightly batchjob in vb6
    I think you need the Acrobat SDK Developer Forum http://forums.adobe.com/community/acrobat/acrobat_sdk

  • Restore printer and driver using time machine?

    First, I looked at the TM forum and didn't see an answer.
    I inadvertently uninstalled a printer from SysPrefs>Printers and Faxes dialog box. The printer worked great and the particular driver I was using was very hard to find (not sure if I could find it again).
    1. Is there a way to restore the printer and driver using Time Machine.
    2. If not, could I manually reinstall the driver from a backup and if so, where would I find the driver?

    You should be able to readd it to the prefPane without restoring any drivers.

  • How to set up Yosemite 10.10.1 to print and scan using CANON PIXMA MP780 (on MacBook Pro). Thanks. Bozdogan

    How to set up Yosemite 10.10.1 to print and scan using CANON PIXMA MP780 on MacBook Pro (Pre-Yosemite operating system OS X10.6.8)?
    Yosemite 10.10.1 doesn't seem to support MP780. Also, CANON doesn't have a driver for Yosemite 10.10.1 for its MP 780 series.
    Thanks. Bozdogan  (at [email protected])

    I believe you should be able to print wirelessly using your MBP and printer. However, you will want to visit the Canon home site and download the current drivers and firmware for your printer. Once you've done this, I hope you'll post back with your results.
    http://usa.canon.com/cusa/support/consumer/printers_multifunction/pixma_mp_serie s/pixma_mp780#DriversAndSoftware
    http://usa.canon.com/cusa/support/consumer/printers_multifunction/pixma_mp_serie s/pixma_mp780?pageKeyCode=prdAdvDetail&docId=0901e0248039b1dc
    You're going to need both drivers and firmware.

  • Desktop like view of files and folders using Swing

    I have an application for upload/download of files from a server. The application is developed using swing and it works perfectly. Currently, the files and folders are displayed in a table view(using jtable) in which the file/ folder will be displayed with icon and extension in each row.
    I need to display these files and folders in a desktop like view. How can I implement this?
    Anees

    Any sample demos or links? Thats why people give you links to the Swing tutorial. The hope is that you will actually look at the Table of Contents and read the tutorial before you post a question.
    Or you could even read the JList API to find a link to the tutorial.

  • PDF Printing and preserving Control Breaks

    I'm testing PDF printing with apache FOP. it works, but I've searched on here and am not finding a solution to preserve control breaks. Is there an easy way to set this up? I'm trying to replace reports with Apex, and one of my developer. we wrote these custom reports, that work very nicely, but are tedious... user has ability to control break, etc. I can achieve all this from interactive reports, but printing is the problem.
    My thought if I can do this, is to generate the report on a printer friendly page, and just print from there.
    any other suggestions?
    Thanks,
    Scott

    I am having trouble, too, getting PDF reporting to users in a way that they're satisfied with.
    1. Example of vanilla PDF without BI publisher.
    https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B5IT1IH9Rb7NNzM2MjgyODQtOTEzMC00NDJiLTg4MzgtOTExYmQ2OTJlODA1&hl=en&authkey=CNKg9bkD
    I have not found a way to change the margins or other column settings. So the reports will have minimal utility for our users, who are auditors and who like to save their analyses.
    I welcom help on how to use and override the Print Attributes > Page Attributes settings for PDF? Paper Size , Orientation, and width/height seem to work, but have no impact on the actual body printing. E.g. setting tabloid landscape 17x11 " works, but the report is still the same size as with letter landscape 11x8.5 setting. There's no way to set the margin.
    2. Example of my best work around. Here, the user prints from browser - Google Chrome - to PDF. I use free Windows PDF utility Bullzip PDF Printer. The same look and feel goes to a physical paper printer.
    https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B5IT1IH9Rb7NMDBhM2NiOTEtZmUwOC00NDY2LWFmOGYtYjJiMTVkZjgyZmQy&hl=en&authkey=CPm818sC
    Chrome however does not now have the option to print the background colors, so you can't get your tabs and other graphic elements to look identical to on-screen pages. You have to adjust the row count on the Apex page so all rows are displayed - if you do, the browser will print multiple pages until all rows have been put into the pdf. Another advantage for the users is that they can choose to display all the filter and grouping selections on screen and capture them in the PDF output, similar to what we do in one of our Oracle Forms and Oracle Reports applications.
    Other browsers (Internet Explorer and Firefox) seem not to be able to print all the rows.
    Skip

  • FOP PDF Printing and size limit?

    I am using FOP for PDF printing in Apex 3.1.
    If I run a simple query:
    select object_name, object_type
    form obj;
    I can print the result to PDF if I limit the rows to 2750 just fine. As soon as I increase it to 2800, the Adobe document has an error and can't be opened.
    The OC4J container doesn't receive a memory heap error. I have set the memory values quite high.
    It lists in the log lines like:
    08/10/16 00:12:01 [INFO] [1]
    08/10/16 00:12:52 [INFO] [95]
    and then hangs.
    No other text appears.
    However, on successful completion, the following message appears: Parsing of document complete, stopping renderer
    Any thoughts are welcome.

    We have the PDF printing working with the increased memory sizes but we noticed something odd that we continue to test. Using the OC4J OEM console, we can see the memory usage as we run the reports. It "seems" like the APACHE FOP keeps taking new chunks of memory for each report without releasing the older ones.
    For example, I run report A and it grabs a chunk of memory. I view the PDF then close the window. As I go to another screen and invoke a different report, another chunk of memory is taken without the first one being released. You can watch the memory usage go up and up each time you invoke a report.
    We want to do some more testing to see what the test cases are (like if I log off APEX - will the memory then be released?) but I have read other Net postings about memory problems with APACHE FOP.
    Just wanted to pass this observation along. Once we have some definitive test cases, I will post them here.

  • Adobe PDF Printer and Adobe Distiller Printer, from where to get these?

    I installed Acrobat 7.0 Professional from the CS2 suite.  During installation a message came up, "Warning 20225, Adobe Acrobat 7.0 set up was unable to create a new item: The Adobe PDF Printer Converter may be unavailable.
    Get last Error: The specified module could not be found."
    To convert WORD files to pdf I get "unable to find "Adobe PDF Printer or Acrobat Distiller" printer. I have run the installer in repair mode several times without success.  Where from and how do I get the Adobe Printer and/od Distiller printer from.  I have searched the Adobe web site with out success. Please help anyone who can.

    Yes, the software was installed while logged in as administrator,
    anti-virus was disabled too.  I first installed AA7 using my original disc
    and the same messages came up and the same problem existed i.e.. could not
    convert to PDF.  Uninstalled the software and installed again using the
    serial no given to me by ADOBE help,CS2. Nothing seems to work.

  • I want to create a document in Illustrator that i can use for Print and Web - using 2 different colourspaces.

    Is it possible to do this?  I need to create a document so that I can export as a high quality CMYK for print and export the same file as RGB jpeg / pdf for web and email use.  Do I have to create the document with 2 different colourspaces, or can I change / convert the colourspace after I have created and finished the document?  or is there some simple way to select an RGB / CMYK option when saving/exporting?
    look forward to your reply!
    Tom

    Tom,
    In addition to what Monika said, the document can be either CMYK or RGB Colr Mode, but not both.
    And you are right in starting with the CMYK because that will ensure (to the degree possible) that the CMYK and RGB versions match in colour (gamut, the CMYK gamut being the more linited and almost entirely included in the RGB gamut); this will prevent more vivid RGB colours which will make the CMYK colours seem duller.

  • PDF printing and APEX Listener.

    Hi,
    I noticed in the Application Express statement of direction, dated February 2, 2010, the section regarding the Application Express Listener stated "improved PDF printing". I construed (possibly misconstrued) this to mean the APEX Listener might include its own FOP processor, thus simplifying the setup and use of simple PDF printing in APEX.
    As I can't find any mention of PDF printing in the Listener Installation Guide, I was wondering if this was a misinterpretation on my part or has this functionality simply not been implemented? If it has not been implemented, are there plans to do so in a later release?
    Regards
    Andre

    This feature slipped out for this release. We will revisit for a future version.
    -kris

Maybe you are looking for