Home > Community > Forums > Custom IC Design > How I can plot directly a pdf - file without plotting a ps - file before

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How I can plot directly a pdf - file without plotting a ps - file before 

Last post Wed, Aug 5 2009 7:57 AM by dmay. 3 replies.
Started by Peach99 04 Aug 2009 06:51 AM. Topic has 3 replies and 2819 views
Page 1 of 1 (4 items)
Sort Posts:
  • Tue, Aug 4 2009 6:51 AM

    • Peach99
    • Top 500 Contributor
    • Joined on Thu, Jul 30 2009
    • Posts 27
    • Points 435
    How I can plot directly a pdf - file without plotting a ps - file before Reply

    When I want to plot the schematic I only can plotting a ps - file. But now I can convert this file to a pdf - file. My question is how I can plot the schematic directly to a pdf - file. I think I have to change the .cdsplotinit - file but I don't know how I can do this. Can anybody help me please.

    Best Regards

     

    Daniel Pietsch

    • Post Points: 20
  • Tue, Aug 4 2009 7:30 AM

    • dmay
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • Allen, TX
    • Posts 386
    • Points 7,290
    Re: How I can plot directly a pdf - file without plotting a ps - file before Reply

    We have these settings that allow us to plot with different resolutions. Our ps to pdf conversion program is called ps2pdf13. We pass it a dash argument to indicate the input comes from stdin.

    PDF_6000dpi|Large Postscript: \
            :type=postscript2: \
            :spool=ps2pdf13 - > /tmp/plot_${LOGNAME}.pdf ; (acroread /tmp/plot_${LOGNAME}.pdf &): \
            :resolution#6000: \
            :maximumPages#30: \
            :paperSize="A" 48000 63000 1500 1500:
    PDF_3000dpi|Medium Postscript: \
            :type=postscript2: \
            :spool=ps2pdf13 - > /tmp/plot_${LOGNAME}.pdf ; (acroread /tmp/plot_${LOGNAME}.pdf &): \
            :resolution#3000: \
            :maximumPages#30: \
            :paperSize="A" 24000 31500 750 750:
    PDF_1000dpi|Small Postscript: \
            :type=postscript2: \
            :spool=ps2pdf13 - > /tmp/plot_${LOGNAME}.pdf ; (acroread /tmp/plot_${LOGNAME}.pdf &): \
            :resolution#1000: \
            :maximumPages#30: \
            :paperSize="A" 8000 10500 250 250:

    Derek

    • Post Points: 20
  • Tue, Aug 4 2009 11:44 PM

    • Peach99
    • Top 500 Contributor
    • Joined on Thu, Jul 30 2009
    • Posts 27
    • Points 435
    Re: How I can plot directly a pdf - file without plotting a ps - file before Reply

    Thank you for the answere, but what I mean is, that I can plot a pdf - file without converting ps into pdf. Therefore I want to convert this directly.

     

    Best regards

    Daniel Pietsch 

    • Post Points: 20
  • Wed, Aug 5 2009 7:57 AM

    • dmay
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • Allen, TX
    • Posts 386
    • Points 7,290
    Re: How I can plot directly a pdf - file without plotting a ps - file before Reply

    What I included in my original post were the .cdsplotinit settings for Cadence to create pdf files. Yes, the .cdsplotinit converts from postscript to pdf during the spooling process, but the end result to the user is a pdf file. You don't have to do the conversion yourself. Am I missing something else?

    1. Copy the above settings into a .cdsplotinit file in your home directory.
    2. Modify the settings to include the name of the postscript conversion program that you use. Be sure that it can accept input from stdin. The spool option is essentiall doing this: cat postscriptFile | ps2pdfConversionScript -
    The dash argument tells the conversion script (ps2pdf13 in our case) to accept stdin.
    In our environment, ${LOGNAME} evaluates to a user's login name in Unix. You can replace this with a hardcoded value if you'd like, or reference a different environment variable. Another example:
     :spool=ps2pdf13 - > /tmp/plot_schematic.pdf ; (acroread /tmp/plot_schematic.pdf &): \
    3. Open Cadence and plot a schematic by choosing  one of these printer names: PDF_600dpi, PDF_3000dpi or PDF_1000dpi. When the plot is finished, it will be opened automatically in acroread.

    Derek

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by Peach99 at 04 Aug 2009 06:51 AM. Topic has 3 replies.