-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSPPrintmanager not working with .Net 6 #1
Comments
Please provide the source code of your test |
It is exact the same code from your github examples: Here ist the code inside my index page: `@page "/" @using Neodynamic.Blazor Advanced PDF Printing@if (JSPrintManager.PrintersInfo == null) Loading... Getting printers... } else { Select the PDF File to print @if (isLoading) { Loading files... @(loadingStep)% } URL for PDF File Predefined Sample: <button type="button" class="btn btn-light btn-sm" @OnClick="@(() => SetFilePath("https://neodynamic.com/temp/mixed-page-orientation.pdf"))"> mixed-page-orientation.pdf
} @code {
} And Here the code of the programm.cs: `using BlazorApp3; var builder = WebAssemblyHostBuilder.CreateDefault(args); await builder.Build().RunAsync(); And here from the MainLayout: `@inherits LayoutComponentBase
}` Package Neodynamic.Blazor.JSP Version 5.0.22.801 is also installed. |
Replace this line
by this one
|
Hello
I want to test the JSPrintmanager in my Application but actually I am using already .Net 6. The Websocket Connection was working fine but when I want to print a File, I get an error in my Console which is called:
Uncaught (in promise) Error trying to decode the base64 data.
InvalidCharacterError: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
So i tested it with a empty Blazor project in .Net 5 and .Net 6 and the problem happened only in the .Net 6 project.
So is the JSPrintmanager already released for .Net6 and if not when is the release planned?
Regards Samuel
The text was updated successfully, but these errors were encountered: