all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Print Buffer Text Only
@ 2006-10-24  3:41 Bill
  0 siblings, 0 replies; 4+ messages in thread
From: Bill @ 2006-10-24  3:41 UTC (permalink / raw)


How does one go about printing a buffer in such a way that no extra
lines appear with the buffer text?  Lines such as the name of the
file, the date it was printed, so forth ...

In short, printing the buffer text itself and nothing else.

Bill

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

* Re: Print Buffer Text Only
       [not found] <mailman.188.1161661298.27805.help-gnu-emacs@gnu.org>
@ 2006-10-24  4:49 ` Pascal Bourguignon
  2006-10-25 17:38   ` bjemacs
       [not found]   ` <mailman.234.1161797915.27805.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Pascal Bourguignon @ 2006-10-24  4:49 UTC (permalink / raw)


Bill <tfc4@cybcon.com> writes:

> How does one go about printing a buffer in such a way that no extra
> lines appear with the buffer text?  Lines such as the name of the
> file, the date it was printed, so forth ...
>
> In short, printing the buffer text itself and nothing else.

M-x customize-group RET printing RET

or:

(custom-set-variables
 '(ps-header-lines 0)
 '(ps-left-header nil)
 '(ps-paper-type (quote a4) t)
 '(ps-print-header nil)
 '(ps-print-header-frame nil)
 '(ps-printer-name "lp")
 '(ps-right-header nil)
 '(ps-show-n-of-n nil))

Then:

M-x ps-print-buffer RET




-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

"Specifications are for the weak and timid!"

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

* Re: Print Buffer Text Only
  2006-10-24  4:49 ` Print Buffer Text Only Pascal Bourguignon
@ 2006-10-25 17:38   ` bjemacs
       [not found]   ` <mailman.234.1161797915.27805.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: bjemacs @ 2006-10-25 17:38 UTC (permalink / raw)



Thanks Pascal:

Sorry I should have been more explicit. 

That works well for a postscript printer, but I need to use 'print-buffer'
not 'ps-print-buffer'.

Any suggestions?

Bill
___________________________________________________________ 


Pascal Bourguignon wrote:
> 
> Bill <tfc4@cybcon.com> writes:
> 
>> How does one go about printing a buffer in such a way that no extra
>> lines appear with the buffer text?  Lines such as the name of the
>> file, the date it was printed, so forth ...
>>
>> In short, printing the buffer text itself and nothing else.
> 
> M-x customize-group RET printing RET
> 
> or:
> 
> (custom-set-variables
>  '(ps-header-lines 0)
>  '(ps-left-header nil)
>  '(ps-paper-type (quote a4) t)
>  '(ps-print-header nil)
>  '(ps-print-header-frame nil)
>  '(ps-printer-name "lp")
>  '(ps-right-header nil)
>  '(ps-show-n-of-n nil))
> 
> Then:
> 
> M-x ps-print-buffer RET
> 
> 
> 
> 
> -- 
> __Pascal Bourguignon__                     http://www.informatimago.com/
> 
> "Specifications are for the weak and timid!"
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
> 
> 

-- 
View this message in context: http://www.nabble.com/Print-Buffer-Text-Only-tf2499136.html#a6996763
Sent from the Emacs - Help mailing list archive at Nabble.com.

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

* Re: Print Buffer Text Only
       [not found]   ` <mailman.234.1161797915.27805.help-gnu-emacs@gnu.org>
@ 2006-10-25 19:10     ` Pascal Bourguignon
  0 siblings, 0 replies; 4+ messages in thread
From: Pascal Bourguignon @ 2006-10-25 19:10 UTC (permalink / raw)


bjemacs <tfc4@cybcon.com> writes:

> Thanks Pascal:
>
> Sorry I should have been more explicit. 
>
> That works well for a postscript printer, but I need to use 'print-buffer'
> not 'ps-print-buffer'.
>
> Any suggestions?

Basically, the same: C-h f print-buffer RET
and customize the variable mentionned.

The header you get may be inserted by the lpr program, so you may want
to choose the right options passed to lpr.


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

"I have challenged the entire quality assurance team to a Bat-Leth
contest.  They will not concern us again."

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

end of thread, other threads:[~2006-10-25 19:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.188.1161661298.27805.help-gnu-emacs@gnu.org>
2006-10-24  4:49 ` Print Buffer Text Only Pascal Bourguignon
2006-10-25 17:38   ` bjemacs
     [not found]   ` <mailman.234.1161797915.27805.help-gnu-emacs@gnu.org>
2006-10-25 19:10     ` Pascal Bourguignon
2006-10-24  3:41 Bill

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.