• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Convert Gerber into PDF file

Stats

  • Replies 8
  • Subscribers 161
  • Views 23563
  • Members are here 0
More Content

Convert Gerber into PDF file

terrylau
terrylau over 16 years ago

Is there any way, or steps to do it, in SKILL to convert all the Gerber files into a single pdf file with multiple pages?

  • Sign in to reply
  • Cancel
  • eDave
    eDave over 16 years ago

    Hi,

    That is certainly possible. However it's not a trivial exercise. Let me know if ou need some hints as to how to achive this using Skill (and some other utilities).

    Cheers, Dave

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • pcbgeorge
    pcbgeorge over 16 years ago
    Sure. You write a routine to read and decode the gerber data into a data structure, then write a routine to encode and write the data in PDF format. Simple? No. Easy? No (unless you have the PDF format manual and the Gerber RS274C specification and a couple months to read them). Efficient, Absolutely not. :@

    My opinion: Just because you CAN do something does not necessarily make it the best solution. Nor does it make SKILL the best language to do it in. Since both formats are saved on a disk, write it in another general purpose language (python comes to mind since it's supposed to be good with graphic manipulation), sell it, and retire to Tahiti. :)

    My suggestion: Use a third party tool such as GCPrevue or Viewmate to load the gerbers, then print them to an accrobat print queue (you can set this up when you buy the accrobat editor). Voila! Doesn't automate too well though. We use ghostscript and some of the built-in capabilities of linux to just print the layers out of Allegro in postscript format, then concatenate and merge them into a multipage document. Ugly, but automated :}

    --
    George Patrick
    Tektronix, Inc.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • terrylau
    terrylau over 16 years ago
    Yes please... I would appreciate any inputs/hints or suggestions of third party utilities/converters along the way. By the way, I am using pdf995 as my pdf printer at the moment.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 16 years ago

    There are a number of ways to do this by converting Gerber to other formats and then using a writer to create a pdf document.

    I would do it using SVG graphics and the free Apache FOP PDF converter. It would be easier to generate SVG graphics from Allegro directly than to convert Gerbers but either method is do-able.

    Short of me writing it for you, your best course of action is firstly to decide how worthwhile this is - it's a relatively big task. And, if you decide to continue, study up on XSL FO. Once you understand that the next task is converting Gerber (or Allegro objects) into SVG within an XSL FO structure and, finally, converting that using FOP.

     Good luck.

    Dave

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Charlie Davies
    Charlie Davies over 16 years ago

    The folks at artwork.com have a nifty utility to convert Gerber (RS274X and RS274D) to Postscript (levels 1 and 2).  See http://artwork.com/gerber/gbrplot/gbrplot.htm.  It's not free, but does a great job.  It works well and insures that the PDF looks EXACTLY like the artwork.  We been using it for over 10 years and have automated the Gerber to PDF using this as a pipeline. 

    Hope this helps.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information