<div dir="ltr"><div><div><div>Hi, sorry for the late post.<br></div>App is Web based and javascript generates the print file.<br></div>I ended up using an old approach which worked perfectly: installed printer on printserver, shared it on the network (Windows environment) and used the following command -&gt; <br>
NET USE LPT1 \\<a href="http://server.domain.com">server.domain.com</a>\shared_printer<br><br></div>Sometimes, simple is better. I tend to complicate things a bit ;-)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 8, 2015 at 12:10 PM, Michael Trausch <span dir="ltr">&lt;<a href="mailto:mike@trausch.us" target="_blank">mike@trausch.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Indeed. I was not corrected by OP on the OS, though. If coming from DOS, of course, it gets both simpler and more difficult (depending on just about everything.)<br><br>Sent from my iPhone</div><div><div class="h5"><div><br>On Jun 8, 2015, at 11:28 AM, Chris Fowler &lt;<a href="mailto:cfowler@outpostsentinel.com" target="_blank">cfowler@outpostsentinel.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000"><div>Is this a DOS app or Linux?  OP said &#39;LPT1&#39;.  </div><div><br></div><div><br></div><div><br></div><hr><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><b>From: </b>&quot;Michael Trausch&quot; &lt;<a href="mailto:mike@trausch.us" target="_blank">mike@trausch.us</a>&gt;<br><b>To: </b>&quot;Atlanta Linux Enthusiasts&quot; &lt;<a href="mailto:ale@ale.org" target="_blank">ale@ale.org</a>&gt;<br><b>Sent: </b>Saturday, May 30, 2015 2:56:58 PM<br><b>Subject: </b>Re: [ale] LPT1 to Bluetooth<br><div><br></div>Either look at the source or use strace. Find the fd used as /dev/lp0 (available at runtime in /proc/$PID/fd) and see what system calls are performed on it using grep on the strace output.<br><div><br></div>If ioctl appears, you&#39;ll need the shim. Otherwise a symlink will do, if only open/close/read/write and related system calls are used. <br><div><br></div>If you need more detailed support or need to outsource the task, it&#39;d be possible to contract myself or another experienced individual or business to help you. The time required to assess will be determined by the design of the application. However most of the time you&#39;ll only see the ioctls at initial open and configuration of the device unless the app reconfigures it dynamically at runtime. <br><div><br></div>Sent from my iPhone<br><div><br></div>&gt; On May 30, 2015, at 9:05 AM, Sergio Chaves &lt;<a href="mailto:sergio.chaves@gmail.com" target="_blank">sergio.chaves@gmail.com</a>&gt; wrote:<br>&gt; <br>&gt; Yes and No is a 50/50 chance!<br>&gt; I am a little, no - a lot , ignorant on this topic. How can I verify if the app requires &quot;ioctl&quot; or a data stream?<br><div><br></div>_______________________________________________<br>Ale mailing list<br><a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br><a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>See JOBS, ANNOUNCE and SCHOOLS lists at<br><a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br></blockquote><div><br></div></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Ale mailing list</span><br><span><a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a></span><br><span><a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a></span><br><span>See JOBS, ANNOUNCE and SCHOOLS lists at</span><br><span><a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a></span><br></div></blockquote></div></div></div><br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br></div>