# Add Wi-fi Password to Printed ticket based on certain condition

**URL:** <https://forum.sambapos.com/t/add-wi-fi-password-to-printed-ticket-based-on-certain-condition/2941>\
**Category:** V4 Question\
**Created:** [October 10, 2014, 2:02pm UTC](https://forum.sambapos.com/t/add-wi-fi-password-to-printed-ticket-based-on-certain-condition/2941 "2014-10-10T14:02:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [October 10, 2014, 2:18pm UTC](https://forum.sambapos.com/t/add-wi-fi-password-to-printed-ticket-based-on-certain-condition/2941/4 "2014-10-10T14:18:56Z")

</div>

A. OK I assumed you already had it setup to store the Wi-Fi password.  
B. Right click the template and choose clone same as for rule.  
C. Below are some tutorials for you to read to get you started. (The constraint I referred to is Custom Constraint within the Rule)

> [@Router Wi-Fi Password Change & Display](http://forum.sambapos.com/t/router-wi-fi-password-change-display/1621):
>
> This Tutorial aims to provide a simple method to change the WiFi Access Password, and save the Password within SambaPOS so that we may use it for Display or Printing purposes. ::::: SETUP Begin :::::::::::::::::::: Automation Command - WiFiPW Update [image] Automation Command can be mapped as a button (i.e. to the Ticket screen), or no mapping is necessary if you want to place it on an Entity Screen or Account Screen. Name: AU WiFiPW Update Button Header: Change WiFi ))) Mappings: (choos…

> [@Printing Tutorial in Detail](http://forum.sambapos.com/t/printing-tutorial-in-detail/994):
>
> Hello. In this tutorial I’ll show you how printing works and how to configure it for most common cases. #How it works? In this section I’ll show you how SambaPOS printing system works. ##Printers These are the printers that are used on your system. To configure your printer start by adding a printer here. For this example I’ll add a Bar Printer Enter a name for your printer and select your printer from drop down list. If it is a network printer you can also type it’s n…

> [@Printer Template Formatting Tags](http://forum.sambapos.com/t/printer-template-formatting-tags/328):
>
> ##General \<T\> (Title) : When used it will format line as a title. \<F\> (Fill) : For example \<F\>- creates a line with - chars or \<F\>= creates a line with = chars. \<EB\> (Enable Bold) Prints everything Bold until \<DB\> command. \<DB\> (Disable Bold) Ends \<EB\> command \<Jxy\> (Justified) Justifies a line from pipe char. \<J00\>Total:|0.00 separates line from pipe (|) char. It aligns Total: part left and 0.00 part right. When used on a ESC/POS compatible ticket printer numeric parts sets font size. Fi…

---

_[View the full topic](https://forum.sambapos.com/t/add-wi-fi-password-to-printed-ticket-based-on-certain-condition/2941)._
