19 comments

  • ValdikSS11 hours ago
    &gt;penguin would shrink the result to fit its screen. &gt;I declared A5 and Letter paper, media type stationery, and an output bin called face-up.<p>You can (and should!) define exact dimensions of your screen in `media-size-supported`. It will probably be a non-standard IPP name, that&#x27;s why you should define that in `media-supported` as `om_NNNmmxYYYmm` or `oe_NNNinxYYYin`<p>That way you don&#x27;t need to scale the incoming data, the PC will format it exactly to the dimensions of the screen.<p>Both PWG Raster and Apple Raster support 1-bit-per-pixel mode (instead of 8-bit-per-pixel you use), that&#x27;s why the input could be 8 times less in size. Use `print-color-mode-{supported,default}=bi-level` instead of `monochrome` for that. And also tune `urf-supported`&#x27;s `W` option, use `W1` for this case.<p>The screen&#x2F;dithering could be ass in 1-bit mode, see <a href="https:&#x2F;&#x2F;github.com&#x2F;OpenPrinting&#x2F;libcupsfilters&#x2F;pull&#x2F;160" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;OpenPrinting&#x2F;libcupsfilters&#x2F;pull&#x2F;160</a> where I added more dithering options (Linux-only though, Apple seems to abandon their CUPS).
    • Neywiny11 hours ago
      This is why I like it here. Somebody does irrefutably incredible work outside of their comfort zone, and somebody else goes &quot;yeah actually I was born in that zone. Moulded by it. Here&#x27;s how to improve it&quot; (in a positive way)
      • ValdikSS10 hours ago
        Oh no, I wasn&#x27;t, and that&#x27;s definitely not my comfort zone. I mess with the printers and printing stack due to anger, not because I like it.<p>It&#x27;s bugs on bugs, with bugs chasing bugs! So little developers, so complex stack with 25 years of technical debt, and little community around because it&#x27;s not a sexy technology to be involved in.<p>That&#x27;s why I have to dive deep and fix my bugs myself if I want to make it work properly as I would like it to. I also ended up making my own print server device, because China did not make a proper one for some reason for all these years.
        • lopis6 hours ago
          Anger is the only valid emotion when dealing with printers.
          • TheMiller8 minutes ago
            This thread made me laugh. I worked on network printing software in Banyan VINES a century or two ago, and my wife always wondered why I hated printing software so much. Everything about the printing software stack, especially in Windows, is terrible.
          • actionfromafar2 hours ago
            PC Load Letter?
        • Neywiny2 hours ago
          Hey sadly this stuff doesn&#x27;t ask for consent when it makes you an expert. Everybody hates printers, only a few make their own print server device
        • edoceo8 hours ago
          That&#x27;s even cooler
          • quijoteuniv6 hours ago
            Same feeling when family or friends ask me for help with Micros word about formatting, tables or inserting pictures in the last 25 years….
    • cat-whisperer11 hours ago
      lovely, this would save me a bunch of memory during transformation and dithering. Will do!
    • darkvision775 hours ago
      &gt; Use `print-color-mode-{supported,default}=bi-level` instead of `monochrome` for that<p>The last time I checked (a year ago), 1bpp was suddenly supported only by Windows. IIRC, monochrome is REQUIRED, while bi-level is OPTIONAL in RFC.<p>Not sure how things stand now, though. Ever since then, I&#x27;ve just been carrying Floyd–Steinberg dithering around.
  • alternativeworl10 hours ago
    Very cool. I was expecting to learn about the ins and outs of ink, printheads etc but instead learned &quot;How to build a paper that acts like a printer&quot; which turned out much more entertaining.
    • a3w3 hours ago
      Wanted ideas on how to build an ink printer that is untraceable. For privacy reasons.
      • NooneAtAll31 hour ago
        I wonder why we don&#x27;t see slow-but-actually-works approaches that reuse 3d-printer hardware<p>just put a pen or sharpie on the same mechanism, no?
        • amoshebb1 hour ago
          This is called a &#x27;plotter&#x27;, there&#x27;s a whole community of axi-draw enthusiasts making cool art, for 200 bones you can probably have one on your doorstep tomorrow
    • cat-whisperer10 hours ago
      glad you liked it!
  • pimterry4 hours ago
    This would be a neat API for a digital photo frame - just print photos to it and they appear on the screen.
    • spwa41 hour ago
      And then maybe different pages become a slideshow.
    • cat-whisperer4 hours ago
      yes!!
  • tapia7 hours ago
    In Linux it&#x27;s pretty easy to create such things with cups. A while ago I did a cups backend for my Fujitsu Quaderno A4 [1]. It is super useful to be able to just open any document, in any program that supports printing, and then just &quot;print&quot; it to my device.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;cristobaltapia&#x2F;dpt-rp1-cups" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cristobaltapia&#x2F;dpt-rp1-cups</a>
    • IdiotSavage7 hours ago
      &gt; any program that supports printing<p>Unfortunately printing support seems to go out of fashion, at least in macOS land.<p>Lately I needed a quick printout of a markdown document. I could have used TextEdit for the raw text, but I wanted the styling too. Learned that neither VSCode, Xcode nor Obsidian can print. (There is a community plugin for Obsidian.)
      • rrr_oh_man6 hours ago
        LOL. TIL you can’t print from VSCode.
        • maybewhenthesun5 hours ago
          printing has never really been a thing from text editors I think.<p>Used to be that printing a text file was just `cat myfile.txt &gt; &#x2F;dev&#x2F;lp0` .<p>It has been a while since I printed a plain text file, but I guess there&#x27;s still a similar command available with some research.
          • geocar38 minutes ago
            &gt; printing has never really been a thing from text editors I think.<p>It&#x27;s always been a thing: We programmed on paper before we had screen editors, and so early screen editors have always had a way to murder trees on demand:<p>In vi it&#x27;s :ha<p>In emacs it&#x27;s M-x print-buffer<p>&gt; It has been a while since I printed a plain text file, but I guess there&#x27;s still a similar command available with some research.<p>`lp myfile.txt`<p>I still prefer using hardcopy for reading&#x2F;debugging.
          • namibj1 hour ago
            I think back in the days before office workers that happened to do their work on a computer had access to the ancient relatives of &quot;Microsoft Word&quot;&#x2F;&quot;Libreoffice Writer&quot;, it was pretty normal for printers to take care of plain text files, with about as much fidelity as manual operation of a classic purely mechanical Typewriter.<p>Since then printers progressively forgot how to cope with such &quot;documents&quot;, though IIRC good-old HP &quot;PCL&quot; should only require about a bare minimum of framing&#x2F;job control to get a modern printer to handle ASCII plain text.
          • NooneAtAll324 minutes ago
            &gt; printing has never really been a thing from text editors I think.<p>there&#x27;s literally ctrl+p shortcut for printing
          • IdiotSavage3 hours ago
            TextEdit.app supports printing, so does Notepad.exe (unless they removed that recently).
          • voidUpdate4 hours ago
            I&#x27;ve done the same from a raspberry pi to a receipt printer, just piping to lp0
          • ptman2 hours ago
            vim&#x2F;nvim at least have :print
        • simonjgreen6 hours ago
          Or Obsidian
  • kitd5 hours ago
    Good article.<p>One of the great things about having an open platform like the Xteink is that it should uncover loads of novel and unsatisfied use cases. Eg, this could be paired with a mobile phone to act as a secondary display much better suited to outdoor applications in bright sunlight.
    • utopiah2 hours ago
      working on an daily life ePub generator (because I want to stick to CrossPoint) with the opposite goal, namely use the phone as little as possible, but I admit I would also like to tinker with an additional temporary display, at least for typing
  • yeasin-arafat4 hours ago
    Emulating a network printer to send pages to an e-ink screen is such a clever hack. Every OS already has the print dialog built in.
    • conorcleary2 hours ago
      Just like print-to-pdf is (one of many) peeves of adobe&#x27;s
  • ks204812 hours ago
    Good job, but I’m left wanting to know how to build a printer.
    • tdeck9 hours ago
      If a DIY plotter would do, this site has a long list of different projects<p><a href="https:&#x2F;&#x2F;mattwidmann.net&#x2F;notes&#x2F;pen-plotters&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mattwidmann.net&#x2F;notes&#x2F;pen-plotters&#x2F;</a>
      • voxelghost6 hours ago
        What if I want a cabinet sized rotating head printer that can print carbonpaper triplets, sounds a machinegun, and has LP0 ON FIRE error message
    • jfsebastian2 hours ago
      As far as I can remember, framework has this still on their schedule. So sooner or later you maybe can at least have a well maintainable one.
    • cat-whisperer12 hours ago
      I&#x27;d say it&#x27;s an eco-friendly printer
    • d--b7 hours ago
      There is an open source one <a href="https:&#x2F;&#x2F;www.opentools.studio" rel="nofollow">https:&#x2F;&#x2F;www.opentools.studio</a>
      • zxexz5 hours ago
        How is that open source? There’s not a single line of code. No CAD. Nothing. Sure, there’s a “coming soon” CrowdSupply link, which I guess is more than a KickStarter. But open source?
        • utopiah2 hours ago
          Fair enough but I trust CrowdSupply to keep them in check. I bought quite a few projects via CS and never been disappointed. They have too much trust from the community not to follow up, it&#x27;s their most important differentiator versus KickStarter and other crowdfunding platforms.
        • d--b4 hours ago
          Ah sorry, I thought they were already open source. They say they will open source it once they finalize the design, but yeah, not there yet.
  • jiehong6 hours ago
    Pretty cool work! And it’s nice to see printer discovery works through the standard mDNS!<p>Regarding the size of the page being sent to the printer, I remember reading that printers used to be postscript interpreters and the result of that program would be the page.<p>Perhaps that would trade ram for compute, but might be more complex in the end.
  • e12e7 hours ago
    Nice. I keep wondering if these devices would play nicer with DjVu rather than pdfs and raster formats?<p><a href="https:&#x2F;&#x2F;djvu.sourceforge.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;djvu.sourceforge.net&#x2F;</a>
    • namibj1 hour ago
      For fast updates &#x2F; high frame rate, especially also smooth fade from previous to next page, those displays only do black&#x2F;white. They can typically modulate about 14 levels of gray in-between but reliably (without really bad ghosting, due to strong temperature sensitivity of the pixel&#x27;s transition response and the display being static so all gray has to be done by carefully interrupting a transition part way through) only from a nice flash-to-black -&gt; flash-to-white -&gt; fade-to-target-greyscale (sometimes one or two alternating full contrast flashes prepended to more intensely equalize the pixels&#x2F;erase ghosting, but should only be needed every couple dozen page flips in grayscale mode).<p>I think the nice b&#x2F;w no-flicker fade transitions chop the transitioning of all changing pixels into small burst&#x2F;chunks and interleave&#x2F;alternate the chunks of white-to-black with the chunks of black-to-white, so it&#x27;s perceptually simultaneous. Or it&#x27;s actually pulling off some kind of tri-state driving leaving unchanging pixels alone and pulling those that change to either plus or minus polarity depending on what transition direction they are supposed to go in... Sadly IIRC all quite proprietary-gated :(<p>What that means for djvu is that at least for text-only content on those readers that manage the 300 dpi &quot;threshold&quot; you&#x27;d just rasterize to pure 300dpi black&#x2F;white (1 bit per pixel) comparable to a 300dpi &quot;don&#x27;t skimp on toner but don&#x27;t you dare take half a second longer than you must in order to make the text crisp enough for $reader to have no good reason to whine about it being not crisp enough&quot; laser printer job.<p>Djvu is particularly for displays with more than about 5bits of grayscale as well as for lossy compression of grayscale&#x2F;color scans. And maybe also some efficiency gains on 1-bit-per-pixel quantized scans, but those aren&#x27;t usually the target content for these readers, IMO. Might want to try for them, though!
      • e12e1 hour ago
        Hm.. I just tried on my Google pixel 7 Pro (obviously very different display - OLED) - and certainly seems like the result of a test conversion pdf2djvu should be at home on an eink screen. Not sure if there&#x27;s a simple way to test on the only eink I have to hand; a Remarkable.<p>Fwiw google Gemini cane up with the following to convert pdfs on device in termux after some prodding (koreader can display DjVu):<p>You&#x27;ll need access to storage:<p>termux-setup-storage<p>Then pipe&#x2F;paste this to a script: (Sorry for the verbose slop)<p>Ed: moved to sibling comment
        • e12e51 minutes ago
          [flagged]
  • jarboot13 hours ago
    This is amazing!!! It just makes sense. And its just how you would want to use a e reader.
    • cat-whisperer13 hours ago
      if it looks like a paper, it should act like a paper
      • nomel13 hours ago
        You can even fold it, once!
  • joshmarinacci12 hours ago
    I love the concept, but I wonder why he wasn’t printing to PDF. Can this device not render PDFs?
    • ValdikSS11 hours ago
      PDF is very, very complicated standard which can&#x27;t be handled properly on tiny MCUs with reasonable performance and spec conformance:<p><pre><code> - 4 font formats - 9 image formats - blending with transparency - different colorspaces, each image could use its own on the page - different dithering algorithms, each image with its own - the page can have elements from another pages (global elements) </code></pre> This is only a small part from the top of my head.<p>Common simple home printers absolutely should not accept regular PDF as an input: thanks to Apple and IETF we now have Apple Raster and PWG Raster for printers, as a part of AirPrint and IPP Everywhere&#x2F;Mopria driverless printing standards, which are very similar but have slightly different options and headers. It&#x27;s a simple raster input for printers specifically.<p>Some companies, such as HP, invented a &quot;raster PDF&quot;: PCLm &#x2F; PCLms. Don&#x27;t be confused by the name, it&#x27;s a regular standard-conforming PDF which contain nothing but a full-page JPEG on each page, and don&#x27;t use any other features. It&#x27;s created only to be able to open &quot;printed page&quot; (driver output) in a standard PDF viewer on a PC for debugging or business logging needs, but otherwise it&#x27;s like a regular JPEG with additional per-page metadata.
      • ghostly_s11 hours ago
        This thing is an e-reader with 16GB of flash and an SD slot. It has native support for PDF.
        • cat-whisperer10 hours ago
          <a href="https:&#x2F;&#x2F;cdn.shopify.com&#x2F;s&#x2F;files&#x2F;1&#x2F;0759&#x2F;9344&#x2F;8689&#x2F;files&#x2F;X3-ENG-User-Guide.pdf?v=1775224862" rel="nofollow">https:&#x2F;&#x2F;cdn.shopify.com&#x2F;s&#x2F;files&#x2F;1&#x2F;0759&#x2F;9344&#x2F;8689&#x2F;files&#x2F;X3-EN...</a><p>check page 3. even I was surprised
          • silon426 hours ago
            First I see GIF and PNG missing.
    • cat-whisperer12 hours ago
      I was thinking of this, but rendering PDF takes a lot out of a 400KB RAM&#x27;d device. It also needs a ton of things to actually work which the ROM can&#x27;t hold.<p>Kindles have a ton of RAM, this one didn&#x27;t.
      • conorcleary2 hours ago
        I&#x27;m sure there&#x27;s a super trimmed down linux pdf reader that could be ported over
    • utopiah2 hours ago
      CrossPoint at least only support ePub and BMP so they could have printed to a directory of BMPs.
    • bluGill12 hours ago
      Probably not. It doesn&#x27;t appear to have enough ram. I&#x27;m not sure the CPU is up to that either.
  • greazy12 hours ago
    I don&#x27;t understand the purpose. What am I missing?<p>The author &quot;prints&quot; to the eink display. Why not load say the pdf directly?
    • sowbug8 hours ago
      I&#x27;ve wanted something like this for a long time to print recipes that I&#x27;m about to cook. I don&#x27;t want my phone in the kitchen getting gunk on it, so I&#x27;ll usually print on paper, get the gunk on the paper, and then throw it out.<p>I&#x27;m not going to create a recipe PDF and load it on an e-reader. That&#x27;s too much work. But I will happily press control-P on a recipe web page and select the eink display as the target.
      • greazy4 hours ago
        Right! I like this usecase very much. For uses existing software infra to perform the required task.<p>I wonder now what else we&#x27;ve reinvented when it comes to sending data...
      • cat-whisperer7 hours ago
        I am no cook, but you my friend are cooking something here
    • stdatomic12 hours ago
      From the 4th line in the article:<p>&gt; But getting stuff onto it was tedious. I had to join its hotspot and open a little upload website in my browser. Yuck.<p>Anyway, very creative, I like the idea a lot.
    • cat-whisperer12 hours ago
      &gt; I was thinking of this, but rendering PDF takes a lot out of a 400KB RAM&#x27;d device. It also needs a ton of things to actually work which the ROM can&#x27;t hold.<p>&gt; Kindles have a ton of RAM, this one didn&#x27;t.
      • ghostly_s11 hours ago
        It&#x27;s an e-reader. According to the specs it has native support for PDF.
        • mrheosuper10 hours ago
          It&#x27;s an esp32 MCU, even if it can somehow run the PDF render pipeline, it won&#x27;t be more ideal than just accept the raw byte stream and display.
    • maybewhenthesun5 hours ago
      I&#x27;d like my e-reader to show up as a printer, and when I print something on it it actually gets saved as a pdf on the reader. Like in the article, but multi-page pdf.<p>I often do &#x27;print to A5 pdf =&gt; copy pdf to e-reader&#x27;. Would be nice to do that in one step from any program that can print.
  • stavros13 hours ago
    I&#x27;ve been seeing the Xteink a lot lately. Should I get an X3 or an X4? I don&#x27;t really know why I want it, but I have an eInk addiction, so I just <i>need</i> it.
    • a2dam13 hours ago
      I&#x27;ve owned all of them and the answer is the X4 Pro IMO. It has a backlight, which is the only thing I really missed on the others.
    • cat-whisperer13 hours ago
      It&#x27;s funny that X3 is a successor of X4. Only downside is that X4 has a USB-C port and X3 doesn&#x27;t
      • stavros12 hours ago
        What about the back light? Are they otherwise identical?
        • cat-whisperer12 hours ago
          X3 isn&#x27;t backlit, but the battery lasts 7 days. So, it&#x27;s pretty good for me
    • hamaluik11 hours ago
      I bought an x4 a month or so ago, zero regrets. It sounds hyperbolic but it’s finally been the thing to actually decouple me from my phone. Whenever I’m out and about, bored, I just slide it out and pick up where I left off reading last. It’s a nicer reading experience on my kobo but the portability and.. frankly charm just can’t be beat.
  • sho_hn12 hours ago
    This is a fantastic idea!
  • Wilson20003 hours ago
    Love this!
  • NDlurker12 hours ago
    Very cool. I&#x27;ll be updating to this fork
    • cat-whisperer12 hours ago
      Thanks. It&#x27;s rough around the edges, so PRs are open, and there&#x27;s a recipe in the repo if you want to build your own apps.
  • andyfilms113 hours ago
    We finally have PADDs from Star Trek!
  • Brian_K_White14 hours ago
    Outstanding! This is so...correct.
  • phoenixtao9 hours ago
    [dead]