TO INSTALL type Install from VSIX in the vs code top comand bar and select the downloaded .vsix on the explorer.
One click. Beautiful output. Zero config needed. Local and private.
| Feature | Description |
|---|---|
| 🥳 Automate Printing | Print your code in just 1 click |
| 😶🌫️ Full local, full private | All processing is done locally, ensuring your code never leaves your machine |
| 📄 Print Current Document | Print the entire active file with full syntax highlighting |
| ✂️ Print Selected Lines | Print only the code you've selected |
| 📁 Print Multiple Files | Pick files from your workspace and print them all at once |
| 🎨 Syntax Highlighting | Powered by Prism.js with support for 20+ languages |
| 🔢 Line Numbers | Optional line numbering for easy reference |
| 📋 File Header | Displays file name, path, and date on each printout |
| 🖤 Color Modes | Full-color syntax or all-black text for monochrome printers |
| ↩️ Long Line Wrapping | Lines wrap at page width instead of being cut off |
|
1. |
Look for the Print code button in the status bar (bottom-right corner) |
|
2. |
Hover over it to see all available actions, or click it to print the current document instantly |
|
3. |
The OS print dialog opens automatically — just hit Print! |
You can also open any command from the Command Palette (Ctrl+Shift+P):
PrintCode: Print Current Document
PrintCode: Print Selected Lines
PrintCode: Print Selected Documents
PrintCode: Settings
Customize PrintCode through the settings menu or VS Code settings:
| Setting | Default | Options |
|---|---|---|
printCode.lineNumbers |
true |
Show / hide line numbers |
printCode.header |
true |
Show / hide file header (name, path, date) |
printCode.colorMode |
"colored" |
"colored" — syntax colors · "black" — monochrome |
💡 Tip: Access settings quickly by hovering over the status bar icon and clicking Settings.
TypeScript · JavaScript · Python · Java · C# · C · C++ · Go · Ruby · Rust · SQL · YAML · JSON · Markdown · Bash · PowerShell · PHP · Swift · Kotlin · HTML · CSS · XML · and more…
Made with 💙 by engineers