Steps
Step 1: First of all create a PRN file from Barcode Label Printer as per your Label Design content.
Step 2: Install Printer Driver in system and PlugIn with USB cable.
Step 3: GoTo ControlPanel --> Device and Printers
Step 4: Select Printer Properties and change this settings as per below image.

Step 5: Now Create one Batch File with following code
Step 6: Save this Batch file with .bat extension
Step 7: Now Run this Batch file by double click on this file.
OR
Step 8: by DOS command. Type following command in Dos Command prompt.
COPY C:\labeldesign\Label1.prn \\MyPC\CP-2140E
Output Like this
Finish
If u have any query regarding this feel free to Comment me.

Selva ganapathyPosted Feb 15, 2023, 7:43 AM
Barcode printer printout not coming
Alliance reTechPosted Sep 22, 2020, 12:18 AM
Sir could you help me to print barcode using .prn file with TVS printer,
ashar sahulPosted Oct 11, 2018, 6:49 AM
After running command I got I file copied..file also in the printer ques..but printing not happen
Kishore SahuPosted Oct 8, 2018, 6:51 AM
How to edit .prn file and print thru Java code?
karthick KumarPosted Sep 8, 2018, 6:11 AM
Hello sir, i downloaded .prn file with Labelshop Software..when i try to print a Label with .prn file, not printing of my Designing Format..it also created with .pcx file. It contains Unicode Letters...how to create and download .pcx file ? how to print label with .pcx file?
Murli JadhavPosted Jul 13, 2017, 1:15 PM
I used above steps but my .prn file is opened instead of copy and print. Is their any way to print it using c#
UdayPosted Jun 14, 2017, 7:49 AM
I executed copy command as per syntax mentioned.I get the message 1 file copied.However barcode is not printed.I am able to print test page.Can you pls help?
ADITYA BEJGAMAWRPosted May 25, 2017, 4:27 AM
I have prn file shared by barcode printer team, I need to replace the data from the application in same prn content and print the new content to barcode label printer from my java application. can you please share me some sample code for same.my printer name is tvs lp-45
Sarthak AggarwalPosted Apr 29, 2016, 4:35 AM
Hi Nikunj, I am having same problem as Iena, I need to print barcode label using java application. I have created the .bat file, but on double clicking for print it shows an error Font Too Short To Print. However, I am able to print the barcode on HP printer using same .Bat file. My printer is Zebra ZT400 series. It would be great if I could get some help on this.
lena sinkaramPosted Sep 20, 2015, 11:21 AM
I have prn file shared by barcode printer team, I need to replace the data from application in same prn content and print the new content to barcode label printer from my java application. can you please share me some sample code for same
lena sinkaramPosted Sep 20, 2015, 11:20 AM
Hi
Nikunj TrivediPosted Jul 24, 2015, 6:46 AM
ok..create a batch file like above , in your server and give batch file execute command on button click.
harshit solankiPosted Jul 15, 2015, 8:38 AM
Hi, I have one ASP.Net Application from which i need to send data DB is SQL Server. to the barcode printer to print barcode using a PRN file. but command can be only given from my Application. How this is possible please help. Regards