• tomiant@piefed.social
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    13 days ago

    When you are saving it as a .txt file, you are printing it as a .txt file, the computer sees no difference.

    • jaybone@lemmy.zip
      link
      fedilink
      English
      arrow-up
      4
      ·
      13 days ago

      I haven’t looked at the printer driver interface on various different operating systens, but I imagine programmatically you don’t write ACSII text directly to it, the way you would with file io calls. Though on Linux you have “lpr” where you can pipe text directly to the command. It’s possible a printer could natively support this, but clearly it would be a different interface to render anything more complex than ascii text.