Question6Replies409Views kimh1 Member since 2016 32 posts PEGA Posted: 2 years agoLast activity: 2 years 8 months ago Closed Solved How to printout pdf files by using Robotics Automation?Customer is using DOS Console and Send keys to print out pdf files.They use this command ,"C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe" /p /t /h " , on send keys to print out pdf files.Usually it works fine but sometime DOC Console is closed suddenly and it returns failure.I attached RuntimeLog4Net.txt for your information.Is there anyway to printout pdf files by using Robotics Automation? Robotic Process Automation ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 2 years agokimh1 PEGA replied to kimh1Let me share the einvironment information. Pega Robotics Studio 8.0.1037.0 Posted: 2 years agogrona PEGA replied to kimh1Try the printDocument component in the toolbox. Posted: 2 years agokimh1 PEGA replied to gronaThanks. Could you give me any sample or reference document how to use printDocument component? I couldn't find any articles on Robotics online help. Posted: 2 years agokimh1 PEGA replied to kimh1I check some article about printDocument. It seems that printDocument can not use for pdf files. Usually how do you print out pdf files on Robotics Automation? Accepted Solution Posted: 2 years agojeffbadger PEGA replied to kimh1Instead of using SendKeys you could start your print process using a System.Diagnostics.Process object. A code example can be found here. Posted: 2 years agokimh1 PEGA replied to jeffbadgerThanks , I could solve the issue by using System.Diagnostics.Process object.