LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Printing barcodes on Epson Stylus C86 (https://www.linuxquestions.org/questions/programming-9/printing-barcodes-on-epson-stylus-c86-338390/)

edjones 06-29-2005 10:00 AM

Printing barcodes on Epson Stylus C86
 
Has anyone managed to programatically print barcodes on an Epson Stylus C86 - so in other words not - gulp - using gimp or GhostView etc - this is because the code needs to be portable and not rely on a 3rd party solution.

I have tried using ESC/P2 codes which include a barcode command, but it would seem that the C86 doesn't accept ESC/P or ESC/P2 commands. I think this is the case as even simple commands for instance turning bold on which is just two characters (ESC and E) do not seem to have any effect on the print out.

I have a raw dump of a print out that does print bold text but this looks as
though it is using the Epson Job Language which is a whole lot more
complicated. For instance instead of just sending two commands for bold, the resulting raw file I have is 7KB! But if I have to go this route then so be it.

Any help would be really appreciated.


Edward Jones
Development
NVS Ltd

edjones 06-30-2005 04:37 AM

I have just had confirmation from Robert Krawitz of my worst fears

"None of the Stylus printers (at least nothing remotely recent) accepts ESC/P2. They're basically pure raster printers that have very rudimentary ability to print ASCII text."

So this makes my job a little more interesting...


Ed Jones


All times are GMT -5. The time now is 02:24 AM.