Link to home
Start Free TrialLog in
Avatar of Del
Del

asked on

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?
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

On-line printing at client side is done by JavaScript obviously. You may use JSPrintSetup extension to select different printer properties: http://jsprintsetup.mozdev.org/ (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: https://www.experts-exchange.com/questions/25218399/Print-to-Specific-Printer.html
ASKER CERTIFIED SOLUTION
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jrbbldr
jrbbldr

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