PrintDisplay Command in

Chibu

Member
Join Date
Feb 2023
Location
Ontario
Posts
49
Good day all,

I tried using PrintDisplay and ScreenPrint Command in FactoryTalk view Studio SE v12 in Command Line but it does not work.

How can I print Display to PDF Please?
 
Ok, that´s another animal.
What about using a report generator with pdf output. ?
In the past I used to use XLReporter from sytech.com, nowadays I use python with pylogix and openpyXL
 
Last edited:
Please, could you give me some direction/Procedure for XLReporter or the second option?
I will appreciate.
 
Ok, that´s another animal.
What about using a report generator with pdf output. ?
In the past I used to use XLReporter from sytech.com, nowadays I use python with pylogix and openpyXL
Please, could you give me some direction/Procedure for XLReporter or the second option?
I will appreciate.
 
XLReporter has a video (https://sytech.com/) that is called "Report in Minutes", please go over there, also take a look at "How Does XLReporter Work in My Application?".
If you download XLReporter it will work for two hours. Also take a look at Getting result guides
Python:
Install python and includes pylogix and openpyxl from pypi.org
Pylogix examples are located at: https://github.com/dmroeder/pylogix
Openpylogix examples are located at: https://github.com/ericgazoni/openpyxl
Installed python from https://thonny.org/ it has an IDLE and it includes pyhton the program.
Let me know if I can help you more
 
Client's requirement is that the PDF file is to be generated Automatically in each Batch/operation.

So FT View is not a reporting package. The ScreenPrint command is literally just a print out of what is displayed on the currently active screen. Is that what the customer requires, or have they identified what must be included in this printout?

On my PC I opened the command line and typed "ScreenPrint" and then pressed enter (the quotes are not needed, and it is not case-sensitive).

After doing this I see a pop up asking me for a destination and a file name for the PDF. I typed in a file name and clicked Save. Then I went to that file location and double-clicked to open it and I see a screen capture.

That all worked for me. But nothing about it was automatic. I can create a button and assign the ScreenPrint action to it and place that button on-screen. When I click on that button I can again save that file. I can also add a file name to that action so that pressing the button will create the file without me having to specify the name each time. But, each time it overwrites the previous file. Here is an example of the action assigned to the button.

ScreenPrint /F File="C:\Users\WindowsUser\Desktop\MyScreenPrint.pdf"

So even with this, it requires an action on my part to press the button. So, not automatic generation.

A previous comment by widelto mentioned XLReporter. That is software that can be used to generate reports automatically. I haven't had experience with it myself.

OG
 
XLReporter has a video (https://sytech.com/) that is called "Report in Minutes", please go over there, also take a look at "How Does XLReporter Work in My Application?".
If you download XLReporter it will work for two hours. Also take a look at Getting result guides
Python:
Install python and includes pylogix and openpyxl from pypi.org
Pylogix examples are located at: https://github.com/dmroeder/pylogix
Openpylogix examples are located at: https://github.com/ericgazoni/openpyxl
Installed python from https://thonny.org/ it has an IDLE and it includes pyhton the program.
Let me know if I can help you more
Thanks for this Bro;
I will try it and revert with outcome.

Regards
 
So FT View is not a reporting package. The ScreenPrint command is literally just a print out of what is displayed on the currently active screen. Is that what the customer requires, or have they identified what must be included in this printout?

On my PC I opened the command line and typed "ScreenPrint" and then pressed enter (the quotes are not needed, and it is not case-sensitive).

After doing this I see a pop up asking me for a destination and a file name for the PDF. I typed in a file name and clicked Save. Then I went to that file location and double-clicked to open it and I see a screen capture.

That all worked for me. But nothing about it was automatic. I can create a button and assign the ScreenPrint action to it and place that button on-screen. When I click on that button I can again save that file. I can also add a file name to that action so that pressing the button will create the file without me having to specify the name each time. But, each time it overwrites the previous file. Here is an example of the action assigned to the button.

ScreenPrint /F File="C:\Users\WindowsUser\Desktop\MyScreenPrint.pdf"

So even with this, it requires an action on my part to press the button. So, not automatic generation.

A previous comment by widelto mentioned XLReporter. That is software that can be used to generate reports automatically. I haven't had experience with it myself.

OG
I appreciate your input Bro; Thanks

I will revert with the outcome.

Regards
 

Similar Topics

Hello Everyone I need to make a remote print-command of a trend form a PLC bit going high. I have it working from a button with this Command...
Replies
4
Views
2,169
I tried to add it to the Client Keys but Ctrl+P still uses the PrintDisplay. Seems anything added to Ctrl+P in Client Keys will be replaced by...
Replies
0
Views
1,131
Hey fella's, wonder if someone can help me out here? I have been doing some 5pm reports to the default network printer for a few months - I come...
Replies
1
Views
2,170
Hey guys. As the title suggests, I need to configure a Danfoss Aquadrive FC202 inverter, so that its logic inhibits the local command when the...
Replies
2
Views
48
Kindly, we have the following configuration fault on a Kinetix 5700 axis. It only appears when we go online on the Plc. We are just starting the...
Replies
2
Views
99
Back
Top Bottom