POST VOUCHER TEMPLATES HERE

Lets all post our edited voucher templates here to help users without html knowledge


here’s mine

<table style="color: black; font-size: 11px;" border="2" height="10">
<tr>
  <td colspan="2" bordercolorlight="#000000" bordercolordark="#000000"><b><font size="2" face="Arial">BIU Tech Airforce1 Wireless</font></b></td>
</tr>
<tr>
  <td bordercolorlight="#000000" bordercolordark="#000000"><b><font size="2" face="Arial">Time:</font></b></td>
  <td bordercolorlight="#000000" bordercolordark="#000000"></font><b><font size="2" face="Arial">%u_limit_uptime%</font></b></td>
</tr>
<tr>
  <td bordercolorlight="#000000" bordercolordark="#000000">
  <font face="Arial" size="2"><b>Validity</b></font></td>
  <td bordercolorlight="#000000" bordercolordark="#000000"><b><font size="2" face="Arial">%u_prep_time%</font></b></td>
</tr>
<tr>
  <td bordercolorlight="#000000" bordercolordark="#000000"><b><font size="2" face="Arial">Price:</font></b></td>
  <td bordercolorlight="#000000" bordercolordark="#000000"></font><b><font size="2" face="Arial">%u_tot_price%</font></b></td>
</tr>
<tr>
  <td bordercolorlight="#000000" bordercolordark="#000000"><b><font size="2" face="Arial">Username:</font></b></td>
  <td bordercolorlight="#000000" bordercolordark="#000000"></font><b><font size="2" face="Arial">%u_username%</font></b></td>
</tr>
<tr>
  <td bordercolorlight="#000000" bordercolordark="#000000"><b><font size="2" face="Arial">Password:</font></b></td>
  <td bordercolorlight="#000000" bordercolordark="#000000"><font face="Arial"><b><font size="2">%u_password%</font></b></font></td>
  </tr>
</table>

good one,
But it is coming one VOUCHER per page, I need it morethan one in one page.

i have a similar script, it seems only MT administrator can set the number per page which is currently set to a maximum of three. i learnt the next Userman will do better on this issue. So let’u wait!

How about this one…
Prints on a thermal (POS) printer..

http://info.microage.com/Campaigns/MicroAge/hotspot.bmp


It is a bit rough here but it is an export.

The original prints clean..

NOTE: this is format generated by “BarTender Ver 8.0” from seagull scientiffic"..

I just build the SCV (add a group of users) and bartender picks up the file and prints the ticket.

It could be coded to look at ant of the fields and dirrect it to a speciffic printer…

Hello,
has anyone found an easy and chap thermal printer in order to print the voucher directly from the web page of a pc? (like zyxel or other)
The voucher are printable without any other program on the pc?
I mean, I wiil create a web page on the user manager web server (/hotspot or other of the MT machine) and print that from the pc of the hall of the Hotel.

Regards
Andrea

Wow how could do that???

Airforce1 thank you so much for the topic !
We have created new wiki topic, where you are all welcome to post your Voucher examples.
http://wiki.mikrotik.com/wiki/User_Manager/Voucher_template#Examples

It would be great to see your nice Voucher Templates there.

This is intresting.

I am trying to insert a picture with the name of my company on the voucher, at first i did try with the Mikrotik logo, that comes in /hotspot/img/logobottom.png, and work perfectly!!
But at the time to put my own logo, don´t show it, even i try replacing that logo with anotherone of my own and the same dimensions, and still showing the mikrotik logo!!! i dont understund it!! (I REPLACE IT, and when i try to login my own logo appears there)
Then i tried changing the source of the file, and still not working.

This is the html code of my last test.

<td width="29%"><img src="/hotspot/logobottom.png" alt="" title="" /></a></td>
<td align="right" width="26%">

How could i change the picture?.

Thank you.

Hi

I need to print users uptime limit on the voucher.

This constant (found in wiki) does not work: %u_limitUptime% (the text is not replaced when generating vouchers)

How do I print the uptime limit?

Thanks in advance.

Oh, my version of routeros is 4.17 and my router is RB750

Cheers,

Murray

OK I got it %u_limitUptime% is wrong - %u_limit_uptime% is right - Wiki is useful, but its got mistakes…

http://forum.mikrotik.com/t/voucher-with-serial-numbers/24018/1

Check out this one toohttp://www.wifitech.com.pk/mikrotik-voucher-template/

Try this one too
.

Row:

