Results 1 to 2 of 2
  1. #1
    valery is offline Member
    Join Date
    Jul 2007
    Posts
    32
    Rep Power
    0

    Default doubt about PRINT API

    I'm playing with Print API.
    Java Code:
    PrinterPaper.getPrinterPaper();
    this method returns PrinterPaperfor Default System Printer.
    Are there any method which allows me to specify the name of Printer?
    thanks

  2. #2
    leonard is offline Member
    Join Date
    Jul 2007
    Posts
    43
    Rep Power
    0

    Default

    Get an array of javax.print.PrintService via PrinterJob.lookupPrintServices() method. A javax.print.PrintService object represents a physical printer on your platform.

Similar Threads

  1. doubt
    By shaju_inspira in forum Sun Java Wireless Toolkit
    Replies: 0
    Last Post: 01-18-2008, 09:38 AM
  2. doubt in jms
    By veena in forum Enterprise JavaBeans (EJB)
    Replies: 2
    Last Post: 01-05-2008, 02:42 PM
  3. doubt about synchronized
    By simon in forum Advanced Java
    Replies: 2
    Last Post: 08-05-2007, 04:49 AM
  4. string doubt
    By boy22 in forum New To Java
    Replies: 3
    Last Post: 08-02-2007, 02:43 PM
  5. Doubt with classpath
    By fred in forum New To Java
    Replies: 1
    Last Post: 07-24-2007, 02:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •