# Issue with printing barcodes

**URL:** <https://forum.sambapos.com/t/issue-with-printing-barcodes/11553>\
**Category:** V5 Question\
**Created:** [July 4, 2016, 5:45pm UTC](https://forum.sambapos.com/t/issue-with-printing-barcodes/11553 "2016-07-04T17:45:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vasilios](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/v/6bbea6/32.png) [@Vasilios](https://forum.sambapos.com/u/Vasilios)\
**Post date:** [July 4, 2016, 5:45pm UTC](https://forum.sambapos.com/t/issue-with-printing-barcodes/11553/1 "2016-07-04T17:45:57Z")

</div>

Ive added barcodes to the bottom of my checks and I noticed that when I use Print Bill it doesn’t work but will work when I reprint.

Because barcode prints {Ticket Id} and i think the ticket id isn’t created until the the ticket is submitted so when I print it causes an error. Any ideas how to remedy this.

 ![](https://forum.sambapos.com/uploads/default/original/3X/7/2/720d3cc9917a6fa052ef3be3fd5db2711562579c.gif)

---

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [July 4, 2016, 6:14pm UTC](https://forum.sambapos.com/t/issue-with-printing-barcodes/11553/2 "2016-07-04T18:14:29Z")

</div>

Save ticket might help but may cause issues with cancel/void never delved that beeply into the action but it should create it.  
Alternatively would ticket number be any use for bar-code instead?

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [July 4, 2016, 6:28pm UTC](https://forum.sambapos.com/t/issue-with-printing-barcodes/11553/3 "2016-07-04T18:28:19Z")

</div>

> [@JTRTech](#):
>
> Alternatively would ticket number be any use for bar-code instead?

Wow I’m surprised Load Ticket action does not have loading ticket by ticket number feature. I’ll add that for next update (.61).

---

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [July 4, 2016, 6:30pm UTC](https://forum.sambapos.com/t/issue-with-printing-barcodes/11553/4 "2016-07-04T18:30:08Z")

</div>

I was thinking at the time… whats the barcode for, next will be script to get ticket id from ticket number (already have one somewhere on PMS setup LOL) but ticket number in action would be simpler 🙂

---

<div class="post-metadata">

**Author:** ![silentbob](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/3ab097/32.png) [@silentbob](https://forum.sambapos.com/u/silentbob)\
**Post date:** [July 4, 2016, 10:07pm UTC](https://forum.sambapos.com/t/issue-with-printing-barcodes/11553/5 "2016-07-04T22:07:16Z")

</div>

I added save ticket action to settle rule to make this work for me
