Solved

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

Posted on 2016-09-27
3
112 Views
Last Modified: 2016-10-25
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.
0
Comment
Question by:delrundell
3 Comments
 
LVL 52

Expert Comment

by:_agx_
ID: 41819763
(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.
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 41823008
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
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question