Re: problem with binary for DEC Alpha - can't print from idt

From: Mary Haley (haley@XXXXXX)
Date: Tue Mar 05 2002 - 16:33:20 MST

  • Next message: Yongzuo Li: "edit NCARG using framemaker"

    >
    > I downloaded the binary for the DEC Alpha running the DEC Unix version
    > 5.0 and installed it. I can view gmeta files with idt but the
    > "print" button is greyed out so that I can't print any of the images to
    > either a printer or a postscript file.
    >
    > Is there a problem with the binary, how I installed it, or is do the
    > binaries just not come with the ability to use the "print" button in idt?
    >
    > Thanks
    > Erika

    Erika,

    Since every site will have their own set of printers, you have to configure
    "idt" to recognize the printers at your site. You do this through a file
    called "ncarv_spool". If you look at the man page for "ncarv_spool"
    it states the following:
     
        The ncarv_spool file contains definitions for spooled devices to
        be used by idt/ictrans. Each definition describes a rule used for
        sending a set of metafile frames to a spooled device.

        Each entry consists of a line of the form:

           alias_name : translator_args : filter_chain

    So, for example, if you have a PostScript printer that you normally
    print to with the command "lpr -Plj145", then one line in your
    "ncarv_spool" file might look like this:

        PostScript : -d ps.color -simulatebg : | lpr -Plj145

    The first entry "PostScript" is just your own alias name that you
    choose. This is the name you will see when you click on the "Print"
    button in "idt". The commands between the colons specify that you want
    to convert your metafile to color PostScript and that you want to keep
    the same background color as the metafile. The last part of the line
    just sends the output to your printer.

    You can have several lines in your "ncarv_spool" file, each one
    specifying where you want the metafile output to go (it can be a
    printer or a file). For example, if you want to send a particular frame
    to an xwd file, you might have the following entry in your ncarv_spool file:

         xwd_file : -d xwd : > gmeta.xwd

    The "ncarv_spool" file can either go in the directory
    "$NCARG_ROOT/lib/ncarg" so that all users of "idt" will be able to use
    its entries, or you can rename the file ".ncarv_spool" and put it in
    your home directory where only you will have access to the entries in
    it.

    For more information, do a man on "ncarv_spool" or "idt".

    Cheers,

    --Mary



    This archive was generated by hypermail 2b29 : Tue Mar 05 2002 - 17:05:25 MST