.NET Core Printing Example

0
danvonfeldt posted this 3 weeks ago

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.

26 Posts
26 Points
3 Comments
Order By: Standard | Newest | Votes
0
jles posted this 3 weeks ago

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

137 Posts
264 Points
0
danvonfeldt posted this 2 weeks ago

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

26 Posts
26 Points
0
jles posted this 2 weeks ago

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

137 Posts
264 Points

Our 73086 members have posted 305 times in 90 discussions