BoardMerge- The command line single page PDF merge utility for PCBs

Pune, India

Toner Transfer Method.. is no doubt sheer Awesomeness. With just a few steps you can have your prototype in your hands without waiting for weeks for the fab house to deliver. Certainly relieves me of a lot of anxiety. I even made this Open Agitator a while back to help me ease out the etching process.

I usually (used to) print my designs on the glossy photopaper near my college where there is a usual hub of shops catering to student needs. Carrying the photopapers from my house to the college in the crowded metro would often crumble them. I preferred buying them from the local stationary shops near the college itself who would sell it at varying prices anachronistically.

The shop used to charge for a round of paper into the printer (actually one print) and if i printed multiple on the same sheet, if was charged more. As students we should cut costs. Further the several-times-on-a-page approach had more issues:

Thats too much work specially after waiting in a queue to get to the printer !

I actually never thought of getting out of this circle for a while until the last few semesters, which were less academically demanding. I then wrote a small python script to combine all the pages that i used to print seperately to a Single page and then go and just print one pdf. No worries about messing up the orientation/scaling etc..

Well.. Why python when i could have used any photo-editing tool? Its simpler and automatic and I had once messed around the scale on a photo-editing tool and had to re-etch (just imagine) a whole board.

The Process

  1. Like usual ways instead of directly printing files to printer, print them to pdf and choose different locations like center, top, left etc or you may also manually do that using the margins.Make sure that they dont overlap.

  2. This way you will have many pdfs on the same folder. Now: git clone https://github.com/IndianTinker/BoardMerge.git or download from here

  3. You need to install pyPDF dependency. PIP is the boss here! sudo pip install pypdf

  4. Now paste the merge.py in the active eagle folder and run : python merge.py file1.pdf file2.pdf .. .. ..

  5. Wait till it gets completed and you shall see a file Combine.pdf with all the pdfs on a single page!

This a directory full of 17 pdfs !

before

After some python-fu you get this:

final

Hoping that fellow makers find it useful.

Cheers!

Rohit