unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* sending a buffer content as pipe to enscript
@ 2005-10-04  9:54 Flatman
  2005-10-04 10:29 ` Peter Dyballa
       [not found] ` <mailman.9670.1128422052.20277.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Flatman @ 2005-10-04  9:54 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 187 bytes --]


Hi,

I'd like to use enscript for printing buffer contents . How can I send
the content of the active buffer to enscript ?

-- 
Erik

* Life is wonderful with Emacs and Perl *

[-- Attachment #1.2: Type: application/pgp-signature, Size: 185 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: sending a buffer content as pipe to enscript
  2005-10-04  9:54 sending a buffer content as pipe to enscript Flatman
@ 2005-10-04 10:29 ` Peter Dyballa
  2005-10-04 18:48   ` Kevin Rodgers
       [not found] ` <mailman.9670.1128422052.20277.help-gnu-emacs@gnu.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Dyballa @ 2005-10-04 10:29 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 04.10.2005 um 11:54 schrieb Flatman:

> I'd like to use enscript for printing buffer contents . How can I send
> the content of the active buffer to enscript ?
>

top-of-buffer
set-mark
end-of-buffer
shell-command-on-region?

The whole buffer is marked and gets passed to enscript.

How about your elder approach from August with saving the buffer's 
contents to /tmp? enscript could pick up this too ...

--
Greetings

   Pete

War springs from unseen and generally insignificant causes.
-Anonymous

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

* Re: sending a buffer content as pipe to enscript
       [not found] ` <mailman.9670.1128422052.20277.help-gnu-emacs@gnu.org>
@ 2005-10-04 10:56   ` Flatman
  0 siblings, 0 replies; 4+ messages in thread
From: Flatman @ 2005-10-04 10:56 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 559 bytes --]

* Peter Dyballa <Peter_Dyballa@Web.DE> wrote:
|
| How about your elder approach from August with saving the buffer's
| contents to /tmp? enscript could pick up this too ...

Yep,

At that time I used ps-print-buffer which allready 'handles' the buffer
as ps. enscript needs raw input . That's why I prefer another approach
for it . However I don't know how to specify the filetype to enscript
yet .... I think enscript uses the extension to detect file type ? Not
sure of this however ...

-- 
Erik

* Life is wonderful with Emacs and Perl *

[-- Attachment #1.2: Type: application/pgp-signature, Size: 185 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: sending a buffer content as pipe to enscript
  2005-10-04 10:29 ` Peter Dyballa
@ 2005-10-04 18:48   ` Kevin Rodgers
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2005-10-04 18:48 UTC (permalink / raw)


Peter Dyballa wrote:
 > Am 04.10.2005 um 11:54 schrieb Flatman:
 >
 >> I'd like to use enscript for printing buffer contents . How can I send
 >> the content of the active buffer to enscript ?
 >
 > top-of-buffer
 > set-mark
 > end-of-buffer

M-< and M-> both set the mark, so C-@ is superfluous.

Better yet, just use C-x h (mark-whole-buffer).

 > shell-command-on-region?

shell-command-on-region is on M-|

 > The whole buffer is marked and gets passed to enscript.

-- 
Kevin Rodgers

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

end of thread, other threads:[~2005-10-04 18:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-04  9:54 sending a buffer content as pipe to enscript Flatman
2005-10-04 10:29 ` Peter Dyballa
2005-10-04 18:48   ` Kevin Rodgers
     [not found] ` <mailman.9670.1128422052.20277.help-gnu-emacs@gnu.org>
2005-10-04 10:56   ` Flatman

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