{"id":15645054,"url":"https://github.com/tig/winprint","last_synced_at":"2025-04-09T16:17:46.686Z","repository":{"id":40860518,"uuid":"220096599","full_name":"tig/winprint","owner":"tig","description":"winprint 2.0 - Advanced source code and text file printing. The perfect tool for printing source code, web pages, reports generated by legacy systems, documentation, or any text or HTML file. It works interactively or from the command line making it great for single users or whole enterprises. Works great with Powershell.","archived":false,"fork":false,"pushed_at":"2024-12-03T23:06:08.000Z","size":28117,"stargazers_count":76,"open_issues_count":24,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-09T16:17:38.532Z","etag":null,"topics":["csharp","dotnet","html-print","printing","prismjs","source-code","syntax-highlighting","text-files","windows","windows-app"],"latest_commit_sha":null,"homepage":"https://tig.github.io/winprint/","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/tig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"docs/support.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"tig","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-11-06T21:47:22.000Z","updated_at":"2025-03-29T01:12:28.000Z","dependencies_parsed_at":"2024-10-03T12:07:42.077Z","dependency_job_id":"ee8b22f1-ba36-4087-a694-7f713cf3ed73","html_url":"https://github.com/tig/winprint","commit_stats":{"total_commits":420,"total_committers":3,"mean_commits":140.0,"dds":0.3761904761904762,"last_synced_commit":"7fad09c0fa6f3d185e68d85573203fbd77261704"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tig%2Fwinprint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tig%2Fwinprint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tig%2Fwinprint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tig%2Fwinprint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tig","download_url":"https://codeload.github.com/tig/winprint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065282,"owners_count":21041872,"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":["csharp","dotnet","html-print","printing","prismjs","source-code","syntax-highlighting","text-files","windows","windows-app"],"created_at":"2024-10-03T12:04:13.925Z","updated_at":"2025-04-09T16:17:46.646Z","avatar_url":"https://github.com/tig.png","language":"C#","funding_links":["https://github.com/sponsors/tig"],"categories":[],"sub_categories":[],"readme":"![.NET Core](https://github.com/tig/winprint/workflows/.NET%20Core/badge.svg)\n[![CodeFactor](https://www.codefactor.io/repository/github/tig/winprint/badge?s=93affda0738af869187afe5296914b814511f529)](https://www.codefactor.io/repository/github/tig/winprint)\n\n# winprint 2.0\n\n*winprint - A modern take on the the classic source code printing app from [1988](https://tig.github.io/winprint/about.html).*\n\nAdvanced source code and text file printing for PowerShell. The perfect tool for printing source code, web pages, reports generated by legacy systems, documentation, or any text or HTML file. It works interactively or from the command line making it great for single users or whole enterprises.\n\n* Prints source code with syntax highlighting and line numbering for [over 200 programming languages and file formats](https://pygments.org/languages/).\n* Prints HTML files.\n* Prints \"multiple-pages-up\" on one piece of paper (saves trees!)\n* Complete control over page formatting options, including headers and footers, margins, fonts, page orientation, etc...\n* Headers and Footers support detailed file and print information macros with rich date/time formatting.\n* Simple and elegant graphical user interface with accurate print preview.\n* The most capable PowerShell printing tool enabling printing from the command line.\n  * Complete control of printing features with dozens of parameters, including *Intellicode* parameter completion (using `tab` key).\n  * Allows **winprint** to be used from other applications or solutions. The **winpprint** PowerShell `out-winprint` CmdLet is a drop-in replacement for `out-printer`.\n* Sheet Definitions make it easy to save settings for frequent print jobs.\n* Comprehensive logging.\n* Cross platform. Even though it's named **win**print, it works on Windows, Linux (command line only; some assembly required), and (not yet tested) Mac OS.\n\n## Documentation\n\n* [Overview](https://tig.github.io/winprint/)\n* [Install](https://tig.github.io/winprint/install.html)\n* [User's Guide](https://tig.github.io/winprint/users-guide.html)\n* [About](https://tig.github.io/winprint/about.html)\n* [Support](https://tig.github.io/winprint/support.html)\n\n## Graphical Interface\n\n![winprint 2.0](https://tig.github.io/winprint/winprint2.png)\n\n## PowerShell Command Line Interface\n\nSee what version is installed:\n\n```powershell\nPS \u003e out-winprint -verbose\nVERBOSE: Out-WinPrint 2.0.5.0 - Copyright Kindel Systems, LLC - https://tig.github.io/winprint\n```\n\nPrint a Powershell profile using the default sheet definition and default printer:\n\n```powershell\nGet-Content $profile.CurrentUserAllHosts | winprint -Language powershell\n```\n\n```powershell\nPS \u003e cat Program.cs | wp -PrinterName PDF -Orientation Portrait -Verbose -Title Program.cs\nVERBOSE: Out-WinPrint 2.0.5.0 - Copyright Kindel Systems, LLC - https://tig.github.io/winprint\nVERBOSE:     Printer:          PDF\nVERBOSE:     Paper Size:       Letter\nVERBOSE:     Orientation:      Portrait\nVERBOSE:     Sheet Definition: Default 2-Up (0002a500-0000-0000-c000-000000000046)\nVERBOSE: Printing sheet 1\nVERBOSE: Printing sheet 2\nVERBOSE: Printed a total of 2 sheets.\nPS \u003e\n```\n\nThe following all do the same thing:\n\n```powershell\nout-winprint -FileName program.cs\nwp program.cs\nwinprint program.cs\ncat program.cs | wp -Title \"program.cs\"\n```\n\nPrint all `.c` and `.h` files in the current directory to the \"HP LaserJet\" printer, ensuring the `{Title`} in the header/footers shows the filename. Present verbose output along the way:\n\n```powershell\nls .\\* -include ('*.c', '*.h') | foreach { cat $_.FullName | out-winPrint -p \"HP LaserJet\" -title $_.FullName -verbose}\n```\n\n## Contributing\n\nI'm open to pull requests. I'll also take donations, preferably in beer or Scotch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftig%2Fwinprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftig%2Fwinprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftig%2Fwinprint/lists"}