unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs 21.3.1 printing on Intel/Linux
@ 2005-01-25  0:01 kgold
  2005-01-25  1:30 ` rb
  0 siblings, 1 reply; 5+ messages in thread
From: kgold @ 2005-01-25  0:01 UTC (permalink / raw)


Symptoms:

I can print from a command line using 'pdpr'
I can print from the emacs menu using Postscript Print (buffer/region)(B+W)
I cannot print from the emacs menu using Print (buffer/region)
I cannot print using M-x lpr-buffer

where cannot means that nothing comes out on the printer.  *messages*
says "Spooling...done"

Printing on my Linux setup uses a command pdpr, which the variable
lpr-command is set to.

What I'd like:

All the menu options to work

What I'd settle for:

Any way to print without that *%$#@% default header box with the title,
directory, page number and date.

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

* Re: emacs 21.3.1 printing on Intel/Linux
  2005-01-25  0:01 emacs 21.3.1 printing on Intel/Linux kgold
@ 2005-01-25  1:30 ` rb
  2005-01-25 21:36   ` kgold
  0 siblings, 1 reply; 5+ messages in thread
From: rb @ 2005-01-25  1:30 UTC (permalink / raw)


kgold@watson.ibm.com (kgold) writes:

> Symptoms:
> 
> I can print from a command line using 'pdpr'
> I can print from the emacs menu using Postscript Print (buffer/region)(B+W)
> I cannot print from the emacs menu using Print (buffer/region)
> I cannot print using M-x lpr-buffer

did you try M-x ps-print-buffer (that works for me)

[...]

> Any way to print without that *%$#@% default header box with the
> title, directory, page number and date.  --

Header and footer text, face, etc are easily customizable with M-x
customize-apropos ps

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

* Re: emacs 21.3.1 printing on Intel/Linux
  2005-01-25  1:30 ` rb
@ 2005-01-25 21:36   ` kgold
  2005-01-26  4:42     ` Eli Zaretskii
       [not found]     ` <mailman.15340.1106715689.27204.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: kgold @ 2005-01-25 21:36 UTC (permalink / raw)


In article <kx9fz0quwfy.fsf@panix5.panix.com>,
 rb <rb@panix.com> writes:
> kgold@watson.ibm.com (kgold) writes:
> 
> > Symptoms:
> > 
> > I can print from a command line using 'pdpr'
> > I can print from the emacs menu using Postscript Print (buffer/region)(B+W)
> > I cannot print from the emacs menu using Print (buffer/region)
> > I cannot print using M-x lpr-buffer
> 
> did you try M-x ps-print-buffer (that works for me)
> 
> [...]
> 
> > Any way to print without that *%$#@% default header box with the
> > title, directory, page number and date.  --
> 
> Header and footer text, face, etc are easily customizable with M-x
> customize-apropos ps

Depends on the definition of "easily" :-( I've never found the custom
feature to be very intuitive.

ps yielded many hits, but nothing obvious to do with printing.  header
and footer yielded nothing.

Could you be (much) more specific, please.

Or just tell me the variable name.

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

* Re: emacs 21.3.1 printing on Intel/Linux
  2005-01-25 21:36   ` kgold
@ 2005-01-26  4:42     ` Eli Zaretskii
       [not found]     ` <mailman.15340.1106715689.27204.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2005-01-26  4:42 UTC (permalink / raw)


> From: kgold@watson.ibm.com (kgold)
> Date: 25 Jan 2005 21:36:04 GMT
> 
> ps yielded many hits, but nothing obvious to do with printing.  header
> and footer yielded nothing.
> 
> Could you be (much) more specific, please.

Could _you_ be more specific?  What does ``yielded nothing'' mean?
What command(s) did you use and how, exactly?

The following command:

  fgrep -e defcustom ps-print.el | fgrep -e header -e footer

yielded 24 hits (using GNU Grep).  You will get similar results if you
visit ps-print.el and use "M-x occur" with a suitable regexp to find
defcustom's whose names contain "header" or "footer".  Another way to
do that would be to "M-x load-library RET ps-print RET" and then use
"M-x apropos-variable ps.*\(header\|footer\) RET".

Okay?

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

* Re: emacs 21.3.1 printing on Intel/Linux
       [not found]     ` <mailman.15340.1106715689.27204.help-gnu-emacs@gnu.org>
@ 2005-01-26 15:05       ` kgold
  0 siblings, 0 replies; 5+ messages in thread
From: kgold @ 2005-01-26 15:05 UTC (permalink / raw)


"Eli Zaretskii" <eliz@gnu.org> writes:
> > From: kgold@watson.ibm.com (kgold)
> > Date: 25 Jan 2005 21:36:04 GMT
> > 
> > ps yielded many hits, but nothing obvious to do with printing.  header
> > and footer yielded nothing.
> > 
> > Could you be (much) more specific, please.
> 
> Could _you_ be more specific?  What does ``yielded nothing'' mean?
> What command(s) did you use and how, exactly?
> 
> The following command:
> 
>   fgrep -e defcustom ps-print.el | fgrep -e header -e footer
> 
> yielded 24 hits (using GNU Grep).  You will get similar results if you
> visit ps-print.el and use "M-x occur" with a suitable regexp to find
> defcustom's whose names contain "header" or "footer".  Another way to
> do that would be to "M-x load-library RET ps-print RET" and then use
> "M-x apropos-variable ps.*\(header\|footer\) RET".

Thanks.  The trick was to load ps-print.  After that, the customize
options appeared, as did the ps-print-headers variable.

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

end of thread, other threads:[~2005-01-26 15:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-25  0:01 emacs 21.3.1 printing on Intel/Linux kgold
2005-01-25  1:30 ` rb
2005-01-25 21:36   ` kgold
2005-01-26  4:42     ` Eli Zaretskii
     [not found]     ` <mailman.15340.1106715689.27204.help-gnu-emacs@gnu.org>
2005-01-26 15:05       ` kgold

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