Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

print PDF form to 'Manual feed' tray

Avatar

Level 4

Hi,

I need to find a way to print a pdf form directly to our printers manual feed tray (printer LexMark 782 PS3). Do not want users to remember to choose it themselves in printer settings.

There is a lot of different and rather complex documentation, so I need someone who has succeeded doing it to explain how. I am sure many can benefit from this.

A) If possible directly from LC Designer I would perfer this, of couse

B) If possible with LC Output (we have this product) please instruct in steps

C) Other way?? allright.. what ever it takes to make the customer happy

Look forward hearing from you

/Thomas

1 Reply

Avatar

Level 10

From within a PDF I don't see a way to realize this.

With JavaScript and the PrintParams properties you can handle a lot of things, but you don't can select a specific paper tray, cause the neccessary parameters vary from brand to brand, from driver to driver and from emulation to emulation.

That's why people often have strange effects when printing Office documents.

There you can set a specific paper tray for the documents, but when they use other printers than the author it goes bedlam.

The only thing how I can image is to install a second printer driver "Lexmark X782 Manual Tray" with the manual tray set as default tray.

Then you can use the PrintParams to direct print out to this specific printer.

var pp = event.target.getPrintParams();

     pp.printerName = "Lexmark X782 Manual Tray";

event.target.print(pp);