|From:||Lennart Borgman (gmail)|
|Subject:||Re: w32 issues|
|Date:||Wed, 23 Jan 2008 03:29:34 +0100|
|User-agent:||Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:220.127.116.11) Gecko/20071031 Thunderbird/18.104.22.168 Mnenhy/0.7.5.666|
Jason Rumney wrote:
Eli Zaretskii wrote:Perhaps the only thing we should do is disable the default value of printer-name set by lpr.el.I've done that, which should improve things for users of SMB networked printers, as well as avoiding the lockup for users who do not have a printer configured on an LPT port.Edge cases do still exist though. Someone may have a printer configured on LPT1, but it is switched off or disconnected. They will still experience the lockup. Also printing to IPP networked (and I presume other connections that present fake port names, like USB) printer results in a file being created in C:/, perhaps we can catch this in direct-print-region-function by checking if printer-name starts with "IP_" or "USB", and give a warning that the user will need to use an external application to print to that printer.
Would it not help to use StartDoc etc (or whatever they are called) and send data to the printer like in the little c program Vinicius pointed to?
If Dhuvra finishes his helper application, we could configure that as the default print application, since it will give the ability to print on USB and non-SMB networked printers as well as any printers that do not accept plain text over the wire.
I thought dhruva wanted to add printing to Emacs itself (using the GDI API:s).
|[Prev in Thread]||Current Thread||[Next in Thread]|