Comments (10)
I have used the jZebra ,but jZebra also throwing the same problem ..Please
suggest me some solution.
Original comment by [email protected]
on 22 Dec 2011 at 7:07
from jzebra.
There is not enough information this bug report.
If you would like to include Java source, attach the .java file, not the .class
file.
What version of the product are you using?
What are you trying to print?
What type of printer?
Can you supply sample code that you are using?
-Tres
Original comment by [email protected]
on 22 Dec 2011 at 5:43
from jzebra.
sorry for not providing enough info. But i really appreciate your quick reply,
Actually i am not really using jZebra but using its concept (calling java
function from java script like that..) I am trying to print couple of images
from web page using applet.
the code is attached below..when i run hp.html i got error that Printer is not
accepting job . Even using jZebra from its sample2.html file i got the same
error.
Thanks in advance,
Chirag Parmar
Original comment by [email protected]
on 27 Dec 2011 at 7:03
Attachments:
from jzebra.
Are you calling print directly? That is a violation of the java applet
security. I start a listener thread from init() and then invoke print from
there.
Original comment by [email protected]
on 27 Dec 2011 at 2:50
from jzebra.
yes ,I am calling the Print Directly But that ask me for the access of printer
,i also have created signed applet But still the same error comes ,IS it Bug
with jdk1.7 ?
and how can i start listener thread from init() can you give me example?
Thank you so much tres for your replies.
I have attached the HP.JAVA file which i am using as applet with HP.HTML , if
you find suitable time please look at this.
Thanks,
Chirag
Original comment by [email protected]
on 28 Dec 2011 at 6:08
Attachments:
from jzebra.
[deleted comment]
from jzebra.
Do a printStackTrace on your exception and you'll find the Security Framework
is throwing the message.
You need to start a thread by the Applet and have external functions pass it
parameters after it has already started running.
I accomplish this by implementing the Runnable interface and starting a while()
loop in the overrides run() method.
http://jzebra.googlecode.com/svn/trunk/jZebra/src/jzebra/PrintApplet.java
The result is much more code to do the same thing that you are trying.
Please do not do e.getMessage(). If that's what you want to display to the
user, that's ok, but you should put a stack trace to the console so that you
know what's actually causing your error message.
-Tres
Original comment by [email protected]
on 28 Dec 2011 at 2:12
from jzebra.
Thanks tres.
your advice really helped me.
-Chirag
Original comment by [email protected]
on 29 Dec 2011 at 2:20
from jzebra.
Closing bug and marking bug as invalid, as bug report has nothing to do with
jzebra project.
Original comment by [email protected]
on 31 Dec 2011 at 2:20
- Changed state: Invalid
from jzebra.
Original comment by [email protected]
on 22 Aug 2012 at 6:05
- Changed state: Duplicate
from jzebra.
Related Issues (20)
- ESCP for image append incorrectly using CPCL HOT 2
- Printing a receipt in arabic HOT 4
- Printing on multiple printers HOT 4
- JRE Version 7 Update 25 breaks jZebra 1.4.9 HOT 8
- jzebra applet won't register in asp.net secure webapp HOT 1
- Exception in thread "Thread-28" java.lang.SecurityException: HOT 4
- PDF Size HOT 1
- Print Thai Language to the printer, is show '??????' HOT 4
- Can't print to multiple printers simulatanously HOT 3
- Euro sign does not print in CP869 HOT 10
- Not all jobs are recieved by printer HOT 2
- "applet.findPrinter() is not a function" on Mac OS HOT 2
- Multiple labels printing randomly stop HOT 3
- Unable to print mixed chinese & english character
- Printing problem for mixed english & chines character for intermec 4440 printer HOT 1
- Document not printed oh hp laserjet p1102 HOT 3
- Upgrading jzebra to 1.4.7 or 1.5.6 crashes the webpage HOT 7
- Printer stop randomly HOT 3
- PostScript Always Selects Default Printer, OSX Java 7
- Java security issue that selfsigned sertificates will not work in next JDK release HOT 95
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jzebra.