Technical Forum

SIMATIC WinCC

Automatic Printing of Reports in WinCC

Thread Starter: Daniel Cyborg   Started: 8/1/2012 6:45 AM   Replies: 2

« Previous thread Next thread »
Page 1 of 1 (3 items)
  8/1/2012, 6:45 AM
Joined 3/24/2010
Last visit: 5/20/2013
Posts: 70
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 

Dear experts,

I am currently working on this report design in WinCC. I configured the report to print automatically every batch and its working. But, popup appears for the user to specify the filename to be printed before it can be done. Is there a way to bypass this popup and just directly print the report on a folder? and also one thing, i want to dynamize the filename according to (date-time-batch no.) how can i do this??

Top
  8/1/2012, 3:54 PM
Joined 7/12/2012
Last visit: 5/17/2013
Posts: 17
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Dear Daniel,

You can by passed popup and make a filename according to date & time and also batch process.
It could be done by generate script in VB or C which is located in global script.
You can print report automatically by triggering action script.

Regards,
Yanuar
Top
  8/2/2012, 9:50 AM
Joined 3/24/2010
Last visit: 5/20/2013
Posts: 70
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 

Hi Sir MYH Eng.

I use Global script in my programming but can you give to me in details how to do that? I used the RPTJobPrint("<print job>") to print my report but my problem is the popup appears. I dont know if there is a script to do this.

Thank you.

Top
Page 1 of 1 (3 items)
Actions