{"id":31529785,"url":"https://github.com/evidlo/remarkable_printer","last_synced_at":"2025-10-04T01:14:39.931Z","repository":{"id":48826232,"uuid":"246491432","full_name":"Evidlo/remarkable_printer","owner":"Evidlo","description":"Native printing to reMarkable.","archived":false,"fork":false,"pushed_at":"2025-02-19T20:45:55.000Z","size":781,"stargazers_count":279,"open_issues_count":6,"forks_count":21,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-11T04:32:01.807Z","etag":null,"topics":["remarkable-tablet"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Evidlo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-11T06:22:06.000Z","updated_at":"2025-04-18T06:39:51.000Z","dependencies_parsed_at":"2023-11-20T21:29:03.359Z","dependency_job_id":"0faecdb0-fabd-48cc-beef-754dacfad3fa","html_url":"https://github.com/Evidlo/remarkable_printer","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/Evidlo/remarkable_printer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evidlo%2Fremarkable_printer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evidlo%2Fremarkable_printer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evidlo%2Fremarkable_printer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evidlo%2Fremarkable_printer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Evidlo","download_url":"https://codeload.github.com/Evidlo/remarkable_printer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Evidlo%2Fremarkable_printer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278251533,"owners_count":25956109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["remarkable-tablet"],"created_at":"2025-10-04T01:14:34.670Z","updated_at":"2025-10-04T01:14:39.925Z","avatar_url":"https://github.com/Evidlo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remarkable_printer\n\nPrint natively to your reMarkable wirelessly with no extensions or reMarkable cloud.\n\n![](img.jpg)\n\n## Quick Start\n\nConnect the reMarkable via USB and make sure it has internet access.\n\nConnect to the reMarkable with [SSH](https://remarkable.guide/guide/access/ssh.html) and execute\n\n    wget -O - http://evidlo.github.io/remarkable_printer/install.sh | sh\n    \nThen configure your OS to print to the reMarkable, shown below.\n    \n## Adding the reMarkable as a printer\n\n#### Linux/OSX (easy)\n\n    make install_config host=10.11.99.1\n\n#### Linux (manual)\n\nWe will add the reMarkable as an Appsocket/JetDirect printer and use the PDF printer driver.\n\n    $ sudo system-config-printer\n    # Add \u003e Network Printer \u003e AppSocket/HP JetDirect\n    # Enter the address/hostname of the device (10.11.99.1 for USB connected device)\n    # Forward \u003e Generic \u003e Forward \u003e PDF \u003e Forward\n    # Set the printer name and save\n    \nYou may need to install system-config-printer first.\n    \n#### OSX (manual)\n\nSee [Add a network printer by its IP address](https://support.apple.com/guide/mac-help/add-a-printer-on-mac-mh14004/mac).  Use `10.11.99.1` for the address and `HP Jetdirect` for the protocol.\n\n#### Windows (manual)\n\nSee [here](https://github.com/Evidlo/remarkable_printer/wiki/Windows-Setup)\n\n#### Caveats\n\nNo authentication, so keep WiFi off while not in use.\n\n## How it works\n\nVirtually all network printers accept raw Postscript/PDF data on TCP port 9100 via the Appsocket/HP Jetdirect protocol.  Sometimes this data is preceded by a few plaintext lines telling the printer information such as the print job name and print settings.\n\nThis setup simply listens on TCP 9100 and upon data sent waits for a PDF header, then begins saving data to a pdf file (while also creating the accompanying .metadata file) and then exits again, waiting for the next connection on the port to repeat the procedure.  The output filename is extracted from the print job name line, if it exists.\n\n## Testing on host\n\n    $ make printer.x86\n    $ ./printer.x86 -h\n    Usage of ./printer.x86:\n      -debug\n            enable debug output\n      -host string\n            override bind address (default \"0.0.0.0\")\n      -port string\n            override bind port (default \"9100\")\n      -restart\n            restart xochitl after saving PDF\n      -test\n            use /tmp as output dir\n\n## Debugging\n\nOn the reMarkable (via [SSH](https://remarkablewiki.com/tech/ssh))\n\n    journalctl --unit printer -f\n    \nThen try to print a document.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevidlo%2Fremarkable_printer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevidlo%2Fremarkable_printer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevidlo%2Fremarkable_printer/lists"}