Hello
I created a form in Power Shell Studio 2015 , I want to be able to print the form with the results , I have search but cant find nothing anyhelp will be appreciated,
Thanks in advance
PowerShell form print
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: PowerShell form print
Do you want to print text in a textbox or the whole form itself?
Note: PowerShell has an Out-Printer cmdlet that allows you to print text.
Note: PowerShell has an Out-Printer cmdlet that allows you to print text.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: PowerShell form print
Here is a C# example on how to print the form itself. You will need to use a PrintDocument object:
https://social.msdn.microsoft.com/Forum ... arpgeneral
https://social.msdn.microsoft.com/Forum ... arpgeneral
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: PowerShell form print
Here is a PowerShell example of how to do document printing of a form.
- Attachments
-
- Demo-PrintDocument3.psf
- (15.65 KiB) Downloaded 256 times
Re: PowerShell form print
thanks
I try to open the Demo-PrintDocument3.psf but I get this error
thanks again
I try to open the Demo-PrintDocument3.psf but I get this error
I have Power Shell Studio 2015 version 4.2.89Demo-PrintDocument3.psf: Unable to load Demo-PrintDocument3.psf (File Format: v2.1), because it was created with a different version of SAPIEN PowerShell Studio 2015.
Demo-PrintDocument3.psf: Unable to determine object class.
thanks again