all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Bingham, Jay" <Jay.Bingham@hp.com>
Subject: RE: printing format (more specific!)
Date: Fri, 10 May 2002 14:30:46 -0500	[thread overview]
Message-ID: <72A87F7160C0994D8C5A36E2FDC227F501FB4A5D@txnexc01.americas.cpqcorp.net> (raw)

Ha,

You have confirmed what I suspected.
The menu item that you are using invokes the function print-buffer.  This function was designed to print documents that contained no formatting to form feed printers.  So rather than just print your document it attempts to paginate it and probably to add a header to the page as well.  Here is what the function description says:

Paginate and print buffer contents.

The variable `lpr-headers-switches' controls how to paginate.
If it is nil (the default), we run the `pr' program (or whatever program
`lpr-page-header-program' specifies) to paginate.
`lpr-page-header-switches' specifies the switches for that program.

Otherwise, the switches in `lpr-headers-switches' are used
in the print command itself; we expect them to request pagination.
 
See the variables `lpr-switches' and `lpr-command'
for further customization of the printer command.

If your document already has form feeds in it then what you describe will happen because print-buffer will add another one where it thinks it should.
Personally I do not use print-buffer for that very reason.  I use ps-print-buffer (postscript) because I have printers that understand postscript here at work.
Hope this helps.

-_
J_)
C_)ingham
.    HP - NonStop Enterprise Division - Software Product Assurance
.    Office: 2166                Phone: 8945
. Language is the apparel in which your thoughts parade in public.
. Never clothe them in vulgar and shoddy attire.          -Dr. George W. Crane-

 -----Original Message-----
From: 	ha nguyen [mailto:interha@hotmail.com] 
Sent:	Friday, 10 May, 2002 1:31 p
To:	Bingham, Jay
Cc:	help-gnu-emacs@gnu.org
Subject:	RE: printing format (more specific!)


Hi,

Sorry for the non-specific quesions. I'll be more specific now.
------------

My printing page format is so bizarre!
>If I print a document, I always have two or three extra  lines in one
>seperate page. For ex, If I have two pages to print, I'll have the 
>following outputs:
>- the first page is full
>- the second only have two or three lines
>- the third is full
>- and the fourth also have two or three lines.
>While if it produces normally, I should have two pages only.
>
------------
I have never set the printing command in Emacs. It is by default since my 
installation of Linux.

When I print, I do "Tool", "Print" "Print buffer". I do not know how to use 
command to print from the terminal.

I have the Epson Stylus Scan 2500 printer. I have no problem printing in 
Windows.

Thanks a lot for your responses.

Ha

>From: "Bingham, Jay" <Jay.Bingham@hp.com>
>To: <help-gnu-emacs@gnu.org>
>Subject: RE: printing format
>Date: Fri, 10 May 2002 08:55:23 -0500
>
>Ha,
>
>You did not say which command you are using to print, nor did say what type 
>of printer you are trying to print to, nor how you have your lpr-command 
>variable set to.  All of this information will be extremely useful 
>information to those who are trying to answer your question since there is 
>more than one way to print in emacs and several variables that can affect 
>the outcome.
>
>-_
>J_)
>C_)ingham
>.    HP - NonStop Enterprise Division - Software Product Assurance
>.    Austin, TX
>. Language is the apparel in which your thoughts parade in public.
>. Never clothe them in vulgar and shoddy attire.          -Dr. George W. 
>Crane-
>
>  -----Original Message-----
>From: 	ha nguyen [mailto:interha@hotmail.com]
>Sent:	Friday, 10 May, 2002 6:12 a
>To:	help-gnu-emacs@gnu.org
>Subject:	printing format
>
>Hello,
My printing page format is so bizarre!
>If I print a document, I always have two or three extra  lines in one
>seperate page. For ex, If I have two pages to print, I'll have the 
>following
>outcomes:
>- the first page is full
>- the second only have two or three lines
>- the third is full
>- and the fourth also have two or three lines.
>While if it produces normally, I should have two pages only.
>
>Do you know how to correct it?>
>
>
>
>Thanks for your help.
>
>Regards,
>
>Ha
>
>
>_________________________________________________________________
>Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>_______________________________________________
>Help-gnu-emacs mailing list
>Help-gnu-emacs@gnu.org
>http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>
>
>_______________________________________________
>Help-gnu-emacs mailing list
>Help-gnu-emacs@gnu.org
>http://mail.gnu.org/mailman/listinfo/help-gnu-emacs




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

             reply	other threads:[~2002-05-10 19:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-10 19:30 Bingham, Jay [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-10 23:07 printing format (more specific!) Bingham, Jay
2002-05-10 22:46 ha nguyen
2002-05-10 18:30 ha nguyen

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

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

  git send-email \
    --in-reply-to=72A87F7160C0994D8C5A36E2FDC227F501FB4A5D@txnexc01.americas.cpqcorp.net \
    --to=jay.bingham@hp.com \
    /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.
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.