help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: printing format (more specific!)


From: Bingham, Jay
Subject: RE: printing format (more specific!)
Date: Fri, 10 May 2002 18:07:15 -0500

Ha,

You can read about post script printing in the help files, and if you need more 
you can look in the emacs reference manual, but I think that everything you 
will need is in the emacs manual. Use Help in menu then read manuals then emacs 
manual.

-_
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 5:47 p
To:     help-gnu-emacs@gnu.org
Subject:        RE: printing format (more specific!)

Hi,

Thanks for your quick reply. After a test, here are some points which are 
not very satisfying:

I wrote a 100-caracter line, font size 12.
If I print with print-buffer,the outputs are:
- the first line consists the 1st to the 78th caracters, the 79th and 80th 
caracters disappear (which is in principal replaced by OD for "Return" and 
OA for "line feed"). The 81th caracters and the rest are on the 2nd line.
- black and white printing

If I print with Postscript print-buffer, the outputs are:
- from the 1st to the 97th caracters are on the first line and the remaining 
is on the 2nd line.
- the font size is bigger than that produced with buffer printing (the font 
size is not changed).
- colour printing
- header: a frame on the top of the page indicating the filename,  number of 
pages printed and the path of the file printed. This occupies the space 
page, which is sometimes undesirable.
- the pagination is nicer.

While doing this test, I did not change the configuration of the printer. It 
is set to colour printing.

What I would like to do is:
- to be able to choose the printing options: either black and white or 
colour, with header or no hearder
- true font size as that viewed on the screen. (In my example, the font size 
with buffer printing is bigger than that viewed on the screen).

Is it possible to make these options possible?

Could you help me set the parameters?

Thank you very much for your information sharing.

Ha


>From: "Bingham, Jay" <Jay.Bingham@hp.com>
>To: <help-gnu-emacs@gnu.org>
>Subject: RE: printing format (more specific!)
>Date: Fri, 10 May 2002 14:30:46 -0500
>
>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.
>
>
>
>_______________________________________________
>Help-gnu-emacs mailing list
>Help-gnu-emacs@gnu.org
>http://mail.gnu.org/mailman/listinfo/help-gnu-emacs




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]