Solved

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

Posted on 2016-09-27
3
83 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now