i have a program which outputs a .prt file for printing barcode. But i want to send the file directly to the printer port LPT1 for printing instead of having .prt file please any body suggest a solution.

Regards
Prashant

Well that would depend on your OS/Compiler and the type of program you're creating (say console or GUI).

Well that would depend on your OS/Compiler and the type of program you're creating (say console or GUI).

I am using dev cpp compiler and os is wintdows 2000. I want that when i run the code it the printer should print the barcode.


Regards
Prashant

Oh well, 2 out of 3 isn't too bad. Still not quite enough to start giving a meaningful answer though.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.