If it's going to be the same bar code over and over, then
you could use a graphic program that converts a graphic format to pcl, save it to a file, and use it in your coding.
If you need to change it on the fly, then probably the best way to go would be with a barcode soft font or a plug-in...