+ Start a Discussion
Heidi ApaHeidi Apa 

How to call to printer just clikcing a button to print multiple attachments?

Hi there!

I need to code a button action that prints PDF attachments of the the selected objects in a list view.
How can I call to the printer automatically for doing this just by clicking a button?

Thank you!!
Navin SoniNavin Soni
Hi Heidi Apa,

You can call the printer just click a button using this code.
<apex:commandButton value="Print" onclick="window.print();"/>
Navin Soni
katerobin sonkaterobin son
Hewlett Packard is one of the premier manufacturers of world-class printers. HP printers come in several models with unique features and add-ons. Many should be wondering what is Printer offline. HP Printer offline simply means that your printer is not active. A printer functions effectively only when your printer’s status is active. When a printer’s status is in-active, it results in the printer not functioning properly. When you detect that your printer has turned in-active, you have to immediately diagnose the problem. If you don’t fix the printer offline status, your printer won’t perform its function.
adam parker 36adam parker 36
Finding it hard to clear the Paper Jams on your HP Printer? Here is how you can eliminate them in minutes. The information given below will help all HP printer models. If you want to know information for a particular model, then visit  123.hp.com/setup
Alex Jones 25Alex Jones 25
HP Envy 7155 users can read & understand the setup guide. If you are new to this model, take it out from the package, remove the protective tapes, and proceed to slide the cartridge to the respective slot. Turn on wireless icon & opt for the wireless setup wizard to proceed with a software download. Gets the matching software selecting the best method (download from webpage & using the CD provided). Suppose if you would like to know more about 123.hp.com/envy 7155, try contacting our techies who can guide you 24/7
Gregory MassieGregory Massie
As I have bought the new wireless printer a few months back. And I was facing some technical issues and problems in its operating system but can you send a fax over wifi with CocoFax that is possible to visit cocofax.com/ (https://cocofax.com/fax-over-wifi.html) in order to send or receive free faxes. I appreciate them for providing this information related to this new kind of printer ti us.
Markrichard BrianMarkrichard Brian
Thanks for sharing , Read More on Clone app Development (https://www.uberclonez.com/) | Clone app Script (https://www.uberclonez.com/) |  Web development company (https://www.uberclonez.com/)