Controlling printer trays from browser

Currently we are downloading the orders from our Coldfusion website into Foxpro.  Then we print the orders which include printing on preprinted forms and printing receipts on plain paper.  In Foxpro we are able to print to specific paper trays where the special forms are loaded.  

How can we print the orders from online and control the print trays?  The only way we can figure it out is to print everything that is on plain paper using a print prompt to select the tray then print the page on the forms with a print prompt.  But that means you need to marry the two stacks you have printed instead of everything for one order coming off the printer in order.  Is there a way to do this?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

On-line printing at client side is done by JavaScript obviously. You may use JSPrintSetup extension to select different printer properties: (for Mozilla Firefox only).

Universal solution would be to define two printers each one having different default try BUT it is difficult to switch these two printers... One possible solution is e.g. here:
Paid solution which requires client side software installation also exists:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
For report printing out of our VB.ASP Website using data from our Legacy VFP Data Tables, we  gather the parameters from the website and then pass them to a VFP FXP (the VFP run times are installed on the web server) and then letting it do all of the other work (accumulating other data, selecting the Report Form, outputting the report to the necessary printer, etc.) - including controlling the printer(s).

If you have specific printer needs based on the individual report(s)/order(s), then you could consider doing the same.

Good Luck
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Printers and Scanners

From novice to tech pro — start learning today.