unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.50; ps-print-buffer-with-faces hangs on w32
Date: Thu, 10 Jan 2008 14:36:51 +0000	[thread overview]
Message-ID: <47862D83.3030709@gnu.org> (raw)
In-Reply-To: <47850C39.5060905@gmail.com>

Lennart Borgman (gmail) wrote:
>>
>> What exactly does this mean?
>>
>> Does any Emacs variable have the value "C:\\PRN"?
>
> The variable `printer' above.
I don't have a variable `printer', is this from an external package you 
have installed?
I do have a variable `printer-name', but it's default value on Windows 
is the device name "PRN", not "C:\\PRN" (which though it looks like a 
file name will still refer to the PRN device under some circumstances in 
Windows, but I'm not sure Windows is consistent about this, and in some 
cases may actually refer to the file, especially if the printer driver 
for your default printer does not expose a standard character device).

>
>> What is a "Windows printer"?
>
> I forgot what these printers are called. It seems like they are called 
> "GDI printers" or "winprinters".
Calling them winprinters suggests that there is something that makes 
them a win over other more functional printers. Really the printer 
hardware is not the issue, often the printer will be better supported by 
Free Software like CUPS than by the manufacturers own Windows drivers, 
so calling them Windows printers is also misleading. What you really 
mean is that the Windows printer drivers that the manufacturer has 
supplied are limited to supporting only GDI based printing, as they do 
not expose a character device (and are connected via USB, so the COM or 
PAR character devices are not automatically available) that could be 
used to print directly to the printer in text mode or whatever command 
language(s) that the printer supports natively (eg Postscript, PCL or 
ESC/P). This problem can often be worked around by sharing the printer 
from Windows, and setting the printer-name within Emacs to the network 
share path of the printer (eg "//localhost/printer").

But it is unlikely that a printer with such limited drivers supports 
Postscript natively, so to use the ps-print commands, you'll need to set 
up a software postscript interpreter such as Ghostscript anyway.

  parent reply	other threads:[~2008-01-10 14:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-09 16:20 23.0.50; ps-print-buffer-with-faces hangs on w32 Lennart Borgman (gmail)
2008-01-09 17:09 ` Jason Rumney
2008-01-09 18:09   ` Lennart Borgman (gmail)
2008-01-09 19:12     ` Eli Zaretskii
2008-01-09 19:16       ` Lennart Borgman (gmail)
2008-01-10  4:09         ` Eli Zaretskii
2008-01-10  7:57           ` Lennart Borgman (gmail)
2008-01-09 18:24 ` Vinicius Jose Latorre
2008-01-09 18:02   ` Lennart Borgman (gmail)
2008-01-09 20:14     ` Vinicius Jose Latorre
2008-01-10 14:36     ` Jason Rumney [this message]
2008-01-10 16:11       ` Lennart Borgman (gmail)
2008-01-11 10:28         ` Eli Zaretskii
2008-01-11 10:47           ` Jason Rumney
2008-01-11 10:59             ` Eli Zaretskii
2008-01-11 11:29               ` Lennart Borgman (gmail)
2008-01-11 12:50               ` Vinicius Jose Latorre
2008-01-11 15:29                 ` Eli Zaretskii
2008-01-14 15:42                   ` Vinicius Jose Latorre
2008-01-14 20:32                     ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=47862D83.3030709@gnu.org \
    --to=jasonr@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=lennart.borgman@gmail.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 public inbox

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

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