Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
stadtsw
New Contributor

Fortigate Voucher Print Page

Hello Community,

 

is there any way to set a default Number in the Guest User Print Option?

I edited the HTML Page of the Print Template so far that one Guest Voucher on the print page requires less space on the Page.

Now i can technically print 10 Guest Voucher on one page. But the default value of "Break Page After" is one and before every Print i have to edit this to the value of 10.

 

Next question:

Is there a way to set the multiple Vouchers on the print page in a Table of 2 colums? My goal is to use the whole page as much as possible to reduce the paper waste.

 

If somebody even created such a HTML Template it would be a great help if you send me this page :)

My HTML Page is here:

 

Spoiler
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>

<meta http-equiv=Content-Type content="text/html; charset=UTF-8">

<meta http-equiv=Pragma content=no-cache>

<title>
Guest Access Credentials
</title>

<style type="text/css">
body.printable{
background-color: white;
margin: 0 20px 0 20px;
}
div.first_section:not(:first-child){
}
div.user_section{
padding: 15px;
border-bottom: 1px dotted #666;
font-family: Verdana, Arial, Sans-Serif;
font-size: 7pt;
}
div.user_header{
font-size: 10pt;
height: 2em;
}
div.user_disc{
font-size: 8pt;
margin-bottom: 0.5in;
}
ul.user_details{
list-style-type: none;
}
li.user_info_field{
font-family: monospace;
}
label.user_info_label{
float: left;
width: 10em;
font-family: Verdana, Arial, Sans-Serif;
}

</style>

</head>

<body class="printable">
%%FOR(USERS:USER_SECTIONS)%%
<div class="user_section first_section">
%%FOR(PRINT_CREDENTIALS:USERS)%%
<div class="user_header">
Voucher Gast WLAN
</div>
%%PRINT_CREDENTIALS%% %%ENDFOR%%
</div>
%%ENDFOR%%
</body>

<script type="text/javascript">
window.print();

</script>
</html>

 

Many Thanks for Helping me :)

3 REPLIES 3
Anthony_E
Community Manager
Community Manager

Hello,

 

Thank you for using the Community Forum.

I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Regards,

Anthony-Fortinet Community Team.
Anthony_E
Community Manager
Community Manager

Hello,

 

We are still looking for someone to help you.

We will come back to you ASAP.


Regards,

Anthony-Fortinet Community Team.
Anthony_E
Community Manager
Community Manager

Hello,

 

I have found this old discussion:

 

https://community.fortinet.com/t5/Support-Forum/Customize-HTML-template-tags/m-p/210327

 

Could you please have a look and tell me if it helps?

 

Regards,

Anthony-Fortinet Community Team.
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors