axxshodiq / jzebra

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

What can be wrong??? #76

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
(Sorry for my English)

I need a help from you. I have two different applications and running from two 
different servers, but they have the same template for creating file for 
printing using raw printing with jZebra. 

If I run one client from App1 and one client from App2 in the same machine the 
first one print directly to printer well, but the second app does not print 
anything with the same total equally template. The first one print receipt for 
payment and the second a ticket for Lottery game. But is the same file with 
different applications.

I think the problem is in the server, but 

1- there are the same files from jZebra. Today I will change both it to version 
1.4.3, but just for "updating reason", because the previous one is working 
well. 

2- And the structure for applications in the server are the same:

app folder
----------
 |
 |- App.exe (http server)
 |
 -- jzebra (folder)

Just one running in the 61013 port and the other running in the 60006 port. 
(That is not the difference).

Files in the server are generating using dates and times for avoid caching from 
browsers, but the schema for that is the same caused the both apps are using 
the same base framework.

The difference in the file is here, in the line 25:
.
.
.
24       {
25        applet.append("Prueba de Impresion \n");
26 
27        applet.print();
28       }
.
.
. 

The line 25 is generated automatically from App and could be different in count 
depending on the app, but ever is: 

applet.append(" XXXXXX \n");

Original issue reported on code.google.com by dionel1...@gmail.com on 12 Jul 2012 at 7:57

Attachments:

GoogleCodeExporter commented 8 years ago
Three things:

1.  You should not file a bug report for support questions. :)  You should use 
the mailing list instead. :)
2.  Sometimes "\n" or "\r\n" causes problems with certain printers but your 
example only shows one line of text containing "\n". What else is being sent 
the printer?
3.  Look in your browser's error log to make sure it isn't a small JavaScript 
error.

-Tres

Original comment by tres.fin...@gmail.com on 12 Jul 2012 at 3:32

GoogleCodeExporter commented 8 years ago
Thank you for your answer. I will use Mailing list next time.

Dionel

Original comment by dionel1...@gmail.com on 13 Jul 2012 at 1:57

GoogleCodeExporter commented 8 years ago
Closing this issue as invalid.

Please follow the rest of the conversation here:
https://groups.google.com/d/topic/jzebra-users/-jP1Xp0tUV0/discussion

If this bug was closed in error, feel free to reopen it. :)

-Tres

Original comment by tres.fin...@gmail.com on 13 Jul 2012 at 6:54