Matt writes –
A few months ago, I had a problem — I wanted to design a printed circuit board in Adobe Illustrator, but also wanted to send it out to BatchPCB for manufacturing. Board houses require that designs be submitted in Gerber format, the creation of which generally requires special CAD software. At first I thought my only recourse would be to etch the board at home, but I did a little research and came to the conclusion that converting PDF files to Gerber format was a viable option.
After a week of Perl hacking, I had a script that would convert each layer of an uncompressed PDF 1.3 file to its corresponding Gerber and NC Drill files, ready for submission to any PCB manufacturer. The result is pdf2gerb, which you’ve found here.
Convert PDF to Gerber and NC Drill formats – Link.