Manage custom barcode

can we generate custom bar code in erpnext.
Is there any option to create our custom barcode and print them?

Thank you.

Refer raw printing:

https://docs.erpnext.com/docs/v14/user/manual/en/setting-up/print/raw-printing

I’ve set print format with raw printing. But, I’m getting error : QZ Tray Error: The current connection attempt has not returned yet.

Also When I’m install QZ-tray in ubuntu 22.04 I’m getting error

Running preinstall task…
[failure] Task preinstall failed.

Re-run with DEBUG=true for more information.