Posted: Wed May 24, 2006 1:21 am Post subject: custom printer definitions in the graphcap file
Dear Iraf Guru's,
My group has been using IRAF for a very long time. About a year ago we got
a new Xerox Phasor printer. However, we can't print to this printer from
within IRAF as there is not an entry for it in the graphcaps file. Since
this file has some rather mysterious entries in it, how do I go about
defining this printer?
The default print device in IRAF is 'lp' (i.e. the 'stdplot' or 'printer' env variables), which means that in the case of graphics PostScript is sent to the printer using a simple 'lpr' command. If the Xerox is the default printer on the machine, or is named by the PRINTER unix environment variable in your .cshrc file (not .login), it will be the default iraf printer as well. In some cases there are problems because the machine uses 'lp' to print and the 'lpr' command is not available -- you can either just install the lpr command (details vary on platform), or else edit the dev$graphcap and dev$termcap (for text) file. For the dev$graphcap find the 'g-lpr' entry (for dev$termcap it is 'glpr') and simply change the 'lpr' command to be 'lp'.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum