You need to sign in to do that
Don't have an account?
indy
Auto Print Document
Hi All,
I am generating a PDF document by clicking the button on SObject. But the requirement was to print that document automatically whenever there is a change in objects attribute value.
For Ex: If order status = 'Completed' then print the document.
Please suggest is there a way to achieve this by using Apex code or any API.
Or Is it possible with Workflow outbound message ?.
If not possible by coding kindly suggest any AppExchange App.
Thanks in advance.
--Indy
Hi indy ,
You Can create a trigger and call the class which is used in generating your pdf.
For print we can use window.print() using java script on form load.
Thanks
Shailu
Hi Shailu,
Thanks for your reply.
window.print() is opening with print dialog box to choose the printer. Is there a way to disable/bypass that dialog box and directly go for printing?
Is there any browser dependency for window.print() method.?
Thanks again!
--Indy