# system.print.createPrintJob not working correctly after upgrading from 7.9.5 to 7.9.18

**URL:** <https://forum.inductiveautomation.com/t/system-print-createprintjob-not-working-correctly-after-upgrading-from-7-9-5-to-7-9-18/57011>\
**Category:** Ignition\
**Created:** [March 9, 2022, 2:12pm UTC](https://forum.inductiveautomation.com/t/system-print-createprintjob-not-working-correctly-after-upgrading-from-7-9-5-to-7-9-18/57011 "2022-03-09T14:12:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![naturesbeast](https://avatars.discourse-cdn.com/v4/letter/n/d07c76/32.png) [@naturesbeast](https://forum.inductiveautomation.com/u/naturesbeast)\
**Post date:** [March 9, 2022, 2:12pm UTC](https://forum.inductiveautomation.com/t/system-print-createprintjob-not-working-correctly-after-upgrading-from-7-9-5-to-7-9-18/57011/1 "2022-03-09T14:12:52Z")

</div>

Please help!

I am using the createPrintJob to print a window to a label printer using the following code:

pj = system.print.createPrintJob(event.source.parent)

pj.setShowPrintDialog(False)  
pj.setPageWidth(6.5)  
pj.setPageHeight(3.9)  
pj.setOrientation(0)  
pj.setPrinterName(prnName)  
pj.print()

Before the upgrade, the label looked like this:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/a/ca7bdfed2a790dea8d27219e7b91b2c4386991ec.jpeg)

Since the upgrade, the only thing that gets printed is the barcode label:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/2/626190ae23e02001b53768815402f57961264ee3.jpeg)

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [March 9, 2022, 3:50pm UTC](https://forum.inductiveautomation.com/t/system-print-createprintjob-not-working-correctly-after-upgrading-from-7-9-5-to-7-9-18/57011/2 "2022-03-09T15:50:58Z")

</div>

I suspect something else is at play here. I just checked the code and we’ve made no changes to this function since at least 2017.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 9, 2022, 3:51pm UTC](https://forum.inductiveautomation.com/t/system-print-createprintjob-not-working-correctly-after-upgrading-from-7-9-5-to-7-9-18/57011/3 "2022-03-09T15:51:50Z")

</div>

My guess is the Java version that is running the client has also changed, and that may have something to do with it.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 9, 2022, 3:54pm UTC](https://forum.inductiveautomation.com/t/system-print-createprintjob-not-working-correctly-after-upgrading-from-7-9-5-to-7-9-18/57011/4 "2022-03-09T15:54:36Z")

</div>

Fonts? (Packaged JRE versus System JRE,perhaps.)

---

<div class="post-metadata">

**Author:** ![naturesbeast](https://avatars.discourse-cdn.com/v4/letter/n/d07c76/32.png) [@naturesbeast](https://forum.inductiveautomation.com/u/naturesbeast)\
**Post date:** [March 9, 2022, 3:57pm UTC](https://forum.inductiveautomation.com/t/system-print-createprintjob-not-working-correctly-after-upgrading-from-7-9-5-to-7-9-18/57011/5 "2022-03-09T15:57:13Z")

</div>

I did notice that the font size on several of the Ignition screens has changed (got larger). I didn’t explicitly update Java when I migrated the gateways.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 9, 2022, 3:58pm UTC](https://forum.inductiveautomation.com/t/system-print-createprintjob-not-working-correctly-after-upgrading-from-7-9-5-to-7-9-18/57011/6 "2022-03-09T15:58:20Z")

</div>

Since ~7.9.10, native launchers come with their own Java, and use it by default. Try unchecking that to see what you get with the system java.

---

<div class="post-metadata">

**Author:** ![naturesbeast](https://avatars.discourse-cdn.com/v4/letter/n/d07c76/32.png) [@naturesbeast](https://forum.inductiveautomation.com/u/naturesbeast)\
**Post date:** [March 9, 2022, 4:16pm UTC](https://forum.inductiveautomation.com/t/system-print-createprintjob-not-working-correctly-after-upgrading-from-7-9-5-to-7-9-18/57011/7 "2022-03-09T16:16:07Z")

</div>

Voila! That worked! Thanks so much for all your help everyone.
