Skip to content
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

printJS is not defined #22

Open
14z0r opened this issue Jun 29, 2023 · 1 comment
Open

printJS is not defined #22

14z0r opened this issue Jun 29, 2023 · 1 comment
Labels
invalid This doesn't seem right

Comments

@14z0r
Copy link

14z0r commented Jun 29, 2023

Hello,

if i try to print my PDF, i get the error, that the printJS was not found.

blazor.server.js:1 [2023-06-29T10:25:53.508Z] Error: Microsoft.JSInterop.JSException: printJS is not defined ReferenceError: printJS is not defined at Module.print (http://localhost:5019/_content/Append.Blazor.Printing/scripts.js:3:5) at http://localhost:5019/_framework/blazor.server.js:1:3506 at new Promise (<anonymous>) at Ft.beginInvokeJSFromDotNet (http://localhost:5019/_framework/blazor.server.js:1:3480) at Ft._invokeClientMethod (http://localhost:5019/_framework/blazor.server.js:1:75072) at Ft._processIncomingData (http://localhost:5019/_framework/blazor.server.js:1:72696) at Ft.connection.onreceive (http://localhost:5019/_framework/blazor.server.js:1:67009) at i.onmessage (http://localhost:5019/_framework/blazor.server.js:1:51322) at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args) at Microsoft.JSInterop.JSObjectReferenceExtensions.InvokeVoidAsync(IJSObjectReference jsObjectReference, String identifier, Object[] args) at Append.Blazor.Printing.PrintingService.Print(PrintOptions options) at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task) at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

@vertonghenb
Copy link
Contributor

Not sure if this is still the case?
@14z0r

@vertonghenb vertonghenb added the invalid This doesn't seem right label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants