Pole Display SetupOriginal Post -
http://forum2.sambapos.org/index.php/topic,80.0.html- For multiple terminal setups, make sure that the COM port used is available on all terminals, and setup the Pole Display on each terminal to use this same COM port.
- When you add the print jobs listed below to all your terminals, SambaPOS assumes that every terminal has a Pole Display connected and is on the COM port you have selected in create a new printer setup.
- For remote devices that will use RDP like ThinClients, other computers, PDA's, iPod's & iPad's, make sure that these terminals do not have the print jobs active as you will get sharing violations on the host computer - multiple users on a terminal server can not share a COM port on the server.
- To have a Pole Display working on a terminal, SambaPOS must be installed on the local computer.
Create a new PrinterSettings -> Printers -> Add Printer
- Printer Name =
Pole Display - Printer Share Name / Port Name =
COM3 (or whatever the COM port number that your pole display is connected to)
- Printer Type =
Port Printer - Character Set =
437 (or whatever page code suits your country)
- Line Count =
1 - Line Character Count =
20 (characters per line)
Create a Banner for when a terminal is idlePrinter Template for Idle BannerSettings -> Printer Templates -> Add Printer Template
- Template Name =
Pole Display Banner - Header Template (modify as needed for a two line display)
<XCT 12>
<C>WELCOME TO
<C>
<C>THE CITIES BEST
<C>RESTAURANT - there is a single space after the <C> which gives a blank line
Print Job for BannerSettings -> Print Jobs -> Add print Job
- Print Job Name =
Pole Display Banner - Printing Content =
All Lines - Auto Print After =
Manual - Add Mapping
- Select
Pole Display as Printer
- Select
Pole Display Banner as Printer Template
Add new Action for BannerSettings -> Actions -> Add Action
- Action Name =
Pole Display Banner - Action Type =
Execute Print Job - Print Job Name =
Pole Display BannerAdd new Rule for Idle Banner at User LoginSettings -> Rules -> Add Rule
- Rule Name =
Logged In Banner - Event Name =
User Login - Actions =
Pole Display BannerAdd new Rule for Idle Banner when Ticket ClosedSettings -> Rules -> Add Rule
- Rule Name =
Pole Display Banner - Event Name =
Ticket Closed - Actions =
Pole Display BannerAdd new Print Job to TerminalSettings -> Terminals -> {Select the terminal}
- Print Jobs -> Select Print Job
- Add Print Job
Pole Display BannerLogout and Log back in to active.
Create Terminal Is Closed BannerPrinter Template for Section ClosedSettings -> Printer Templates -> Add Printer Template
- Template Name =
Pole Display Closed - Header Template (modify as needed for a two line display)
<XCT 12>
<C>This Section
<C>is
<C>CLOSEDPrint Job for ClosedSettings -> Print Jobs -> Add print Job
- Print Job Name =
Pole Display Closed - Printing Content =
All Lines - Auto Print After =
Manual - Add Mapping
- Select
Pole Display as Printer
- Select
Pole Display Closed as Printer Template
Add new Action for ClosedSettings -> Actions -> Add Action
- Action Name =
Pole Display Closed - Action Type =
Execute Print Job - Print Job Name =
Pole Display ClosedAdd new Rule for Idle Banner when SambaPOS StartsSettings -> Rules -> Add Rule
- Rule Name =
System Startup - Event Name =
Application Started - Actions =
Pole Display ClosedAdd new Rule for Closed when User Logs OffSettings -> Rules -> Add Rule
- Rule Name =
Logged Out Closed - Event Name =
User Logout - Actions =
Pole Display ClosedAdd new Print Job to TerminalSettings -> Terminals -> {Select the terminal}
- Print Jobs -> Select Print Job
- Add Print Job
Pole Display ClosedLogout and Log back in to active.
Create Items DisplayPrinter Template for ItemsSettings -> Printer Templates -> Add Printer Template
- Template Name =
Pole Display Items - Header Template
<XCT 12> - Line Template
<J00>{NAME}| ${TOTAL AMOUNT} - Footer Template (remove the first two lines for a 2 line display)
<L>
<L>
<R>Total ${TICKET TOTAL} - there is a single space after the <L> which gives a blank line
Print Job for ItemsSettings -> Print Jobs -> Add print Job
- Print Job Name =
Pole Display Items - Printing Content =
New Lines by Printer Line Count - Auto Print After =
Manual - Add Mapping
- Select
Pole Display as Printer
- Select
Pole Display Items as Printer Template
Add new Action for ItemsSettings -> Actions -> Add Action
- Action Name =
Pole Display Items - Action Type =
Execute Print Job - Print Job Name =
Pole Display ItemsAdd new Rule for Items AddedSettings -> Rules -> Add Rule
- Rule Name =
Pole Display Items - Event Name =
Ticket Total Changed - Actions =
Pole Display ItemsAdd new Rule for Idle Banner when all items removed from ticketSettings -> Rules -> Add Rule
- Rule Name =
Ticket Total Zero - Event Name =
Ticket Total Changed - Conditions
-
Ticket Total = 0 - Actions =
Pole Display BannerAdd new Print Job to TerminalSettings -> Terminals -> {Select the terminal}
- Print Jobs -> Select Print Job
- Add Print Job
Pole Display ItemsLogout and Log back in to active.
Create Total DisplayPrinter Template for TotalSettings -> Printer Templates -> Add Printer Template
- Template Name =
Pole Display Total - Header Template
<XCT 12> - Footer Template
<J00>Total|${TICKET TOTAL} <J00>Tendered|${SETTING:TENDERED} <J00>Change Due|${SETTING:CHANGEDUE} <C>- Thank You -Print Job for TotalSettings -> Print Jobs -> Add print Job
- Print Job Name =
Pole Display Total - Printing Content =
All Lines - Auto Print After =
Manual - Add Mapping
- Select
Pole Display as Printer
- Select
Pole Display Total as Printer Template
Add new Action for TotalSettings -> Actions -> Add Action
- Action Name =
Pole Display Total - Action Type =
Execute Print Job - Print Job Name =
Pole Display TotalAdd new Action for Change DueSettings -> Actions -> Add Action
- Action Name =
Update Change Due - Action Type =
Update Program Setting - Setting Name =
CHANGEDUE - Setting Value =
[Setting Value] - Update Type =
Update - IsLocal =
TrueAdd new Action for Amount TenderedSettings -> Actions -> Add Action
- Action Name =
Update Tendered Amount - Action Type =
Update Program Setting - Setting Name =
TENDERED - Setting Value =
[Setting Value] - Update Type =
Update - IsLocal =
TrueAdd new Rule for Reset Change Due & TenderedSettings -> Rules -> Add Rule
- Rule Name =
Reset Change Due and Tendered - Event Name =
Ticket Created - Actions
-
Update Tendered Amount - Setting Value = 0 -
Update Change Due - Setting Value = 0Add new Rule for Update Change Due & TenderedSettings -> Rules -> Add Rule
- Rule Name =
Update Change Due and Tendered - Event Name =
Change Amount Updated - Actions
-
Update Tendered Amount - Setting Value = [TenderedAmount] -
Update Change Due - Setting Value = [ChangeAmount]Add new Rule for TotalSettings -> Rules -> Add Rule
- Rule Name =
Pole Display Total - Event Name =
Change Amount Updated - Actions =
Pole Display TotalAdd new Print Job to TerminalSettings -> Terminals -> {Select the terminal}
- Print Jobs -> Select Print Job
- Add Print Job
Pole Display TotalLogout and Log back in to active.