Note that there are some explanatory texts on larger screens.

plurals
  1. POPrinting directly to Ethernet printer using 'raster mode': need basic guidance
    text
    copied!<p>I've stumbled across a problem <em>way</em> beyond my area of expertise, and I don't have a mentor to turn to for help with this.</p> <p>I have a receipt printer I need to interface with through an iOS app. The printer is located on the same network as the device(s), so I can address it through supported "Line Mode commands"</p> <p>What I'd like to do is keep the code I have already that works cross-platform – i.e. it's a UIView/NSView, and if you're not familiar with OS X/iOS, it's just a standard vanilla view that I can render into PDF/PNG formats. Thankfully, the printer has a "raster graphics" mode that seems to be what I need.</p> <p>Unfortunately, be it the broken English of the command spec, or my complete lack of knowledge of anything beyond basic C, or my complete lack of knowledge regarding graphics, I have no idea how to even get started from the command specifications I have. I know the printer and my networking <em>works</em> because I can address it over the network and send it basic feed commands. But, I have no idea how to go from a PNG -> whatever the printer needs to make it's 'raster mode' work.</p> <p>The specification is available at <a href="http://www.star-m.jp/eng/service/usermanual/linemode_cm_en.pdf" rel="noreferrer">http://www.star-m.jp/eng/service/usermanual/linemode_cm_en.pdf</a> , and the page you'd want to start reading it if you want to help is 3-68, and the specific commands I'm having trouble even getting started with are on 3-78/3-79.</p> <p>I can give you nothing but a checkmark but I assure you, you'll have my undying gratitude if you can even provide me even a point in the right direction.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload