Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Some advice in a printing problem ...

 
Salamina Daniel
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you have to reinstall on updates. Heard of Java Web Start?
 
Salamina Daniel
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic