unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Default printer
@ 2005-10-09 16:04 Bruce_Ingalls
  2005-10-10 17:08 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: Bruce_Ingalls @ 2005-10-09 16:04 UTC (permalink / raw)


I recently posted code on gnu.emacs.sources, on how to determine the
default printer on modern Microsoft Windows systems.
This code could certainly be improved, to, say, list *all* known printers,
for M-x customize to select from. I'm sure one of our inclined readers
could do this far more efficiently, than could I.

Any thoughts, on good strategies for determining default printers, or
lists of known printers, on (GNU) Linux compatible systems, (e.g. Solaris,
BSD), or on OSX, VMS, etc?

Should we leave /dev/lp0 as a good guess?
How about scanning /etc/printcap?
I suspect Red Hat leaves something in /etc/sysconfig/
What about CUPS & IPP?

While my intent is to use this, to make Emacs easier to use, perhaps I
should ask this on comp.unix.shell, or other suggestion?

Thanks, Bruce.

 



-- 
Sent by  bruce.ingalls  from gmail  subpart  from com
This is a spam protected message. Please answer with reference header.
Posted via http://www.usenet-replayer.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-10 17:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-09 16:04 Default printer Bruce_Ingalls
2005-10-10 17:08 ` Kevin Rodgers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).