all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: emacs-devel@gnu.org
Subject: Re: Windows Printing
Date: Sat, 20 May 2006 00:59:56 +0200	[thread overview]
Message-ID: <446E4DEC.8080309@student.lu.se> (raw)
In-Reply-To: <ulksxzl52.fsf@gnu.org>

Eli Zaretskii wrote:
>>> That's not what I said.  I said that I didn't see anything in the docs
>>> that specifically _precludes_ us from doing what Emacs does.
>>>   
>>>       
>> No, the printer drivers of course have to do something like that. But 
>> they are printer specific. If you want to print to any printer on MS 
>> Windows without having to care about what type of printer it is then you 
>> must use the GDI interface instead as far as I understands it. On this 
>> higher level the printer obscurities are hidden.
>>     
>
> Sorry, you are repeating some of the nonsense written in the original
> thread by someone who confessed that he knew almost nothing about how
> printing works on Windows.  AFAICS, there's nothing in the Microsoft
> documentation that backs up what he wrote.  Plain text output to a
> printer has nothing to do with raw byte streams sent by the printer
> drivers.
>   
I admit I am simplyfying things. I should have thought before writing. 
The printer drivers goes in on another level.

However that has not very much to do with the main argument. There are 
some support in MS Windows for the way Emacs prints, but it is not a 
full support for all printers and all kind of printing as far as I 
understands it. You have to use GDI for that. Or do you think 
differently? (Actually I do not believe you do, but I want it to be 
clear in the archives if someone wants to work on this.)

> ps-print solves this in a different way: it talks PostScript to a
> special printer driver, and that driver then takes care of converting
> to GDI.  Font selection is also different, take a look at ps-mule.el
> and ps-bdf.el.
>   
Yes I know. I just thought that the logic for taking care of pages etc 
is there.

> Yes.  In fact, the Windows-specific display code doesn't even see the
> whole buffer, only its part represented in the glyph matrices created
> by the higher-level platform-independent redisplay engine.
>   
Thanks. Would it be hard to let the display code see the whole buffer? I 
mean for printing.

  reply	other threads:[~2006-05-19 22:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-18 22:20 Windows Printing Lennart Borgman
2006-05-19 10:11 ` Eli Zaretskii
2006-05-19 10:59   ` Jason Rumney
2006-05-19 11:26     ` Eli Zaretskii
2006-05-19 12:08       ` Jason Rumney
2006-05-19 15:07         ` Eli Zaretskii
2006-05-20 18:57         ` Eli Zaretskii
2006-05-19 13:24       ` Lennart Borgman
2006-05-19 13:38         ` Jason Rumney
2006-05-19 13:42           ` Lennart Borgman
2006-05-19 13:57             ` Jason Rumney
2006-05-19 14:04               ` Lennart Borgman
2006-05-19 15:24                 ` Eli Zaretskii
2006-05-19 18:21                   ` Lennart Borgman
2006-05-19 15:36             ` Benjamin Riefenstahl
2006-05-19 16:09               ` Eli Zaretskii
2006-05-19 13:36     ` Lennart Borgman
2006-05-19 13:10   ` Lennart Borgman
2006-05-19 15:21     ` Eli Zaretskii
2006-05-19 18:32       ` Lennart Borgman
2006-05-19 19:38         ` Eli Zaretskii
2006-05-19 20:17           ` Lennart Borgman
2006-05-19 22:48             ` Eli Zaretskii
2006-05-19 22:59               ` Lennart Borgman [this message]
2006-05-20  9:07                 ` Eli Zaretskii

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=446E4DEC.8080309@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    /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.