Set or change the default printer in windows from Java

Discussion in 'Java' started by cyberco, Nov 11, 2004.

  1. cyberco

    cyberco Guest

    Hi,

    Using a Java app I would like to change Window's default printer. Is
    that possible?

    If not there is still the option of showing users the print dialog and
    let them set the default printer manually. Unfortunately the dialog
    shown by PrinterJob.printDialog() shows a dialog that doesn't provide
    the option to set the default printer :( Is there a way around this?

    Any help would be really appreciated.

    Kind regards,
    cyberco
     
    cyberco, Nov 11, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ThunderMusic
    Replies:
    1
    Views:
    4,953
    Chris Taylor
    Feb 12, 2006
  2. Samantha

    Print to Windows default Printer

    Samantha, Jan 18, 2005, in forum: Python
    Replies:
    2
    Views:
    400
    Samantha
    Jan 18, 2005
  3. Tim Golden

    RE: Print to Windows default Printer

    Tim Golden, Jan 19, 2005, in forum: Python
    Replies:
    3
    Views:
    444
    Samantha
    Jan 20, 2005
  4. Tim Golden

    RE: Print to Windows default Printer

    Tim Golden, Jan 20, 2005, in forum: Python
    Replies:
    1
    Views:
    438
    Samantha
    Jan 20, 2005
  5. Tim Golden

    RE: Print to Windows default Printer

    Tim Golden, Jan 20, 2005, in forum: Python
    Replies:
    1
    Views:
    400
    Samantha
    Jan 20, 2005
  6. Ace_12
    Replies:
    0
    Views:
    1,126
    Ace_12
    Sep 22, 2006
  7. Domenico Discepola

    How to change default printer in Windows using Perl

    Domenico Discepola, Jul 16, 2004, in forum: Perl Misc
    Replies:
    1
    Views:
    583
    Domenico Discepola
    Jul 16, 2004
  8. Replies:
    1
    Views:
    161
    Thomas 'PointedEars' Lahn
    Feb 17, 2006
Loading...