2 Replies Latest reply: May 6, 2013 1:52 AM by fac586 RSS

    Print Preview  In "Print Friendly Mode "

    Mortus
      Hi i need a little advice,

      1. - When saving the information, ( click save BTN) the user should see a screen popuup with the print preview ( before data save )
      2.- I've used this routine, which calls before the commit
           function printpage()
            {
              window.print();
            }
      Save BTN
      Action : Submit Page
      Validations = Y
      Database Action : SQl Update Action

      DA: PRT
      Event : Before Page summit
      Condition : No Condition
      Action : Execute Javascript
      Code : printpage();
      Selection Type : Triggering Element

      Oracle database 10g
      Apexe Version 4.1
      Glassfish 3.0
      Windows 2008 Server

      the above function well, i get a print preview & ready to be printed , but the user view all page decorations ( BTN, Frames , logo , etc.... )

      the question is "What is the way, I can combine the property "Print Friendly" with print routine in order to preview a "Print Friendly" Page "


      Best regards
      Eduardo

      Edited by: Mortus on May 4, 2013 2:11 PM