title: How do I print to thermal network printers in flutter?
body: <p>I'm looking for ways to print to a thermal network printer in flutter.
  I have found some great plugins, but it seems they all print to a printer that has itself an IP address, not one that is connected to a computer and shared on the network, like \\server\printer1, for instance.
  My printer does not have network hardware, it is connected to a computer running Windows, via USB.</p>
  <p>Is there a plugin or technique that allows connection to a printer like that, or am I using the plugin incorrectly?
  Or is there a way to give a shared printer its own IP address?</p>
  <p>As an example, here is what I've tried so far, using the plugin esc_pos_printer</p>
  <pre><code>  final PosPrintResult res = await printer.connect('192.168.29.94', port: 9100);
    // and also used the IP and shared name of the printer 
    final PosPrintResult res = await printer.connect('\\\\192.168.29.94\\MP-4200 TH', port: 9100);
  </code></pre>
  <p>I always get the error : &quot;Error. Printer connection timeout&quot;</p>
  <p>Thanks for any help.</p>