AAA, NAC, Guest Access & BYOD

Customize Guest Self Registration on CPPM to print receipts immediately after registration

by on ‎07-11-2014 02:56 PM

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".

 

rtaImage.png

 

Select the profile which we are using and Edit.

 

rtaImage (1).png

 

Select the profile which we are using and Edit.

 

rtaImage (2).png

 

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}

 

rtaImage (3).png

 

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.

 

 

 

Comments

Hi,

this code did not work for me. It redirects me to the main CPPM admin login page

 

 

This is your code:

 

<meta http-equiv="refresh"
content=2;url=<YOUR GUEST REGISTRATION PAGE>?_clear=1"/>

 

 

and this is my codein the footer of the receipt page:

 

{literal}
<script type="text/javascript">
window.print('guest_receipt.php?id=8');
</script>
{/literal}

<meta http-equiv="refresh"
content=2;url=guestreg.php?_clear=1"/>

 

 

Can anyone herlp please?

Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.