You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to port an API to .NET Core that uses System.Printing PrintServer and related. I came across this doc and have the impression System.Printing is supported.
I was informed (from issue link above) this is part of WPF and can be use by creating a dotnet new wpf. However, I would like to use as a Class Library even if it must use the Win Compatibility package and Windows only.
We have many APIs to create/print labels that call the System.Printing APIs. It would be nice to continue the same approach using WPF with .NET Core v3 and beyond.
Thanks in advance for any help. It will be appreciated.
Thanks team for all the help. I was able to change one of our label and printer APIs to a .NET Core Class Library project and now works similar to .NET (full framework).
Activity
dsplaisted commentedon Jun 13, 2019
You can add the following to a .NET Core 3.0 class library project in order to access System.Printing:
shaggygi commentedon Jun 14, 2019
Thanks team for all the help. I was able to change one of our label and printer APIs to a .NET Core Class Library project and now works similar to .NET (full framework).