Is it possible to print a pdf page displayed in browser?

I have a servlet that will send a pdf file to the browser (IE), (i set the content type to "applicaction/pdf"). Now I need a way to create a print button to allow user that option, seems the browser print button is not satisfactory. Can a pdf be embedded in a web page somehow? Sounds like I would be dealing with 2 different reponse types "application/pdf" and "text/html"..I think the print button would call a method doing some extra things other than what the browser print button does. Is this possible? Thank you

Can you post me example how to displaying pdf in browser?
Thankss..

Similar Messages

  • Is it possible to Print a PDF as a PDF in Acrobat 11.0.06 on Mac OSX 10.8.5?

    Is it possible to Print a PDF as a PDF in Acrobat 11.0.06 on Mac OSX 10.8.5?
    I need this functionality. Adobe PDF doesn't appear in the printer list as it did on my windows laptop. I need to be able to print to the PDF "size" of 8.5 by 11 to shrink files down for e-mail. My workflow usually goes like this:  I import all the pictures or create a PDF from multiple files (pictures), I then put them in order  and then print to PDF, two pictures to a page. I can take a 50MB file down to a 1MB file this way. Makes it easy to view on smartphones and the like.
    Is this functionality still broken in Acrobat 11? Did I just waste my money? This was the only reason I bought the latest version - It wouldn't work on 9 Pro either.
    Thanks,
    Jon

    Thanks Tony. That is exactly the functionality I am not getting from the current product on Mac. 
    You can get a much better looking result that takes up way less space and opens faster for the end user by printing a PDF as a PDF and controlling the size of the PDF image. I can take - for instance, 6 or 7  10MP pictures and create a PDF out of them. The PDF will be 25MB or so. I can print that as a PDF which will allow me to put two pictures per page  - and that file will be about 1 MB. No crappy looking images, just much smaller size and multiple images per page. 
    It's a workflow I have used for years on PC.  Everyone keeps saying just save it as a PDF using the Mac print "save as PDF" functionality but that doesn't accomplish the same thing and you can not control how many pages to print on to each new page of your PDF. 
    I find it misleading that I saw a web page on Adobe's site that shows you can print as a PDF and it says you can print as a PDF on Mac and that is NOT the case.  Print to PDF Windows 7, Vista, XP, Mac | Adobe Acrobat XI Infuriating.
    I have tried to optimize a PDF with 6 or 7 images and it just doesn't do the same thing. It wont reduce the size as much as I need, cuts it in half - but not down to a small fraction for being an e-mail attachment. I'm using XI Pro. Researched this for about 3 hours and it is not functionality that can be used on a Mac.
    I even tried printing as a PDF in Parallels on XP with another licensed version of Acrobat Pro and it still wont let you. You would have to probably dual boot your machine to get the functionality by running windows flat out on the Mac with a separate Licensed copy of the software.
    It amazes me that Adobe can't figure this out or make amends with Apple to get the functionality back into Acrobat.

  • Hello, i've win7 64bit and can use my adobe acrobat 7.0.0.2004121400. but it is not possible to print a pdf - error 20225 at the installation of acrobat. any ideas how to solve this problem? I've tryed some instructions from internet concerning this 20225

    hello, i've win7 64bit and can use my adobe acrobat 7.0.0.2004121400. but it is not possible to print a pdf - error 20225 at the installation of acrobat. any ideas how to solve this problem? I've tryed some instructions from internet concerning this 20225 error, but without success. thanks a lot and best regards

    BS heißt "Bull___****". *lol* "Betriebssystem" heißt imemr noch "operating system". GoLive wirste wohl gar nicht zum laufen kriegen. ohnehin würde man es nicht mehr verwenden, weil es noch nicht mal CSS2 voll unterstützt geschweige denn HTML 5 und andere moderne Webstandards. Wenn überhaupt, dann findeste vielleicht noch 'ne OEM CD von Strato oder 1und1 bei eBay. Die haben das damals mit jedem neuen Hostingvertrag rausgehauen. Aber wie gesagt, es ist den Aufwand nicht wert. Illustrator sollte sich durchaus installieren lassen. Eventuell einfach nochmal die Installer im Win XP Kompatibilitätsmodus laufen lassen...
    Mylenium

  • Cant print single PDF pages

    Trying to print single PDF pages, forced to print all pages sent via email.
    Dialog box has greyed out page selection portion.
    Samsung Galaxy S4.  
    HP App loaded from Google Play.
    HP 4500 Envy.
    Thank you
    Thurston

    Hi Thurstonthe3rd,
    When sending an email, the eprint server will consider the full document as the print job and will print all the pages of the document. This is expected behavior.
    If you want to print selected pages from your pdf first save that page as a seperate pdf and then emailthe saved pdf to the printers email ID to print.
    Regards,
    Oliver
    "Although I work for HP, I'm speaking for myself and not on behalf of HP"--Please mark the post that solves your problem as "Accepted Solution"
    "Say "Thanks" by clicking the Kudos Star in the post that helped you.

  • Is it possible to print a pdf file served to the browser?

    I have a servlet that will send a pdf file to the browser (IE), (i set the content type to "applicaction/pdf"). Now I need a way to create a print button to allow user that option, seems the browser print button is not satisfactory. Can a pdf be embedded in a web page somehow? Sounds like I would be dealing with 2 different reponse types "application/pdf" and "text/html"..I think the print button would call a method doing some extra things other than what the browser print button does. Is this possible? Thank you

    found an answer..thanks

  • Adobe Reader-Printing 2 PDF Pages On One

    Hi - I am using Adobe Reader version 9 in Windows Vista. I am trying to combine two pdf pages into one page via a pdf printer. The pages are small enough that two can fit on one page. I can get two onto one page but each of the pages is smaller than I want them to be. Is there any way to make the output larger? I would like each of the pages to print larger and there to be less white space. Thanks!

    You can not do those tasks with Reader. Reader is a view program only, though some filling of forms and such is possible. To edit a PDF, you have to purchase Acrobat.
    If I have misunderstood your question it may be that I use Acrobat and not Reader. In that case, ask your question in the Reader forum (link at the top of this forum).

  • Printing a PDF page in A4 size resizes to A5

    Hi,
    I am trying to print a PDF file, which somehow succeeds; However the printed page shows the PDF in A5 format. the same pdf printed with acroread32 shows in expected A4 size. Can anyone imagine why? Here is the code:
    private void printPdf(File file) throws Exception {
            // set up the PDF reading
            RandomAccessFile raf = new RandomAccessFile(file, "r");
            FileChannel channel = raf.getChannel();
            ByteBuffer buf = channel.map(FileChannel.MapMode.READ_ONLY, 0, channel.size());
            PDFFile pdfFile = new PDFFile(buf); // Create PDF Print Page
            // Create Print Job
            PrinterJob pjob = PrinterJob.getPrinterJob();
            PageFormat pf = PrinterJob.getPrinterJob().defaultPage();
            Book book = new Book();
            PDFPrintPage pages = new PDFPrintPage(pdfFile);
            book.append(pages, pf, pdfFile.getNumPages());
            pjob.setPageable(book);
            // Set print attributes:
            PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
            aset.add(MediaSizeName.ISO_A4);
            try {
                // Send print job to printer
                if (pjob.printDialog(aset)) {
                    pjob.print(aset);
                    Log.Debug(PrintJob2.class, "Document '" + file + "' printed.");
            } catch (Exception e) {
                throw e;
            } finally {
                raf.close();
        }My guess is that it has to do with PageFormat, but i don't know how to change that?
    Best wishes,
    Andreas

    Hi,
    Fixed by setting the paper size manually:
    Paper paper = new Paper();
            paper.setSize(594.936, 841.536);
            paper.setImageableArea(0, 0, 594.936, 841.536);
            pf.setPaper(paper);However odd imho

  • Margins problem when printing to PDF (Pages '09 v4.0.3 build 766)

    Hi,
    I don't know if this is connected to the latest Mac OS X v10.6.4 update, but some of my machines exhibit a very curious behaviour.
    + multiple pages A4 document
    + choose File > Print, click on "Save as PDF", under the PDF button
    ++ set pages 6 & 7 to print
    ++ set 2 pages per spread, so as to have Pages shrink the A4 document to somewhat A5, and have the two pages side-by-side on the same sheet
    ++ save the PDF
    Then, when I open the PDF with Preview, the margins are all wrong (i.e. too big, there's too much white running around).
    And from Preview's inspector, I can tell that the Page Size is set to US Letter, although in Pages both the document size AND the Printing Format are set to A4.
    The most curious part of the story is that my MacPro, my work MacBook Pro 13 and a white MacBook exhibit the problem, whereas my personal iMac 27" DOES NOT.
    And they are all running Mac OS X v10.6.4, with ALL the most recent updates, and the exact same version of Pages!!!
    I suspect that something has been changed in a framework somewhere, but I cannot figure out what it is...
    Any idea is welcome!
    Thanks,
    K2r

    I can do the same in TextEdit (although it's even more painful to control the margins!!).
    My problem is not that Pages won't put pages on one sheet; It's that the generated PDF does not respect the sheet physical size (A4 vs. US Letter), thus adding wider margins all around the document.

  • Print multiple pdf pages to one sheet of paper

    I want to print a 70 page pdf file but don't want 70 pages.
    I want 4 of the pdf pages on one sheet of paper, and I would really like to double side.
    This is what I'm working with (and not having any success in getting what I want)
    Help?
    Printer: HP Officejet 6500A Plus all in one
    PDF version 4.0.65
    Windows 7
    This question was solved.
    View Solution.

    Hi,
    That can be done easily using the Booklet feature of the printer driver.
    Open the PDF in Adobe Reader, then clcik on File > Print.
    Click the Properties button.
    Within the Layout tab check the radio option next to Booklet, you may keep the draw borders box checked or uncheck it as you prefer.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Is it possible to print multiple InDesign pages on one sheet?

    Say I have a 10 page InDesign document. Each page is fairly small. When I go to print out those proofs, can I print all 10 pages on one sheet of paper? Or do I have to copy each layout separately onto a new document to group them? Just to save paper really.
    ID CS3

    Daniel Flavin wrote:
    I agree. That's not gonna happen even with Feature Request...everybody loves drop shadow...
    are you kidding me?
    That horrible drop shadow bar adds no value to thumbnail prints and causes designers to have to trim the prints to the thin line page edge that prints. With the bar under the thumbnail, it interferes with page design decisions, which is really the whole point of printing thumbnails--to save paper while quickly evaluating the design of the page.
    It would also be helpful to have thumbnail print options galore, for printing miniature booklets with pagination controls, etc., for little samples we could give to our clients.
    If the InDesign software engineers would add realistic drop shadow controls for thumbnails, that would be fine. But designers still want the ability to turn off the thumbnails.
    KILL THE WORTHLESS DROP SHADOW BAR AND PLEASE GIVE US MORE THUMBNAIL PRINTING OPTIONS.

  • FF hangs when printing a PDF page

    CRTL P brings up print options- printer Can0n iP1800. When OK is selected Progress Box shows "Printing MisCommands.PDF" and hangs at 0%complete. Must select "X" out FF which brings up the Program Not Responding box
    https://docs.google.com/a/scc-ems.us/MiscCommands?command=save_print_settings&docID=0AddSHXnoIKORZGd3bnZ2cnBfNTNkNXc1OTV4aA&print=1

    Thanks for checking.  It is clearly something about my system that is
    causing the hang.  In the cases I ran it stopped on photo 11 of about 30
    and that was repeatable.  Using another set of photos it stopped on
    something like 16 of 30 or so photos. That was also repeatable.
    It clearly is a problem on my configuration.
    I have uninstalled 64 bit Lightroom and installed 32 bit LR 2.7 as I had
    done with LR 2.6.
    Let me know if you could use more information.
    Thanks,
    Gary

  • Is it possible to print a full page in Illustrator and bleed the art off of the edges of the paper?

    Is it possible to bleed artwork off the edges of an 8.5 X 11 sheet of paper? I'm trying to print cards that are 2 up in landscape orientation and the art keeps  getting trimmed off an inch or so before the edge of the paper.
    RIchard

    Have you checked your Page Tiling?  (View>Show Page Tiling)  The border that you see will show you how it prints.  But you can save your file as an Illustrator PDF and then open it with Adobe Reader and given that your printer is borderless . . . you can print to the edges.  But a bleed is something where your design extends beyond the edge of the finished product and you cut into the bleed, trimming off some of the art and leaving a smaller product than the original paper size.

  • How do I print multiple (PDF) pages per sheet in Lion?

    The printing interface has changed in preview, and whereas there used to be an option to print multiple pages per sheet, there's now only an option to print multiple copies per sheet. The latter is of no use to me, whereas printing multiple pages per sheet was very useful since I often print large documents.

    Well, in Snow Leopard I used to print PDFs from Preview, and if I recall correctly, where it now says 'copies per page', it used to say 'images per page'. So of course, I now have a couple of printouts with two copies of each page per sheet.
    But the preview tab and then the option 'layout' works. I don't understand why this interface had to change though.
    Message was edited by: Sebastian0883

  • Is it possible to print labels using pages?

    I need to print labels for honey jars but I can't get the font size small enough for all the details I need to print. Size 9 seems to be the minimum. I used to print them using Appleworks Drawing but now I am using OSX 10.7.5 I can no onger use appleworks.

    Just type the size in the size field. I got down to 1 point type, which is illegible.
    Peter

  • Printing a web  page from the browser using JSP

    Hi sir,
    I want to know how to print a webpage that contains some
    report data where the web page contains a button as well when i click the button only the webpage contents(report data) should be send to the printer and should be printed.Here i should not use any javascript.By using pure java code in Jsp i need to do this.Pls.provide the code for this so that i will be grateful to u.Where it is very Urgent.I will be waiting for ur reply.
    Thanx,
    m.ananthu

    If you are reasonable sure that the user will be using a newer browser you could use the <LINK> tag to set an alternative print page. When the user clicks on the print button it calls a javascript funtion that does a window.print function call. The browser will then request the alternative print page and print this page instead of what is in teh browser.
    This will require two JSP pages but with proper use of includes you can reuse the code.
    Sorry I don't have any examples handy so you'll have to search the web but I know it works because I've done it for an intranet site.

Maybe you are looking for

  • Stock coverage, Stock average coverage and stock turnover

    Hi Guys, I need your help. I have just implemented the Inventory Management module in BW. It is working perfecly. Now my client want me to calculate Stock coverage, Stock average coverage and stock turnover. The standard module doesn't give me that.

  • HT201210 Help !!!!!I want to downgrade my os from ios6 !!

    I am the customer from Taiwan , I  need use google map. This is important for me . I use this everyday . Please let me downgrade . Help !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!

  • RIGHT function not working as expected

    Hi, Am trying to run the example given in the documentation for RIGHT function. When a call is made, the IE is opened but the graph is not displayed, instead an empty web page with a header having copyright and E-mail : [email protected] is shown. Co

  • What happened to the tabs in the address book

    I recall a lot of debate on the appearance of the Address Book.  Most of that for me was comestic.  I realize to many it is an issue important to them.  But one feature that for me is functionally important is the tabs.  If I recall SL Address book h

  • Posting in gr from po for 2 materials in to 2 different movement types

    hi, i have 2 items in a single purchase order, how can i  post them to different movement types like 101, 103 in one goods receipt. for ex in MIGO , i enter purchase order number , it is taking all the items from PO in to one movement type like 101 .