Vagelism
Vagelism

Reputation: 601

Print into file

After my previous question that was ansered here , I can manage to print the pages I need but with a small problem. With Jtable.print there is always appear a window with the preferences for printing , select printer even print in a file the resaults. With the pj.print() I got an outcome to my printer when ever is connected and no other promt before . I tried pj.printDialog(); and gives me the prompt window with printers etc but nor the normal printer or the the print to file gives a resault. What am I doing wrong? Thank you!

Upvotes: 1

Views: 194

Answers (1)

trashgod
trashgod

Reputation: 205775

The printing dialogs vary across platforms and OS versions, so I'm probably seeing something different. In addition to printDialog(), you might try pageDialog(), which has a promising looking Printer… button.

Upvotes: 2

Related Questions