{"id":13808180,"url":"https://github.com/Append-IT/Blazor.Printing","last_synced_at":"2025-05-14T02:31:23.404Z","repository":{"id":37211160,"uuid":"303019383","full_name":"Append-IT/Blazor.Printing","owner":"Append-IT","description":"Print PDF's using Blazor","archived":false,"fork":false,"pushed_at":"2024-02-26T02:06:06.000Z","size":434,"stargazers_count":122,"open_issues_count":8,"forks_count":36,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-11T14:18:01.176Z","etag":null,"topics":["blazor","pdf","print"],"latest_commit_sha":null,"homepage":"https://blazor-printing.append.be/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Append-IT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-11T01:21:43.000Z","updated_at":"2025-04-29T18:33:38.000Z","dependencies_parsed_at":"2024-08-04T01:08:33.809Z","dependency_job_id":null,"html_url":"https://github.com/Append-IT/Blazor.Printing","commit_stats":null,"previous_names":["append-it/append.blazor.printing"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Append-IT%2FBlazor.Printing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Append-IT%2FBlazor.Printing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Append-IT%2FBlazor.Printing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Append-IT%2FBlazor.Printing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Append-IT","download_url":"https://codeload.github.com/Append-IT/Blazor.Printing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253576299,"owners_count":21930175,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blazor","pdf","print"],"created_at":"2024-08-04T01:01:36.825Z","updated_at":"2025-05-14T02:31:18.385Z","avatar_url":"https://github.com/Append-IT.png","language":"C#","funding_links":[],"categories":["Libraries \u0026 Extensions"],"sub_categories":["Tools \u0026 Utilities"],"readme":"# Blazor Printing\nPrint and Save files in Blazor using the native dialog box using JavaScript Interop and [PrintJS](https://printjs.crabbly.com/).\n\n![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/Append.Blazor.Printing?style=flat-square)\n\n## The result\n![Screenshot](https://i.imgur.com/a0O6zwE.gif)\n\n## The blogpost\nYou can read more about the service in [this blog post](https://medium.com/@benjaminvertonghen/printing-pdfs-in-blazor-8dff559101f9).\n\n## Documentation\nDocumentation and examples can be found [here](https://blazor-printing.append.be/)\n\n### Installing\n\nYou can install from NuGet using the following command:\n\n`Install-Package Append.Blazor.Printing`\n\n### Setup\n\n1. Inject the `IPrintingService` in `program.cs`\n  ```cs\n  builder.Services.AddScoped\u003cIPrintingService, PrintingService\u003e();\n  ```\n2. Use the Service\n  ```razor\n  @using Append.Blazor.Printing\n  @inject IPrintingService PrintingService\n  \u003cbutton @onclick=\"@(()=\u003e PrintingService.Print(\"docs/sample.pdf\"))\"\u003e\n   Print PDF\n  \u003c/button\u003e\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAppend-IT%2FBlazor.Printing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAppend-IT%2FBlazor.Printing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAppend-IT%2FBlazor.Printing/lists"}