- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-03-30 10:08 PM
Printing .xlsx Fiile from Citect Scada on trigger
I need to print .xlsx file from printer on trigger as per defined size . Please help me how to add device or what settings required. I have done printing .csv file and also .rtf File (in reports) by using below command in cicode
Exec ("C:\Program Files (x86)\Windows NT\Accessories\wordpad.exe /p C:\Users\Public\LABEL\DATA\CSV_Label.csv",6)
But unable to print .xlsx file
Exec ("C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.exe /p C:\Users\Public\LABEL\TEMPLATE\XLSX_Temlate.xlsx",6)
Please Help
Thankyou in advance
My Email ID chandnikapoor.ck8696@gmail.com
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-02-17 08:41 PM
You'll need to work out a command line to print an Excel file, and then pass it to either the SYSTEM() logic function, or to the System command pick action.
https://stackoverflow.com/questions/46901160/how-to-print-excel-by-command-line
You could instantiate an Object instance for Excel within ViewX... but that requires a client to do it... so it's not applicable for 'on a trigger'.
Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Link copied. Please paste this link to share this article on your social media post.

