Results 1 to 4 of 4
  1. #1
    r00tb33r is offline Member
    Join Date
    Jun 2010
    Posts
    14
    Rep Power
    0

    Talking Choosing which paper tray/feeder to print to (lets try this again)

    Hello all,
    I'd like a code example of how to choose which paper tray/feeder to print P.r.i.n.t.a.b.l.e object to.
    Assume that the desired tray/feeder is not the default tray/feeder set by Windows on the printer in question and paper sizes are different among trays/feeders.
    Help is much appreciated!

    NOTE: This is not a double post. Last thread hit a forum bug and moderators were not able to fix it.
    Also, please do not use the word P.r.i.n.t.a.b.l.e without the dots. It seems to cause the forum to blow up.

  2. #2
    r00tb33r is offline Member
    Join Date
    Jun 2010
    Posts
    14
    Rep Power
    0

    Default

    anyone...?

  3. #3
    r00tb33r is offline Member
    Join Date
    Jun 2010
    Posts
    14
    Rep Power
    0

    Default

    ...what's wrong with the question?

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,783
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by r00tb33r View Post
    ...what's wrong with the question?
    Nothing, but I don't think many people are comforable with the printing framework in Java. The following is from the top of my head so I could be wrong: a PrintService can give you a DocPrintJob; you can add attributes to that job if you want it to print; one of those attributes is the MediaTray attribute. Read the API documentation for all those classes and interfaces.

    kind regards,

    Jos

Similar Threads

  1. Choosing which paper tray/feeder to print to
    By r00tb33r in forum AWT / Swing
    Replies: 0
    Last Post: 08-01-2010, 08:10 AM
  2. Need advise for choosing book
    By Teodor__b in forum New To Java
    Replies: 2
    Last Post: 02-19-2010, 02:13 PM
  3. Replies: 1
    Last Post: 10-24-2009, 04:10 AM
  4. Choosing a degree concentration
    By xcallmejudasx in forum Jobs Discussion
    Replies: 11
    Last Post: 08-14-2009, 12:30 PM
  5. Replies: 2
    Last Post: 02-20-2009, 08:25 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
  •