Log in to ask questions, share your expertise, or stay connected to content. Don’t have a login? Join now.
This article talks about printing the registration receipt automatically after registration.
Environment: This article implies to CPPM 6.2 and greater.
I want to get a printout of "Visitor Registration Receipt" automatically without using the print option.We can achieve by adding a PHP code in the Footer section of the Receipt page.Login to Clear Pass Guest Module and navigate to "Home » Configuration » Guest Self-Registration".
Select the profile which we are using and Edit.
Click on Footer and add the PHP code as shown below.{literal}<script type="text/javascript">window.print('guest_receipt.php?id=8');</script>{/literal}
Save and apply.We can also force redirect to registration page after the print of receipt is done by adding the below code in the same place.<meta http-equiv="refresh"content=2;url=<YOUR GUEST REGISTRATION PAGE>?_clear=1"/>The above code will refresh the page and redirect you back to self registration page.
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.