File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes Some advice in a printing problem ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Some advice in a printing problem ..." Watch "Some advice in a printing problem ..." New topic
Author

Some advice in a printing problem ...

Salamina Daniel
Ranch Hand

Joined: Oct 10, 2001
Posts: 41
I have to develop an application (java) wich access a database and after some calculations updates database an write a receipt (a sort of POS- local administration).
My problem is that if i stick to JSP (which seems like the most elegant and practical solution)- I'll have to print receipts from the workstation browser to a dot matrix printer. As I have no way to print only a few lines of text from the browser (It prints only A4 or some similar formats and my receipts are variable in layouts and sizes) my only choice is to write a client side application (and direct the output to LPT1, without printer driver intervention).
The point is I don't like awt and Swing ...but I'd rather use the browser (not to forget that updating the application would mean to reinstall all the clients)
Can you figure another solution for my issue ?
Best regards
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Why would you have to reinstall on updates. Heard of Java Web Start?
Salamina Daniel
Ranch Hand

Joined: Oct 10, 2001
Posts: 41
Thanks for your message !
I'll take a look at Java Web Start. It seems like a good solution for my problem
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
No problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Some advice in a printing problem ...
 
Similar Threads
Need help with POS printer
How to know which DocFlavor to implement
Applet having JAVAHELP[1.1.3] ,print hangs
Printing issue
Java Printing (automated)