help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Default printer


From: Bruce_Ingalls
Subject: Default printer
Date: Sun, 09 Oct 2005 16:04:54 GMT

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]