unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* More emacs print question
@ 2002-10-13  4:05 tcp
  2002-10-13 14:12 ` Stefan Monnier <foo@acm.com>
  0 siblings, 1 reply; 3+ messages in thread
From: tcp @ 2002-10-13  4:05 UTC (permalink / raw)


Hi,

  I'm trying to print some c++/java files using emacs print
  from the command line with no avail. Can someone please
  help.

  Here is what I did:

    emacs -batch -f ps-print-buffer MyProg.cpp

  It would only print the *SCRATCH* buffer.

  TIA.

---
tcp

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

* Re: More emacs print question
  2002-10-13  4:05 tcp
@ 2002-10-13 14:12 ` Stefan Monnier <foo@acm.com>
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier <foo@acm.com> @ 2002-10-13 14:12 UTC (permalink / raw)


>     emacs -batch -f ps-print-buffer MyProg.cpp

The options are executed sequentially, so first you start Emacs
in batch mode, then you call ps-print-buffer and after that you
load the file.  Try instead:

   emacs -batch MyProg.cpp -f ps-print-buffer


-- Stefan

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

* Re: More emacs print question
@ 2002-10-16  1:15 tcp
  0 siblings, 0 replies; 3+ messages in thread
From: tcp @ 2002-10-16  1:15 UTC (permalink / raw)


Hi all,

  I tried the "emacs -batch MyProg.cpp -f ps-print-buffer" and it
  still did not work.  Any idea?  TIA!

---
tcp

"tcp" <txt8888@yahoo.com> wrote in message news:...
> Hi,
>
>   I'm trying to print some c++/java files using emacs print
>   from the command line with no avail. Can someone please
>   help.
>
>   Here is what I did:
>
>     emacs -batch -f ps-print-buffer MyProg.cpp
>
>   It would only print the *SCRATCH* buffer.
>
>   TIA.
>
> ---
> tcp
>
>

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

end of thread, other threads:[~2002-10-16  1:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-16  1:15 More emacs print question tcp
  -- strict thread matches above, loose matches on Subject: below --
2002-10-13  4:05 tcp
2002-10-13 14:12 ` Stefan Monnier <foo@acm.com>

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