unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: u450286865@spawnkill.ip-mobilphone.net  (Bruce_Ingalls)
Subject: Default printer
Date: Sun, 09 Oct 2005 16:04:54 GMT	[thread overview]
Message-ID: <l.1128873894.1351348876@131.gibbsnewyork.com> (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

             reply	other threads:[~2005-10-09 16:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-09 16:04 Bruce_Ingalls [this message]
2005-10-10 17:08 ` Default printer Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=l.1128873894.1351348876@131.gibbsnewyork.com \
    --to=u450286865@spawnkill.ip-mobilphone.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).