Skip to content

Commit bfc8289

Browse files
committed
merge
2 parents 8aab483 + 4c3bf68 commit bfc8289

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1206
-1410
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# These are supported funding model platforms
22

3-
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
3+
github: tig
44
patreon: # Replace with a single Patreon username
55
open_collective: # Replace with a single Open Collective username
66
ko_fi: # Replace with a single Ko-fi username

README.md

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,53 @@
44

55
*winprint - A modern take on the the classic source code printing app from [1988](https://tig.github.io/winprint/about.html).*
66

7-
**winprint** is 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.
7+
Advanced 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.
88

99
![winprint 2.0](https://tig.github.io/winprint/winprint2.png)
1010

11-
![winprint command line](https://tig.github.io/winprint/out-winprint.png)
11+
12+
#### PowerShell Command Line Examples
13+
14+
See what version is installed:
15+
16+
```powershell
17+
PS > out-winprint -verbose
18+
VERBOSE: Out-WinPrint 2.0.3.0 - Copyright Kindel Systems, LLC - https://tig.github.io/winprint
19+
```
20+
21+
Print `Program.cs` using the default sheet definition and default printer:
22+
23+
```powershell
24+
get-content Program.cs | out-winprint
25+
```
26+
27+
```powershell
28+
PS > cat Program.cs | wp -PrinterName PDF -Orientation Portrait -Verbose -Title Program.cs
29+
VERBOSE: Out-WinPrint 2.0.3.0 - Copyright Kindel Systems, LLC - https://tig.github.io/winprint
30+
VERBOSE: Printer: PDF
31+
VERBOSE: Paper Size: Letter
32+
VERBOSE: Orientation: Portrait
33+
VERBOSE: Sheet Definition: Default 2-Up (0002a500-0000-0000-c000-000000000046)
34+
VERBOSE: Printing sheet 1
35+
VERBOSE: Printing sheet 2
36+
VERBOSE: Printed a total of 2 sheets.
37+
PS >
38+
```
39+
40+
The following all do the same thing:
41+
42+
```powershell
43+
out-winprint -FileName program.cs
44+
wp program.cs
45+
winprint program.cs
46+
cat program.cs | wp -Title "program.cs"
47+
```
48+
49+
Print 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:
50+
51+
```powershell
52+
ls .\* -include ('*.c', '*.h') | foreach { cat $_.FullName | out-winPrint -p "HP LaserJet" -title $_.FullName -verbose}
53+
```
1254

1355
* [Overview](https://tig.github.io/winprint/)
1456
* [Install](https://tig.github.io/winprint/install.html)

docs/_config.yml

Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,7 @@
11
title: winprint 2.0
2-
description: winprint 2.0 - A modern take on the the classic source code printing app from 1988.
3-
logo: https://tig.github.io/winprint/winprint-icon.jpg
4-
theme: minima
5-
minima:
6-
social_links:
7-
twitter: ckindel
8-
github: tig
9-
header_pages:
10-
- index.md
11-
- install.md
12-
- users-guide.md
13-
- support.md
14-
- about.md
2+
description: winprint - Advanced source code and text file printing for PowerShell.
3+
logo: https://tig.github.io/winprint/winprint-icon.png
4+
theme: jekyll-theme-dinky
155
google_analytics: UA-4945529-9
16-
17-
# author:
18-
# name: Charlie Kindel
19-
# email: charlie@kindel.com
20-
21-
show_excerpts: true # set to true to show excerpts on the homepage
22-
23-
# Minima date format
24-
# refer to https://shopify.github.io/liquid/filters/date/ if you want to customize this
25-
#minima:
26-
# date_format: "%b %-d, %Y"
27-
28-
plugins:
29-
- jekyll-feed
30-
- jekyll-seo-tag
6+
github:
7+
install_url: https://github.com/tig/winprint/releases

docs/_layouts/default.html

Lines changed: 48 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,56 @@
1-
<!DOCTYPE html>
2-
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
3-
4-
{%- include head.html -%}
1+
<!doctype html>
2+
<html lang="{{ site.lang | default: "en-US" }}">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
56

7+
{% seo %}
8+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
9+
<script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
10+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
11+
<link rel="icon" type="image/png" href="{{ '/assets/favicon.png' | relative_url }}" />
12+
<!--[if lt IE 9]>
13+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
14+
<![endif]-->
15+
</head>
616
<body>
17+
<div class="wrapper">
18+
<header>
19+
<img height="128" width="128" src="winprint-icon.png">
20+
<h1 class="header">{{ site.title | default: site.github.repository_name }}</h1>
21+
<p class="header">{{ site.description | default: site.github.project_tagline }}</p>
722

8-
{%- include header.html -%}
23+
<ul>
24+
<li><a class="buttons document" href="index.html">Overview</a></li>
25+
<li><a class="buttons document" href="install.html">Install</a></li>
26+
<li><a class="buttons document" href="users-guide.html">User's Guide</a></li>
27+
<li><a class="buttons document" href="support.html">Support</a></li>
28+
<li><a class="buttons document" href="about.html">About & History</a></li>
29+
<li><a class="buttons github" href="{{ site.github.repository_url }}">View On GitHub</a></li>
30+
</ul>
31+
<p class="header">By <a class="header name" href="{{ site.github.owner_url }}">Charlie Kindel</a><br>
32+
<a class="header name" href ="http://www.twitter.com/ckindel">@ckindel on Twitter</a></p>
33+
</header>
934

10-
<main class="page-content" aria-label="Content">
11-
<div class="wrapper">
35+
<section>
1236
{{ content }}
13-
</div>
14-
</main>
15-
16-
{%- include footer.html -%}
37+
</section>
1738

39+
<footer>
40+
<p><small><a href="http://www.kindel.com">Copyright © 2020 Kindel Systems, LLC</a></small></p>
41+
<p><small><a href="https://github.com/tig/winprint/blob/master/license.md">Licensed under the MIT License</a></small></p>
42+
</footer>
43+
</div>
44+
<!--[if !IE]><script>fixScale(document);</script><![endif]-->
45+
{% if site.google_analytics %}
46+
<script>
47+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
48+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
49+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
50+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
51+
ga('create', '{{ site.google_analytics }}', 'auto');
52+
ga('send', 'pageview');
53+
</script>
54+
{% endif %}
1855
</body>
19-
2056
</html>

docs/_layouts/home.html

Lines changed: 0 additions & 61 deletions
This file was deleted.

docs/_layouts/page.html

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/_layouts/post.html

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)