This sounds like a very basic network routing question, and with such generic info it's hard to point you in a specific direction. Sounds like the printer does not have the proper default gateway configured.
Would be best to work with you networking partner, or someone who understands IP routing and can troubleshoot what you misconfigured.
------------------------------
Herman Robers
------------------------
If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check
https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
------------------------------