Print Hidden Element

Print Hidden Element

Hi folks.

I'm new to JQuery and I have a challenge that I think JQuery can handle.  I just don't know where it is.

On a page, I have a library of 4 printouts that I have associated with a record in my database.  I want to have four buttons on the page that print out each of the printouts.  I also want a fifth button to perform the printout of all of those 4 items.  

Currently, my middleware uses a hook into the OS, which calls on CUPS to print the items, three of which are text items, and the fourth is a small PDF.  Essentially I want JQuery to run the code to call CUPS to push these elements to the proper printer (two printers), all without leaving the page, while having control over printing elements.  

Is there a way to do this?  It just feels so close.  

Cheers