6/7/2011 10:20 PM | |
Joined: 10/3/2010 Last visit: 11/18/2024 Posts: 1563 Rating: (192) |
I have a print-button on my header picture, which prints the runtime screen to the default printer, with landscape settings. Now I wonder if it's possible to have 2 actions behind this single click button:
Any working idea's or samples would be very welcome. Thanks in advance. PS: it doesn't really matter if it's C or VBS, as long as it does the job. |
B r g d s , |
|
6/8/2011 4:27 AM | |
Posts: 691 Rating: (37) |
Hey SteBo I don't think you can achieve your goal, as printer selection is a Windows based. I allows only one Printer at a time |
6/8/2011 7:50 AM | |
Joined: 10/3/2010 Last visit: 11/18/2024 Posts: 1563 Rating: (192) |
'--------------------------------------------------------------------------------------------------------------- So ~ your may set the DefaultPrinter alternatively~ before sending your printing job. B.R., Komi Thanks Komi. Fyi, I'm not a scripting expert but I'll try experimenting with this |
B r g d s , |
|
This contribution was helpful to1 thankful Users |
6/8/2011 10:34 AM | |
Joined: 10/3/2010 Last visit: 11/18/2024 Posts: 1563 Rating: (192) |
Attaching sort of manual for this. All credits go to Komi AttachmentWinCC 7 - Change Default Printer.pdf (676 Downloads) |
B r g d s , |
|
This contribution was helpful to4 thankful Users |
6/9/2011 8:08 AM | |
Joined: 10/3/2010 Last visit: 11/18/2024 Posts: 1563 Rating: (192) |
I'm already looking Thanks in advance |
B r g d s , |
|
6/15/2011 10:39 AM | |
Posts: 291 Rating: (69) |
Hi SteBo,
Sorry for my terrible delay! Here's coming my stars for you! Please copy the attached .pdl to your GraCS folder, open it with Graphics Designer. Pay attention to the "newly came" MenuItem there! Press the button then you'll see the stars for you! I counted... It "looks" like that I still owe you two stars. Well ~ maybe another day & another format! Best regards, Komi AttachmentStars_ForSteBo.zip (264 Downloads) |
Last edited by: Komi at: 6/15/2011 3:44 PMPlease forgive my non-constructal VBA coding inside. ;D I was just testing & seeing the posibilty of "Graphics" VBA ;-) |
|
Follow us on