File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Problem in printing Jpanel Data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problem in printing Jpanel Data" Watch "Problem in printing Jpanel Data" New topic

Problem in printing Jpanel Data

Talha-bin -Shakir
Ranch Hand

Joined: Jan 26, 2006
Posts: 32
I am working on a swings application I have a Jpanel, I am facing serious problem with printing this JPanel data with "card printer". This is working fine when i using paper color printer but when i am using card printer its printing nothing. I have tested the printer using some Images and it is printing fine when i print any Image directly but using my application having problem the card printer not receiving any data while the paper printer is printing fine. Any one faced this before or anyone please help me out. This is my code:

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10825

Please use code tags

To add code tags
1 Click on the button in your post
2 Select the code
3 Click the "Code" button
4 Click "Submit"

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: Problem in printing Jpanel Data
It's not a secret anymore!