<div dir="ltr">I made a bug report (enhancement) :)<br><br><a href="https://bugs.winehq.org/show_bug.cgi?id=39056">https://bugs.winehq.org/show_bug.cgi?id=39056</a><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 7, 2015 at 4:31 AM, Martin Gregorie <span dir="ltr"><<a href="mailto:martin@gregorie.org" target="_blank">martin@gregorie.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, 2015-08-07 at 00:57 -0300, HugLeo wrote:<br>
> I'm have a remote printer installed in the cups. I shared the printer<br>
> and<br>
> it prints OK using the wine notepad.<br>
> But I have a old application that prints only if have direct access<br>
> to a<br>
> lpt1 named port.<br>
> We can test executing the program wine start.exe and run the command:<br>
> echo 'test' > lpt1 that returns:<br>
> File not found<br>
> I tried to create the rule<br>
> [HKEY_CURRENT_USER\Software\Wine\Printing\Spooler]<br>
> "LPT1:"="|lpr"<br>
> But echo 'test' > lpt1 still returns File not found<br>
> I'm wondering if it's possible to create a LPT1: port and echoing to<br>
> lpr<br>
> Does anyone know if it is possible?<br>
><br>
<br>
</div></div>No guarantees but you *might* be able to print directly if your PC has<br>
a parallel port and the printer is connected to it. Then, at a minimum,<br>
you'd need to to alias the printer (probably its /dev/lp0) as LPT1: by<br>
adding a symlink ("ln -s /dev/lp0 LPT1:") and change its access<br>
permissions so the user that is running Wine has read and write<br>
permissions for the device file (/dev/lp0 or whatever your PC calls<br>
it.).<br>
<br>
IOW that program is expecting to use its own printer driver (or one in<br>
a Windows library) to talk directly to a parallel interface chip that<br>
Windows addresses as LPT1. I've done this successfully for serial ports<br>
but haven't tried it for a printer.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Martin<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>