nini9140 / jzebra

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

Unable to print in thermal printeron ubuntu 10.04 #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I am using star TSP100 thermal printer.
2.I followed the instructions in setting up printer in linux from jzebra 
(driver is raw queue).
3.I run the sample.html in mozilla, the printer is detected but no printing 
when you click print buttons.

What is the expected output? What do you see instead?
the test output of zebra

What version of the product are you using? On what operating system?
1.1.0

Please provide any additional information below.

Original issue reported on code.google.com by mr.zan...@gmail.com on 1 Apr 2011 at 8:41

GoogleCodeExporter commented 9 years ago
Hi here is the output on my java console.

java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1~10.04.1)
OpenJDK Server VM (build 19.0-b09, mixed mode)
04 1, 11 5:03:50 PM jzebra.LogIt log
INFO: jZebra 1.1.0
04 1, 11 5:03:50 PM jzebra.LogIt log
INFO: ===== JAVASCRIPT LISTENER THREAD STARTED =====
04 1, 11 5:03:50 PM jzebra.LogIt log
INFO: ===== SEARCHING FOR PRINTER =====
04 1, 11 5:03:50 PM jzebra.PrintServiceMatcher findPrinter
INFO: Printer specified: zebra
04 1, 11 5:03:50 PM jzebra.PrintServiceMatcher findPrinter
INFO: Printer found: zebra
04 1, 11 5:03:54 PM jzebra.LogIt log
INFO: ===== SEARCHING FOR PRINTER =====
04 1, 11 5:03:54 PM jzebra.PrintServiceMatcher findPrinter
INFO: Printer specified: zebra
04 1, 11 5:03:54 PM jzebra.PrintServiceMatcher findPrinter
INFO: Printer found: zebra
04 1, 11 5:03:57 PM jzebra.LogIt log
INFO: ===== SENDING RAW DATA TO THE PRINTER =====
04 1, 11 5:03:57 PM jzebra.LogIt log
INFO: 

A590,1600,2,3,1,1,N,"jZebra 1.1.0 sample.html"
A590,1570,2,3,1,1,N,"Testing the print() function"
P1

04 1, 11 5:03:57 PM jzebra.LogIt log
INFO: Sending print job to printer: "zebra"
04 1, 11 5:03:57 PM jzebra.LogIt log
INFO: Print job data transfer complete.
04 1, 11 5:03:57 PM jzebra.LogIt log
INFO: Print job data transfer complete.
04 1, 11 5:03:57 PM jzebra.LogIt log
INFO: Print job has no more events.
04 1, 11 5:03:57 PM jzebra.LogIt log
INFO: Print job has no more events.
04 1, 11 5:03:57 PM jzebra.LogIt log
INFO: Print job received by printer: "zebra"

Original comment by mr.zan...@gmail.com on 1 Apr 2011 at 9:07

GoogleCodeExporter commented 9 years ago
@Mr. Zantos

The sample commands that come bundled with jZebra are currently just for ZPLII 
capable printers, so they probably won't work out-of-the-box.

Your printer uses a format similar to ESC/P (Eltron) called "STAR Command 
Specification"

Here's a sample command reference for a Star model printer.
http://www.star-m.jp/eng/service/usermanual/linemode_cm_en.pdf

If you want to do a simple "Hello World" example, please email the mailing list 
and someone who's worked with a similar printer will likely be able to help you:

http://groups.google.com/group/jzebra-users

I'll leave this bug report open for a few weeks so you can find it.  I suggest 
putting in a feature request for the sample code to support more printers out 
of the box (I would expect you to help with this, since you're the first to 
post about this printer).

-Tres

Original comment by tres.fin...@gmail.com on 1 Apr 2011 at 11:18

GoogleCodeExporter commented 9 years ago
thanks for the reply tres, I hope jzebra will support many more printer models 
in the near future. :)

Original comment by mr.zan...@gmail.com on 4 Apr 2011 at 3:36

GoogleCodeExporter commented 9 years ago
@Mr. Zantos:  Just to be clear, jZebra does work with your printer, you just 
need to supply the correct commands.  The demo uses commands that are 
incompatible.  You can replace these commands with known working commands.  I 
will be happy to help you do this via email.  tres.finocchiaro@gmail.com

Original comment by tres.fin...@gmail.com on 4 Apr 2011 at 3:43

GoogleCodeExporter commented 9 years ago
Hi tres,
   Unfortunately we change the preferred thermal printer. We are now using epson TMT88v because they said that the model of the star printer is obsolete and worked fine, We can print now using the jzebra applet but we notice that it cant print images and khmer characters. can you help me in finding an answer to my problem? 

thanks!

Original comment by mr.zan...@gmail.com on 6 Apr 2011 at 7:49

GoogleCodeExporter commented 9 years ago
or should i make a new ticket for this?

Original comment by mr.zan...@gmail.com on 6 Apr 2011 at 7:51

GoogleCodeExporter commented 9 years ago
New ticket created.

http://code.google.com/p/jzebra/issues/detail?id=27

Original comment by tres.fin...@gmail.com on 6 Apr 2011 at 4:30