.NET Core Printing Example

0
danvonfeldt posted this 04 October 2021

Could you provide an example of how we can go about printing a document with the .NET Core version of Docentric. I'm not seeing a .Print on the document object anymore.

Please advise.

29 Posts
29 Points
3 Comments
Order By: Standard | Newest | Votes
0
jles posted this 06 October 2021

Hi Dave,

In the .NET Framework version of Docentric Toolkit we are using System.Drawing to print documents. In .NET Core/Standard this becomes a problem since there is no cross-platform printing functionality we could use. This is the main reason we removed physical printing from our .NET Standard-built assembly.

Now, since .NET Core 3.0 System.Drawing was re-introduced, but we haven't brought the Print API back into Docentric Toolkit Engine yet. It seems that System.Drawing.Common even targets .NET Standard 2.0 which means that we could re-introduce the Print API in our .NET Standard 2.0 assembly.

Is your application running on Windows only?

Regards, Jure

155 Posts
295 Points
0
danvonfeldt posted this 08 October 2021

Yes, we are on Windows, but would have some ambitions to run cross platform if that is possible.

29 Posts
29 Points
0
jles posted this 11 October 2021

Dave,

We are going to introduce this functionality in version 7.0, which is scheduled for Q1 2022. Would this work for you?

Regards, Jure

155 Posts
295 Points

Our 229035 members have posted 345 times in 102 discussions