Maximo Open Forum

 View Only
Expand all | Collapse all

Zebra Label Printing from Maximo

  • 1.  Zebra Label Printing from Maximo

    Posted 04-07-2022 11:59
    We have published a solution for printing Zebra labels from Maximo.  This has a full Maximo 7.6.1 / MAS 8 compatible installation and deploys in a few minutes. We also provided an uninstaller in case you want to pull it out.

    Hopefully this is helpful to you all and if you have questions feel free to reach out.

    GitHub - sharptree/zebra-printing-scripts
    GitHub remove preview
    GitHub - sharptree/zebra-printing-scripts
    The Zebra Label Printing automation scripts provide the ability to define uniquely identified printers and labels, and then print labels by providing the printer and label names as well as a object name and object unique identifier.
    View this on GitHub >


    #Integrations
    #Inventory
    #MaximoApplicationSuite

    ------------------------------
    Jason VenHuizen
    Sharptree
    ------------------------------


  • 2.  RE: Zebra Label Printing from Maximo

    Posted 09-21-2023 07:28

    Jason

    My current client is on MAS 8.10 but hosted by IBM and IBM refuses to install the Zebra library on our MAS instance. So we are working on automation scripts to send ZPL code directly to an IP address just to test whether it works. After that we will work on selecting printers etc.

    Your script seems to do exactly what we are attempting to do, but does your script rely on the zebra library to have to be installed on the server?



    ------------------------------
    Tim Bartmann
    Self
    ------------------------------



  • 3.  RE: Zebra Label Printing from Maximo

    Posted 09-21-2023 10:07

    Tim,

    Here are the core scripts for performing the printing actions.  The project has all the documentation and examples of printing from the Automation Script directly without an additional libraries.

    https://github.com/sharptree/zebra-printing-scripts

    Regards,

    Jason



    ------------------------------
    Jason VenHuizen
    Sharptree
    ------------------------------



  • 4.  RE: Zebra Label Printing from Maximo

    Posted 10-03-2023 11:09

    Thank you Jason.



    ------------------------------
    Tim Bartmann
    Self
    ------------------------------



  • 5.  RE: Zebra Label Printing from Maximo

    Posted 06-24-2024 18:38

    Jason,

    I was looking at what you had developed, and while it appears to mainly be geared to various inventory processes, I was wondering if you thought it could be expanded to also generate asset ID and location labels. We are looking for something like your software that would do that, and before digging into it any further, I thought I would see what you thought.

    Thanks for any input.



    ------------------------------
    Jim Dutton
    Battle Lumber Company
    ------------------------------



  • 6.  RE: Zebra Label Printing from Maximo

    Posted 06-24-2024 18:48

    Hi Jim,

    We actually separated out the printing from the label definition etc into just automation scripts so you can use the functionality of the extension without having to install the management parts.  Those scripts can be found here:

    https://github.com/sharptree/zebra-printing-scripts

    I don't think I specifically mention it in the documentation, but the solution part of our Opqo mobile product (https://opqo.io), so we designed it to be used independently.

    Note that all those scripts support being deployed with our VS Code extension so you don't have to manually create the scripts in your Maximo instance.

    https://marketplace.visualstudio.com/items?itemName=sharptree.maximo-script-deploy

    If you want to chat about how to use these or just have questions feel free to reach out at jason@sharptree.io.

    Jason



    ------------------------------
    Jason VenHuizen
    Sharptree
    ------------------------------



  • 7.  RE: Zebra Label Printing from Maximo

    Posted 06-25-2024 13:13

    Jason,

    Thanks for the additional information. We are just starting to look at this, but if we run into anything, I'll definitely reach out. Thanks again.



    ------------------------------
    Jim Dutton
    Battle Lumber Company
    ------------------------------



  • 8.  RE: Zebra Label Printing from Maximo

    Posted 09-30-2024 00:50

    Hi Jason,

    Thanks so much for the library. 

    I tried to apply the solution to MAS 9 but it failed with error:

    [err] javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.

    I tried:

    No issues with the build but it fails on the ui start :( Nothing helped.

    Would much appreciate your help!

    30 Sep 2024 04:21:48:240 [INFO ] [maximo] BMXAA6453I - The server is connecting to database version: V9000-127
    [err] javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
    [err] at java.base/com.sun.crypto.provider.CipherCore.unpad(CipherCore.java:1065)
    [err] at java.base/com.sun.crypto.provider.CipherCore.fillOutputBuffer(CipherCore.java:1145)
    [err] at java.base/com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:919)
    [err] at java.base/com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)
    [err] at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2202)
    [err] at psdi.util.MXCipher.decData(MXCipher.java:293)
    [err] at psdi.server.MXServer.getPkgFromJar(MXServer.java:2251)
    [err] at psdi.server.MXServer.packagingCheck(MXServer.java:1867)
    [err] at psdi.server.MXServer.boot(MXServer.java:1685)
    [err] at psdi.server.MXServer.start(MXServer.java:3905)
    [err] at psdi.servlet.MAXIMOStartupServlet.init(MAXIMOStartupServlet.java:116)
    [err] at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:301)
    [err] at [internal classes]
    [err] at com.ibm.ws.webcontainer.osgi.WebContainer.access$100(WebContainer.java:113)
    [err] at com.ibm.ws.webcontainer.osgi.WebContainer$3.run(WebContainer.java:996)
    [err] at [internal classes]
    [err] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    [err] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    [err] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    [err] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    [err] at java.base/java.lang.Thread.run(Thread.java:839)
    30 Sep 2024 04:21:59:933 [FATAL] [maximo] BMXAA6473E - The MXSERVER server could not be started. Check the log file for other errors to determine the cause.
    psdi.util.MXSystemException: BMXAA4072E - The formatting for the packaging file is incorrect. Contact IBM Support for help in removing the corrupt files. Then reinstall new files using the PkgInstall utility.
    at psdi.server.MXServer.getPkgFromJar(MXServer.java:2255) ~[businessobjects.jar:?]
    at psdi.server.MXServer.packagingCheck(MXServer.java:1867) ~[businessobjects.jar:?]
    at psdi.server.MXServer.boot(MXServer.java:1685) ~[businessobjects.jar:?]
    at psdi.server.MXServer.start(MXServer.java:3905) [businessobjects.jar:?]
    at psdi.servlet.MAXIMOStartupServlet.init(MAXIMOStartupServlet.java:116) [maximoui.war:?]
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:301) [com.ibm.ws.webcontainer_1.1.88.jar:?]
    at [internal classes]
    at com.ibm.ws.webcontainer.osgi.WebContainer.access$100(WebContainer.java:113) [com.ibm.ws.webcontainer_1.1.88.jar:?]
    at com.ibm.ws.webcontainer.osgi.WebContainer$3.run(WebContainer.java:996) [com.ibm.ws.webcontainer_1.1.88.jar:?]
    at [internal classes]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
    at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
    at java.lang.Thread.run(Thread.java:839) [?:?]
    30 Sep 2024 04:21:59:938 [ERROR] [maximo] BMXAA6538E - Failed to initialize MAXIMO business object services.
    psdi.util.MXSystemException: BMXAA4072E - The formatting for the packaging file is incorrect. Contact IBM Support for help in removing the corrupt files. Then reinstall new files using the PkgInstall utility.
    at psdi.server.MXServer.getPkgFromJar(MXServer.java:2255) ~[businessobjects.jar:?]
    at psdi.server.MXServer.packagingCheck(MXServer.java:1867) ~[businessobjects.jar:?]
    at psdi.server.MXServer.boot(MXServer.java:1685) ~[businessobjects.jar:?]
    at psdi.server.MXServer.start(MXServer.java:3905) ~[businessobjects.jar:?]
    at psdi.servlet.MAXIMOStartupServlet.init(MAXIMOStartupServlet.java:116) [maximoui.war:?]
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:301) [com.ibm.ws.webcontainer_1.1.88.jar:?]
    at [internal classes]
    at com.ibm.ws.webcontainer.osgi.WebContainer.access$100(WebContainer.java:113) [com.ibm.ws.webcontainer_1.1.88.jar:?]
    at com.ibm.ws.webcontainer.osgi.WebContainer$3.run(WebContainer.java:996) [com.ibm.ws.webcontainer_1.1.88.jar:?]
    at [internal classes]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
    at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
    at java.lang.Thread.run(Thread.java:839) [?:?]
    [ERROR   ] SRVE0271E: Uncaught init() exception created by servlet [MAXIMOStartupServlet] in application [maximoui]: javax.servlet.ServletException: BMXAA6539E - Failed to initialize the MAXIMOStartupServlet with exception: BMXAA4072E - The formatting for the packaging file is incorrect. Contact IBM Support for help in removing the corrupt files. Then reinstall new files using the PkgInstall utility.
    at psdi.servlet.MAXIMOStartupServlet.init(MAXIMOStartupServlet.java:129)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:301)
    at [internal classes]
    [ERROR   ] SRVE0276E: Error while initializing Servlet [MAXIMOStartupServlet]: javax.servlet.ServletException: BMXAA6539E - Failed to initialize the MAXIMOStartupServlet with exception: BMXAA4072E - The formatting for the packaging file is incorrect. Contact IBM Support for help in removing the corrupt files. Then reinstall new files using the PkgInstall utility.
    at psdi.servlet.MAXIMOStartupServlet.init(MAXIMOStartupServlet.java:129)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:301)
    at [internal classes]
    Oslc servlet.... Server did not started yet. Will wait 30 sec.


    ------------------------------
    Alexey Potanin
    Denver Technology
    ------------------------------



  • 9.  RE: Zebra Label Printing from Maximo

    Posted 07-24-2025 11:52

    Hello, Alexey and Jason, 

    Were you ever able to get this up and running in a MAS 9+ environment? looking for a possible solution for our item label printing business requirements, 

    Thanks



    ------------------------------
    John Adams
    Strategic Maintenance Solutions
    ------------------------------



  • 10.  RE: Zebra Label Printing from Maximo

    Posted 09-19-2025 14:05

    This solution works in 7.6 and MAS.
    https://assetpartners.com/label-pro-for-maximo/



    ------------------------------
    Jose Nodeland
    JedaWorks
    ------------------------------



  • 11.  RE: Zebra Label Printing from Maximo

    Posted 09-22-2025 10:36

    Yes an updated version was released that works with MAS 9.  Keep in mind it is also open source and free so if you need it to work differently you can always branch it yourself.

    There is also a solution to allow remote printing from a cloud instance onto a local network without needing to open a firewall, which may be helpful for a lot of implementations.



    ------------------------------
    Jason VenHuizen
    Naviam
    ------------------------------