thilino / jzebra

Automatically exported from code.google.com/p/jzebra
0 stars 0 forks source link

Toshiba TEC B-EV4-G #214

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Does anyone know if the qz-print applet works with the Toshiba TEC B-EV4-G 
thermal printer?

It seems like everything is working fine, the applet says the job has been sent 
to the printer queue, the printer queue icon shows up in the systray but the 
queue is just empty.
I tried with another printer (not a thermal one) connected to the same computer 
and it prints EPL and ZPL labels (it just prints text but it prints).

I'm using the last version of Chrome (33.0.1750.152
) and Java (7u51) with Windows 7 Professional SP1 x32.

Original issue reported on code.google.com by netforger.solutions on 1 Apr 2014 at 11:49

GoogleCodeExporter commented 8 years ago
@Netforger Solutions,

You will need to construct your own TPCL raw commands.  If you provide a link 
to a programming manual I will be able to tell you if it is compatible.

I doubt any of the buttons in sample.html will help you.  If you are able to 
provide the project some sample TPCL code for our next release we can exchange 
it for some support with this.

Original comment by tres.fin...@gmail.com on 1 Apr 2014 at 12:52

GoogleCodeExporter commented 8 years ago
It seems some of these printers support ZPL:
ftp://ftp.software.ibm.com/software/retail/pubs/hw/9338/9338-b-ex_z-mode_spec_5t
h.pdf

If yours supports ZPL, you may have better luck just using that rather than 
TPCL.  I would also recommend contacting someone at either Toshiba or IBM about 
this as they should have some examples in C++, COBOL, BASIC, etc which would be 
a good starting point for us.

-Tres

Original comment by tres.fin...@gmail.com on 1 Apr 2014 at 12:59

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
http://fyi.toshiba.com:81/KB/file_uploads/10364/B-EV4-Series/Manuals/ZPL-II-EPL-
II-Emulation-Specification/BEV4_Emulation_Spec_1st.pdf

http://fyi.toshiba.com:81/KB/file_uploads/10364/B-EV4-Series/Manuals/ZPL-II-EPL-
II-DPL-Emulation-Specification/ZPL_EPL_DPL_Emulation_Spec_1st.pdf

http://fyi.toshiba.com:81/KB/file_uploads/10364/B-EV4-Series/Manuals/ZPL-II-EPL-
II-IPL-Emulation-Specification/ZPL_EPL_IPL_Emulation_Spec_1st.pdf

http://fyi.toshiba.com:81/KB/file_uploads/10364/B-EV4-Series/Manuals/SNMP-Specif
ication/SNMP_Spec_4th.pdf

Taken from: 
http://fyi.toshiba.com:81/KB/file_uploads/10364/B-EV4-Series/Manuals/index.html

Do you think the above manuals are the right ones?

Anyway, thanks for you reply!
I'll also try to contact some guy at Toshiba to see if they have some examples 
to share.

Thanks,
Francesco

Original comment by netforger.solutions on 1 Apr 2014 at 2:00

GoogleCodeExporter commented 8 years ago
Well, that's fantastic news then if you can use a popular language like ZPL!

Have you set up your printer for raw printing?  That and make sure your printer 
is configured to accept ZPL (if setup is needed) and you might be done. :)

http://qzindustries.com/TutorialRawWin
http://qzindustries.com/TutorialRawUbuntu
http://qzindustries.com/TutorialRawOSX

-Tres

Original comment by tres.fin...@gmail.com on 1 Apr 2014 at 2:36

GoogleCodeExporter commented 8 years ago
I didn't set up my printer for raw printing!
Many thanks for the tip, I'll let you know if it works :)

Thanks,
Francesco

Original comment by netforger.solutions on 1 Apr 2014 at 3:04

