[ale] LPT1 to Bluetooth

Sergio Chaves sergio.chaves at gmail.com
Wed Jun 10 20:05:27 EDT 2015


Hi, sorry for the late post.
App is Web based and javascript generates the print file.
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 ->
NET USE LPT1 \\server.domain.com\shared_printer

Sometimes, simple is better. I tend to complicate things a bit ;-)

On Mon, Jun 8, 2015 at 12:10 PM, Michael Trausch <mike at trausch.us> wrote:

> 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.)
>
> Sent from my iPhone
>
> On Jun 8, 2015, at 11:28 AM, Chris Fowler <cfowler at outpostsentinel.com>
> wrote:
>
> Is this a DOS app or Linux?  OP said 'LPT1'.
>
>
>
> ------------------------------
>
> *From: *"Michael Trausch" <mike at trausch.us>
> *To: *"Atlanta Linux Enthusiasts" <ale at ale.org>
> *Sent: *Saturday, May 30, 2015 2:56:58 PM
> *Subject: *Re: [ale] LPT1 to Bluetooth
>
> 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.
>
> If ioctl appears, you'll need the shim. Otherwise a symlink will do, if
> only open/close/read/write and related system calls are used.
>
> If you need more detailed support or need to outsource the task, it'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'll only see the ioctls at
> initial open and configuration of the device unless the app reconfigures it
> dynamically at runtime.
>
> Sent from my iPhone
>
> > On May 30, 2015, at 9:05 AM, Sergio Chaves <sergio.chaves at gmail.com>
> wrote:
> >
> > Yes and No is a 50/50 chance!
> > I am a little, no - a lot , ignorant on this topic. How can I verify if
> the app requires "ioctl" or a data stream?
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20150610/16d63331/attachment.html>


More information about the Ale mailing list