user-img

Repostshare

  • 9 Projects
  • 1 Followers
  • May 20,2025
+ Follow

Punch tape patterns to PDF Gallery

Punched paper tape can be decorative, so this script can create PDFs full of them.

Punch tape patterns to PDF Gallery
 
  • thumbnail-img
 

Story

Anticipating the boards for my paper tape reader PCBs (https://hackaday.com/2022/04/16/paper-tape-reader-self-calibrates-speaks-usb/), I created a python script printing punched holes on paper.

Still have to cut the paper sheet to inch-wide strips and tape then together.

 

The reader firmware promises it can work in reverse mode, so I can test with these 'printed' holes and don't have to build a paper tape punch to test the reader.

 

The script is based on the FPDF library (http://www.fpdf.org/).

 

python3 punch2pdf.py punch2pdf.py

 

Produces the script in PDF paper tape format.

 

The script is functional, but not properly refactored. It currently prints 8 bits, no parity. 7-bit with parity might be a cool feature.

 

The page size is hard coded A4.

 

Reposted with permission from the author. And if you want to explore more projects, please follow the author: fjkraan (Hackaday). He has many wonderful projects and is an excellent maker. Enjoy it!

Code
  • punch2pdf.py-The script

    https://cdn.hackaday.io/files/1886678071928928/punch2pdf.py
    View
Topic
View All

Punch tape patterns to PDF Gallery

Punched paper tape can be decorative, so this script can create PDFs full of them.

19
 
3
0
0

Share your project on social media to expand its influence! Get more people to support it.

  • Comments( 0 )
  • Like( 3 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All
Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Assembly Cost: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Item Price Qty Subtotal Delete
Total: US $0.00
Certified Product | Supported Purchase: Full After-sales Protection