• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Printing Problem in AWT/SWING

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
My application is for a retail outlet in awt/swing and oracle .
I am using simple g.drawString() on Canvas inside ScrollPane in Frame to display bill.
for printing I am calling paint(g) inside print() function implementation.

Everything is fine except printing is too slow.
I have tried all customisation,printer control panel settings but to no use.
I have also converted to pure SWING version of this module but theres no improvement.

Anybody please suggest me to print bill faster and less dots/char. I am using TVS dot matrix printer.
Waiting eagerly for your replies
thanks in advance.
kundan
kundan1@rediffmail.com


 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kundan, to follow our naming policy you'll need to have a display name that looks real. Please place the appropriate vowels in your display name. We try to be nice but we do have our rules and not following them usually results in losing your account here. Thanks.
 
girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic