• 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 23567
  • 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
Parents
  • 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
Reply
  • 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
Children
No Data
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