• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • Last Modified:

Printing to a specific printer tray (HP 806dn printer)

In my website, I have to print 3 documents for each order.

1. Receipt - 8 1/2 x 11 to tray 2
2. Grid sheet - 11 x 17 to tray 3 (two sided document)
3. Exams - 11 x 17 to tray 3 (one sided document(s))

These need to print in that order because I have as many as 100 orders per day and they are being printed by a fulfillment company outside of our office.

How can I tell the printer what tray to print to using Coldfusion?

We had it set up as 3 separate printers on that computer but sometimes the sequence of the jobs gets confused.
1 Solution
(no points... small comment)

AFAIK, this isn't supported with pure ColdFusion, ie cfprint.  It might be possible with java. If that's an option, you may want to open a new thread and ask in the java zone.
Can't help much but i can give you a lead: as the previous commenter says, call out to Java. Google on the use of http://docs.oracle.com/javase/8/docs/api/javax/print/attribute/PrintJobAttributeSet.html
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now