function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Deepika kmDeepika km 

printUrl attribute use

Hi,

Could anyone explains the "printUrl" attribute use?
By the name understood it will show the printable view.But dont see the print option once the pop up is loaded.
How to print the page using "printURL"?

Ex: Below code
<apex:page >
  <apex:sectionHeader title="Customer" subtitle="Get New Customer" description="New Customer Details" help="http:google.com" printUrl="/apex/lab5_VS_SectionHeader"/>
</apex:page>
.
Thanks

Arunkumar RArunkumar R
Hi Deepkia,

You cannot print the page using PrintURL attribute and print option will not avail once the pop up is loaded.

This attribute use is you can only set the URL for the printable view i.e any of your visualforce page or external sites url like below,

<apex:page >
  <apex:sectionHeader title="Customer" subtitle="Get New Customer" description="New Customer Details" help="http:google.com" printUrl="https://www.google.com"/>
</apex:page>
For more info http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_sectionHeader.htm