<table style="display: inline-block; width: 250px; border: 1px solid #ccc; line-height: 110%; font-family: arial; font-size: 12px; margin: 1px;">
<tbody>
<tr>
<td style="text-align: center; color: red; font-size: 13px; border-bottom: 1px #ccc solid;"><b>KANGNDO HOTSPOT VOUCHER</b></td>
</tr>
<tr>
<td>
<table style=" text-align: center; width: 240px; background-color: #fff; line-height: 110%; font-size: 11px;">
<tbody>
<tr style="background-color: #eee;">
<td style="background-color: #fff; width: 33%"><b>PAKET</b></td>
<td style="width: 33%">Speed</td>
<td style="width: 33%">Data</td>
</tr>
<tr>
<td ><b>%u_actualProfileName%</b></td>
<td>Up to 1Mbps</td>
<td>%u_limitDownload%</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table style=" text-align: center; width: 240px; background-color: #fff; line-height: 110%; font-size: 11px;">
<tbody>
<tr style="background-color: #eee;">
<td style="width: 33%">Time</td>
<td style="width: 33%">Validity</td>
<td style="width: 33%">Price</td>
</tr>
<tr>
<td>%u_limitUptime%</td>
<td>%u_timeLeft%</td>
<td>Rp %u_moneyPaid%</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table style=" text-align: center; width: 240px; background-color: #fff; line-height: 110%; font-size: 12px; border-top: 1px solid #ccc;">
<tbody>
<tr style="color: red; font-size: 11px;">
<td style="width: 50%">Username</td>
<td>Password</td>
</tr>
<tr style="background-color: #fff;">
<td style="color: #888; border: 1px #ccc solid;">%u_username%</td>
<td style="color: #888; border: 1px #ccc solid;">%u_password%</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="text-align: center; font-size:11px;">Call: 082 324 660 655</td>
</tr>
</tbody>
</table>

Screenshot:

voucher template by kangndo http://kangndo.com/2014/09/07/mikrotik-usermanager-voucher-template/

Regards
Kangndo

Another one of my templates
http://kangndo.com/2014/11/14/user-manager-template-kangndo4/

Thank you all

This is my voucher template. Just copy-paste if you like it.

Printed Version:

Template (User Manager)
Header:

<!DOCTYPE html> <html> <head>   <title>Voucher Hotspot</title>   <link rel="stylesheet" href="http://mazbhenks.com/dock/hotspot/voucher/bootstrap.min.css">   <link rel="stylesheet" href="http://mazbhenks.com/dock/hotspot/voucher/style.css">   <link rel="stylesheet" href="http://mazbhenks.com/dock/hotspot/voucher/mbr-additional.css"> </head>  <body> <section id="form1-5"> <div class="col-sm-4">

Row:

<div class="col-sm-1 col-sm-offset-0" style="background-image: url(http://mazbhenks.com/dock/hotspot/voucher/bg.jpg);background-size: 250px 415px;"> <div class="mbr-header--center mbr-header--std-padding"> <h2 class="mbr-header__text">Voucher WiFi</h2> <h2 class="mbr-header__text" style="font-family:Courier New;">10.000</h2> <h3 class="mbr-header__text" style="font-size:1em;">%u_actualProfileName%</h3> <h3 class="mbr-header__text" style="font-size:0.7em;">SSID: Hotspot Pro.NET</h3> </div> <form> <table class="userpass"><tr><td align="center">USERNAME | PASSWORD</td></tr><tr><td> <input type="text" class="form-control" style="text-align: center;" value="%u_username% | %u_password%" /></td></tr></table> </form> <div class="mbr-header--center  mbr-header--std-padding"> <br/> <h3 class="mbr-header__text" style="font-size:1em;">Login:</h3> <h3 class="mbr-header__text" style="font-size:0.7em;">http://hotspot.pro.net</h3> </div> </div>

Footer:

</div> </section>  </body> </html>

Break:

<p class="noprint" style="font-size: 10px">   ................ page break ................ </p> <p class="pagebreak">&nbsp;</p>

Hi Mazbhenks

I like your template & thanks for post. please correct the printing problems 1) the background pic and urser & password is out of position when rinting

on your browser, click File → Page Setup and Check “Print Background (colors & images)”

[q[/quote]

Excellent post.
I would like to ask you a huge favor, and the truth is that I could not find an answer.
I would like to be able to obtain the personal data of the people who register.
In other words, you can print the name and surname and if you can mail it.

Thank you