Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

custom printer definitions in the graphcap file

 
Post new topic   Reply to topic    iraf.net Forum Index -> Systems
View previous topic :: View next topic  
Author Message
Guest
Guest





PostPosted: Wed May 24, 2006 1:21 am    Post subject: custom printer definitions in the graphcap file Reply with quote

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?

Thanks,
Katrina Gressett

--
___________________________________________________________
Katrina Gressett
NSO/GONG -- Data Reduction Specialist
gressett@noao.edu
520.318.8568
___________________________________________________________



Post generated using Mail2Forum (http://www.mail2forum.com)
Back to top
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3257
Location: Tucson

PostPosted: Thu May 25, 2006 4:38 pm    Post subject: Reply with quote

Katrina,

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'.

If you want this to be a named device, see the FAQ on the subject at http://iraf.net/faqman/index.php?op=view&t=73

-Mike
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Systems All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.09 seconds