GoogleCodeExporter commented 8 years ago
Hi there. Unfortunately my code is not working for some reason.
I set up the printer as a RAW one as described by your guides.
I also put in my code all the steps to check if the applet is ready and 
correctly deployed as showed in your sample.html
What I'm trying to do is to print a ZPL txt file from DHL sending it, line by 
line, to the printer.

I append the data through the applet in this function:

    w.qzHelper.prototype.printLabel = function (label) {
        if (this.notReady()) {
            return;
        }

        label = label.split('\n'); // "label" is the DHL text file

        if (label && label.length) {
            for (var i in label) {
                w.qz.append(label[i] + '\n');
            }

            w.qz.print();
        }
    };

Here the text file I'm trying to print: https://copy.com/IFbZKO3cf98Q
And here the full code: http://jsfiddle.net/AHqM8/ (I think the big part is in 
the print() and printLabel() functions)

I hope you can help me! Maybe there is something wrong in the appending 
procedure.

Thanks,
Francesco

Original comment by netforger.solutions on 2 Apr 2014 at 1:01

GoogleCodeExporter commented 8 years ago
Do either the EPL or ZPL buttons in sample.html work?

-Tres

Original comment by tres.fin...@gmail.com on 2 Apr 2014 at 1:42

GoogleCodeExporter commented 8 years ago
Not at all. They give me the same issue I described in my first post. The 
applet says the job has been sent to the printer queue, the printer queue icon 
shows up in the systray but the queue is just empty and nothing else happens.

Do I have to uninstall the other version of the printer (the one with the real 
drivers) keeping just the raw one?

Original comment by netforger.solutions on 2 Apr 2014 at 1:49

GoogleCodeExporter commented 8 years ago
(for the tests, of course, I've used the raw one)

Original comment by netforger.solutions on 2 Apr 2014 at 1:49

GoogleCodeExporter commented 8 years ago
No, you can keep both versions.  I assume you're selecting the raw one 
correctly.

Some basic troubleshooting steps which I'm sure you've tried is to reboot the 
printer in between failed print jobs and pausing all documents and recycling 
the print spooler occasionally, etc.

If neither the ZPL or EPL commands are making it to the printer, I would 
recommend trying a very simple test print to make sure the image append isn't 
causing issues.  Do you know if this printer needs to be "switched" into ZPL or 
EPL mode, or does it auto-detect the data stream and "just work"?

I have an EPL capable printer that I test the sample.html with so I'm certain 
the EPL code that ships with sample.html (version 1.8.0) is compatible with a 
Zebra printer.  What I'm not solid on is the compatibility of that with your 
printer, or what work-arounds may need to be considered... :/

-Tres

Original comment by tres.fin...@gmail.com on 2 Apr 2014 at 1:59

GoogleCodeExporter commented 8 years ago
Hi,
I have bought Toshiba TEC B-EV4-G thermal printer for my shop. I am using open 
source POS system. I am trying to print bar-code from chrome browser it's not 
displaying properly.
So I have downloaded bar-code as an PNG format image to desktop & try to print 
it. Now it prints but bar-code not readable by scanner.
So I have tried to use ZPL II language as suggested by E4-G product manual 
http://fyi.toshiba.com:81/KB/file_uploads/10364/B-EV4-Series/Manuals/ZPL-II-EPL-
II-Emulation-Specification/BEV4_Emulation_Spec_1st.pdf
When use ZPL II the printer is not printing any thing.
Kindly let me know how to switch printer to ZPL mode or print from browser or 
PNG image (Windows photo viewer).
Thanks!

Original comment by varv.j...@gmail.com on 26 Apr 2014 at 6:21

GoogleCodeExporter commented 8 years ago
You are likely to have better luck contacting Toshiba in regards to switching 
printer modes as this isn't a common question among our community.

I assume you've set your printer up as a raw device already.
http://qzindustries.com/TutorialRawUbuntu

The manual which you've linked won't load for me (in the US) so I can't even 
search the document for what you've requested.

-Tres

Original comment by tres.fin...@gmail.com on 26 Apr 2014 at 3:44