An entry for HP 1055 in cdsplotinit

Discussion in 'Cadence' started by B, Sep 3, 2003.

  1. B

    B Guest

    Does anybody has an entry for HP 1055?
     
    B, Sep 3, 2003
    #1
  2. .... or a script to generate the cdsplotinit definition from a printcap,
    or from the equivalent info in windows drivers' syntax ?
    Every time a new printer/plotter is ordered, I have a fight with the
    sysadmins to get the necessary info for a plotinit. Most often, all they
    have to offer is windows drivers and a (too) short PDF with some specs
    of the printer.

    ( Sorry Bekeur, I have only a designjet 800PS definition. )
     
    eda support guy, Sep 4, 2003
    #2
  3. B

    John Gianni Guest

    1. While this plotter has (apparently) not been tested by Cadence:
    http://sourcelink.cadence.com/docs/files/plot/SuppPltrs.html

    Customers have called Cadence Support to request a suggested .cdsplotinit
    entry for this plotter and most have reported success on the first pass:
    http://sourcelink.cadence.com/docs/db/kdb/2000/Feb/1837521.html

    2. So, one option is for you to just call Customer Support after reading
    the CDSDoc "Plotter Configuration User Guide"; and particularly, after
    reading the section titled "Setting Up Hewlett-Packard Plotters".

    3. Since I already did a quick search, here are some possible .cdsplotinit
    entries (but don't ask me to support them :) to give you a head start:

    Cadence does support this plotter model.
    You can as a first and easiest step, create an hpgl2 file.
    You will need to have a .cdsplotinit such as:

    HP1055|Hewlett-Packard DesignJet 1055: \
    :manufacturer=Hewlett-Packard: \
    :type=hpgl2: \
    :spool=lpr -Pcds: \ # update this line with the correct queue name
    :query=lpq -Pcds: \ # update this line with the correct queue name
    :remove=lprm -Pcds $3: \ # update this line with the correct queue name
    :resolution#1016: \
    :maximumPages#1: \
    :paperSize="36 inches wide" 36176 0:

    For larger plot files, you will need to use the raptor tool.
    The .cdsplotinit will look like: (it's an image of the 650C entry)

    hp1055|Hewlett-Packard DesignJet hp1055, RTL: \
    :manufacturer=Hewlett-Packard: \
    :type=intCLR: \
    :spool=lp -draptor: \ # update this line with the correct queue name
    :query=lpq -Praptor: \ # update this line with the correct queue name
    :remove=lprm -Praptor $3: \ # update this line with the correct queue name
    :resolution#300: \
    :maximumPages#2: \
    :stippleExpand#2: \
    :paperSize="36 inches wide" 0 10681:

    Add the following line if text are not correct on the plotter.

    :eek:ldText: \

    At this time, choose a little test case and make a manual test:
    From the application, create a CPIF file (plot to file = DATAFILE)

    Execute the raptor command:
    raptor -f RTL -p -d 8 -q 10 -c tiff -o OUTFILE DATAFILE

    This will create a OUTFILE (RTL format)
    Then invoke
    lp -dhpgl2 OUTFILE

    You should get something on the plotter.
    If this is OK, you have to set up the automatic phase:

    Modification of cdsSYSV.sh

    #!/bin/sh
    PATH="/bin:/usr/bin:/usr/lib:/CADENCE_PATH/tools/plot/bin"
    export PATH
    log=/var/spool/lp/raptorlog
    exec 2>>$log
    USER="$2"
    REQUEST_ID="$1"
    shift;shift;shift;shift;shift
    DATA_FILE=$*
    raptor -f RTL -p -d 8 -q 10 -c tiff -o $OUT_FILE $DATA_FILE
    lp -dhpgl2 $OUT_FILE

    Then define a new queue in Unix:
    lpadmin -praptor -v/dev/null -i /CADENCE_PATH/tools/plot/bin/cdsSYSV.sh

    lpsched
    enable raptor
    accept raptor

    In any case the manual test must work before trying to define lpadmin.
    Other HP 1055 .cdsplotinit files include:

    hp1055cm|Hewlett-Packard 1055CM PS Plotter: \
    :manufacturer=Hewlett-Packard: \
    :type=postscript2: \
    :spool=lp -dhp1055cm_3_2_2: \ <--- modify as needed
    :query=lpq -Php1055cm_3_2_2: \ <--- modify as needed
    :remove=cancel hp1055cm_3_2_2-$1: \ <--- modify as needed
    :resolution#300: \
    :maximumPages#30: \
    :black#1:cyan#2:magenta#3:yellow#4: \
    :paperSize="D" 6300 9750 75 75: \
    :paperSize="B" 3150 4950 75 75: \
    :paperSize="E" 9750 12750 75 75:

    cdsHP1055|cdsland HP 1055CM plotter: \
    :manufacturer=HP: \
    :type=hpg12: \
    :spool=lpr -Pcdsplot1: \
    :query=lpq -Pcdsplot1: \
    :remove=lprm -Pcdsplot1 $3: \
    :resolution#1200: \
    :maximumPages#5: \
    :paperSize="A4" 9900 14100 60 60:\
    :paperSize="A3" 19800 28200 60 60:

    dj1055|Hewlett-Packard Color Design Jet 1055: \
    :manufacturer=Hewlett-Packard: \
    :type=postscript2: \
    :spool=lp -d dj1055: \
    :query=lpstat -o dj1055: \
    :remove=cancel $3 dj1055: \
    :maximumPages#10: \
    :resolution#200: \
    :residentFonts: \
    :tmpdir=/usr/tmp: \
    :paperSize="36 inches wide" 0 7040:

    (more available upon request or just contact Customer Support)
     
    John Gianni, Sep 14, 2003
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.