Print on a P-Touch p950nw printer

Hello good morning, I have a label printer in which the label is designed and from ignition I must send the object to insert the number I want in the bar code and the label is made, but I don’t know where to start I have not done code of that type is for a tool control application.
The printer is a p-touch p950nw