Hi Lei,
We'll post a bug on crbug.
We're looking at processes in warehouses. A typical task involves packages that are taken from a conveyor, a barcode on the package is scanned and then following some processing (collation of physical package data and delivery destination and costs) a new label is printed and attached over the old one. One of several different labels may be printed from one of several different printers. Different printers have different label/paper stocks in them. The user does not have to make any decisions, they just scan, peel and affix.
What we need for this is fully automatic printing with no user interaction at all. The user scans a barcode, the system makes a decision and a label automatically prints with no user interaction at all.
Our current solution needed some configuration (notably a list of printers per workstation/stock combination and configuring the Acrobat Reader PDF extension to trust our www site and allow auto-printing) but given the volume of printing required this overhead was easily absorbed by the efficiencies of automatic printing.
Using the Acrobat PDF Reader extension we were able to dynamically create custom PDFs for each label to be printed that included in it JavaScript that the extension executed and could automatically print the PDF on the instructed printer. The JavaScript included the name of the printer and the necessary 'silent' print commands.
Regards,
Guy