CSS to generate printer friendly pages

Hi
I am trying to generate a printer friendly page usng CSS.For example I have the following code to hide out the header on teh page.
.header{
display:none;
I want to hide out three buttons that are enclosed in a group panel.How do I do this?
Thanks.

Hi,
Have you tried setting the visible property of the buttons to false? Try the following
document.getElementById('form1:button1').visible=false;
Hope this helps
Cheers
Girish

Similar Messages

  • Change Report Font Size for Printer Friendly Page

    I have a report using a template of 'Reports Region' and I have a link to a printer friendly page. Because the report text is so big I would like to make it smaller. I have already reduced the width of the report region but that has made 2 page reports run into 4 pages. I tried adding tags to the page to modify it but I was only able to make the text at the top of the page smaller and not the report. I tried modifying the theme_V3.css file but I could not find a place to modify text/font size in the report (This was trial and error as I am unfamiliar with css).
    I would like to only have it smaller on the printer friendly page but if I will be forced to change it all the time I would like to know if there is at least an option.
    If the only way to make this happen is to build a custom report then so be it. (But again the printer friendly page only pulls in the current page and I want it to only be small on the printer page)
    I am on V2.2.
    Thanks

    You need to use a print media stylesheet. You'll need to find class(es) or other CSS selector(s) to attach the font size rule(s) to - look at the HTML source for your page.

  • How to do a "printer friendly page"?

    Hello,
    I have searched a lot but I didn�t find a tutorial
    that work.
    I am using ASP Vbscript.
    Any help will be very appreciated.
    Thanks

    You seem to have misunderstood the use of the print.css
    This is used on the same page as the normal css script, but
    is only seen by
    the printer.
    Read the link Murray has so kindly provided.
    http://www.alistapart.com/articles/goingtoprint/
    Henk
    "Gilson Roda" <[email protected]> wrote in message
    news:e52ivk$qik$[email protected]..
    > Thank you for prompt reply.
    > I have copied all css into print.css
    > But I didn�t follow how to do a link to other
    "printer friendly page".
    > Actualy, I have an ASP page with several dynamic data
    (with recordset
    > paging). What I want to do is a "print" link to another
    ASP page, in order
    > to print all content of my database without paging
    stuff.
    > Am I clear? Sorry my english is terrible.
    > Thanks in advance.
    >
    > "Murray *ACE*" <[email protected]>
    escreveu na mensagem
    > news:e52g93$n8s$[email protected]..
    >>
    http://www.alistapart.com/articles/goingtoprint/
    >>
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "CETEMA" <[email protected]> wrote in message
    >> news:e52ftk$mtg$[email protected]..
    >>> Hello,
    >>> I have searched a lot but I didn�t find a
    tutorial that work.
    >>> I am using ASP Vbscript.
    >>> Any help will be very appreciated.
    >>> Thanks
    >>>
    >>>
    >>
    >>
    >
    >

  • Printer-Friendly Page

    Hi,
    My JSP needs to generate a "printer-friendly" version of a page.
    1) As you know, the JavaScript print() method prints the page currently loaded in the browser. Can I, in my "Printer-unfriendly" page, have a Print button, which on click, calls a JSP/servlet, generates a "Printer-friendly" page BUT DOES NOT LOAD IN THE BROWSER, but prints? Or do I have to show the user the "Printer-Friendly" page before printing it?
    2) What are the points I need to take care in order to make an HTML page Printer-friendly?
    thanks

    Hi!
    I, just recently, made this kind of page you're talking about and didn't find a simple and good way of achieving this through anything but a simple print-friendly page.
    I did it using
    # body-onload triggers the print() function
    # through some logic (counting html lines) in the page I inserted the folowing html code to achieve
    page breaks in the printed document:
    <p clear=all style='page-break-before:always'>
    # After the print method I forwarded the client to another page (which will happen even if the user
    clicked cancel in the print dialogue)
    If you find a better way, I'd br glad to hear of it...
    /Rickard

  • Printer Friendly Pages is NOT printing what I want

    So I tried to use the 'addthis' and added it to the main content div. However, lists, bullets, etc. are not printing as expected. I am seeing "code" for example if I try to print on the main page (though on the main page there is not a lot of 'content').
    I could add it to the individual content page layouts, but it is still not printing summary links, or other lists the way that I want. 
    I just want to print the content on the page. I am thinking jquery or writing a CSS for print. I really want to use the addthis and this is making me think I did something wrong. Any ideas on the best approach for printing "printer friendly pages"
    on SharePoint 2010?

    So I tried to use the 'addthis' and added it to the main content div. However, lists, bullets, etc. are not printing as expected. I am seeing "code" for example if I try to print on the main page (though on the main page there is not a lot of 'content').
    I could add it to the individual content page layouts, but it is still not printing summary links, or other lists the way that I want. 
    I just want to print the content on the page. I am thinking jquery or writing a CSS for print. I really want to use the addthis and this is making me think I did something wrong. Any ideas on the best approach for printing "printer friendly pages"
    on SharePoint 2010?

  • Send printer friendly page per mail

    Hello everybody.
    I'm very new with APEX and I couldn't find an answer to solve my problem:
    I have a printer friendly page with several text elements and a report so that it nearly looks like a letter in the end.
    Now I want to send this page as a "pdf-attachment" per mail when pressing a button.
    I already noticed the "add_attachment"-procedure in the APEX_MAIL package, but how do i get my actual printer friendly page stored in a BLOB-column in my DB to use this procedure?
    Thanks in advance
    Carsten

    Carsten,
    There are several different version of the get_print_document function, e.g there's this one:
    APEX_UTIL.GET_PRINT_DOCUMENT (
    p_report_data IN CLOB,
    p_report_layout IN CLOB,
    p_report_layout_type IN VARCHAR2 default 'xsl-fo',
    p_document_format IN VARCHAR2 default 'pdf',
    p_print_server IN VARCHAR2 default NULL
    ) RETURN BLOB;
    So you could store both the XML and XSL in a CLOB. But it might be easier to get started referencing actual report queries and report layouts, which you store under shared components and then use this API:
    APEX_UTIL.GET_PRINT_DOCUMENT (
    p_application_id IN NUMBER,
    p_report_layout_name IN VARCHAR2,
    p_report_query_name IN VARCHAR2,
    p_report_layout_name IN VARCHAR2 default null,
    p_report_layout_type IN VARCHAR2 default 'xsl-fo',
    p_document_format IN VARCHAR2 default 'pdf',
    p_print_server IN VARCHAR2 default null
    ) RETURN BLOB;
    Using pre-defined report queries and layouts ensures that you don't run into issues with your custom XML and XSL data.
    The error message "500 Internal Server Error" is a standard Java error message that doesn't tell you anything. Maybe you could find more info in one of your log files. Are you using BI Publisher? Apache FOP? Or some other rendering engine?
    Regards,
    Marc

  • Wont print from printer friendly page

    i'm having trouble printing my printer friendly confermations from the state and goverment web sites. no problem just plain printing   when go to printer friendly page it want print

    Hi @ponzi ,
    I see by your post that you are having issues printing from a web page. I can help you, but I will need some more information.
    In the mean time, try another web browser to see if you have the same results.
    What web browser are you using?
    What is the full name and product number of your printer? There are several Laserjet 200 series. How Do I Find My Model Number or Product Number?
    What operating system are you using?
    How to Find the Windows Edition and Version on Your Computer.
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    How is the printer connected? (USB/Ethernet/Wireless)
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Want to open printer friendly page as popup

    Hello,
    how can I open a printer friendly page as a popup page??
    There is only one possibility to say either the page is printer friendly or the page is popup. But not both!
    Any ideas?
    I want to open the page with a button. sth like "print page"
    Thank you...

    Hi,
    you could open a printer friendly page with a button with a property onClick="window.open('f?p=&APP_ID.:pageno:&APP_SESSION.','pf','');"
    DickDral

  • How do I create a printer friendly page in a popup window for a JSF page

    I have a JSF page that displays a table that shows the inventory level of a particular garment style. The table is like a matrix with each row representing a color of the style and each column representing a size of the garment. So the data in the table cell is for the inventory level of a particular color/size combination (e.g. navy blue of medium size ) for the particular style. The page also allows you to dynamically select a warehouse from a dropdown to see the inventory matrix of that warehouse.
    Now everything has been working fine except that the matrix table is not printer-friendly. So we need to have a Print button or link on the page that will generate a popup window that displays the same matrix table in a printer-friendly format (with different style sheet etc.). What is the best way to populate the matrix table in the popup? The data in the matrx table is stored in a hashmap in a InventoryManageBean of session scope.
    Also, shoud I use window.open to get the new window and if so what do I pass in the URL parameter?
    Any advice is appreciated. It would be great if you can include a code sample as I would think someone else must have had this done before.

    Any one please? This is urgent. Thanks a ton!

  • Creating printer-friendly pages

    I want to be able to have pages on my website that will be printer friendly for visitors to the site. Some will be text, some will be graphics. Is this possible to do for an html-illiterate? Much thanks for any help.

    I was afraid of that. It's another computer can of worms isn't it? Still, thank you for your response but I am not going to mark it answered in case someone else has one of those jewels of it's-so-easy-all-you-have-to-do.
    If this was really important to me, would it be easier to accomplish with a different operating system?
    Thanks
    iBOOK G4   Mac OS X (10.4.9)  

  • Printer friendly page for iViews?

    Hi Friends,
    I integrated few iView and assigned them to different roles and users in our portal.  Some of these iView are Web Dynpro iviews.
    I have a of question.... How should i enable a option for the users to view and print out the web dynpro iview result view in a printer friendly version...
    Thanks for your help
    Regards
    Mark

    Hi Mark,
    Try this <a href="https://www.sdn.sap.com/irj/sdn/thread?forumID=52&threadID=132542&messageID=1514704">thread</a>.
    Regards,
    Pooja.

  • With firefox 4.0 the printer friendly page of mapquest will not open.

    that function of mapquest works on IE.
    it also worked on firefox 3.6. so i downgraded back to 3.6.
    would like to be able to use future upgrades though.
    tyvm for firefox.

    Does the picture uploader use Flash? You can verify that you have the latest Flash plugin for Firefox here:
    http://www.adobe.com/software/flash/about/
    Otherwise, I don't really have a guess as to why that function doesn't work. You could try it in Firefox's Safe Mode; if that works, it could indicate a conflict with one of your add-ons.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, try starting Firefox in Firefox
    [http://support.mozilla.com/kb/Safe+Mode Safe Mode]. Be careful not to "reset" anything permanently if you didn't back up.

  • Printer friendly version of a page

    Is there a way to display/print a printer friendly version of a page (without all the graphics, etc.)?
    Any ideas?
    bob

    Bob:
    Duplicate the page in iWeb but don't include it in the navbar, remove everything but what you want on it to print, name it "printpage" and publish. Go to your site and enter the URL: http://web.me.com/YourMMe_Account_Name/SiteName/printpage.html. Check to see that it is what you want.
    Open the site in iWeb and on the original page add a hyperlink titled "Printer Friendly Page" or something like that, select the text and use the Inspector/Link/Link pane to create a link to that printpage url as an external page and set it to open in a new window.
    To make the site more printer friendly set the page and browser background to white and remove any items that don't need to be printed. Also make sure any text is in a Web Safe Font and there's no drop shadow or other enhancement that would convert the text box to an image.
    OT

  • Printer friendly PDF create error

    Hi.
    I've got a problem with generating a PDF from large over 10000 rows request. BI throw me an error
    A fatal error occurred while processing the request. The server responded with: Error while executing PDFRpcCall.processMessage com.siebel.analytics.utils.InputStreamWithLimit$R...
    I found some solution on internet like add
    <JavaHost>
    <PDF>
    <InputStreamLimitInKB>0</InputStreamLimitInKB>
    </PDF>
    </JavaHost>
    to instanceconfig.xml file and change InputStreamLimitInKB to 0 in config.xml in web/javahost/config but that dosen’t work either.
    I changed
    <InputStreamLimitInKB>0</InputStreamLimitInKB>
    to
    <InputStreamLimitInKB>some text</InputStreamLimitInKB>
    but the presentation service started without any problem so it seems like BI doesn't see/recognize this tag.
    Can anyone help me with this?
    Edited by: user5746993 on 2009-04-30 10:21

    Hello Sharath,
      I was in your positon before and tried to find the easiest way to create a 'printer-friendly' page but unfortunately there is none. In the end I had to settle for Adobe Forms (Setting up the ADS and getting the user credentials to remove the water mark requires effort for a newbie like me) which took care of all the formatting issues for me. Desiging a Web Dynpro 'page' that is formatted is simply too painful.
      Perhaps you may wan to take a look @ the other forum for interactive forms ?
    from
    Kwok Wei

  • ADF Faces Printer Friendly Views

    Does anyone know how to create printer friendly pages in ADF Faces? Not only do I need the printer friendly format when I print, but I would also like to make a link to printer friendly page. I have played around with @media tag in css but I haven't got it working. Any help that someone could provide would be appreciated.

    Hi,
    it is easy, on the adfc-config.xml on the navigation rules that is pointing to print page before the action write dialog such as:
    dialog:relation
    for the commandbutton or commandLink use the property usewindow and windowHeight and windowWidth and the action such as below
      <af:commandImageLink         action="dialog:relation" //what you specified on adfc-config
                                                     icon="/images/icon-link.png"
    id="cil2"
                                                     useWindow="true"
                                                     windowHeight="800"
                                                     windowWidth="750">
                        </af:commandImageLink>

Maybe you are looking for