Barode Printing

I am trying to print a UPC-A barcode form UNIX to a epson dot matrix printer.

At the moment I can print EAN 8 using the following HEX string,

1B 10 41 04 00 01 00 06 .. creates the barcode
1b 10 42 08 .. prints the barcode

And this works fine but when I try to do something similar for a UPC-A barcode it doesn't work.

1B 10 41 04 01 00 00 06 .. create the barcode
1B 10 42 0C .. print the barcode.

Can somebody help me please.

Thanks,