{"id":19415993,"url":"https://github.com/johniez/remarkable_print_server","last_synced_at":"2025-02-25T03:15:17.793Z","repository":{"id":83854946,"uuid":"323461659","full_name":"johniez/remarkable_print_server","owner":"johniez","description":"Remarkable print server allowing to receive PDF just by using network printer.","archived":false,"fork":false,"pushed_at":"2021-06-05T19:26:02.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-07T16:27:56.848Z","etag":null,"topics":["remarkable","remarkable-tablet"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johniez.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}},"created_at":"2020-12-21T22:25:52.000Z","updated_at":"2024-04-15T05:55:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c095d79-071b-4185-a6e2-968454b3471e","html_url":"https://github.com/johniez/remarkable_print_server","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johniez%2Fremarkable_print_server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johniez%2Fremarkable_print_server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johniez%2Fremarkable_print_server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johniez%2Fremarkable_print_server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johniez","download_url":"https://codeload.github.com/johniez/remarkable_print_server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240593178,"owners_count":19825939,"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","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","remarkable-tablet"],"created_at":"2024-11-10T12:45:11.299Z","updated_at":"2025-02-25T03:15:17.770Z","avatar_url":"https://github.com/johniez.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF Print server for reMarkable tablet\n\nSend PDF documents to your reMarkable tablet by printing over network.\nInspired by [Evidlo/remarkable_printer](https://github.com/Evidlo/remarkable_printer/),\nthis code is just reimplementation of Evidlo/remarkable_printer in C/C++ to keep tablet\nresources as low as possible.\n\n## Build\n\nTo build server from source, you need toolchain from remarkable.engeneering installed.\n\nFor example, you can download and install to your home directory:\n```sh\nwget https://remarkable.engineering/oecore-x86_64-cortexa9hf-neon-toolchain-zero-gravitas-1.8-23.9.2019.sh\nchmod +x oecore-x86_64-cortexa9hf-neon-toolchain-zero-gravitas-1.8-23.9.2019.sh\n./oecore-x86_64-cortexa9hf-neon-toolchain-zero-gravitas-1.8-23.9.2019.sh -d ~/rmtoolchain\n```\n\nAnd to use it (assuming you are in this repository cloned directory):\n```sh\nsource ~/rmtoolchain/environment-setup-cortexa9hf-neon-oe-linux-gnueabi\nmake\n```\n\nThe command above should set CXX variable to the toolchain compiler with arm architecture settings.\nYou can now use the binary in the tablet (after copying to it).\n\n### Local build\n\nFor easier development you can omit toolchain setup and just use `make` command to build the server\nfor your own architecture (assuming linux). Beside c++ compiler it is necessary to have `uuid-dev`\nlibrary installed (deb package on debian/ubuntu). Keep in mind that resulting binary cannot be used\nin the reMarkable device.\n\n## Installation\n\nYou need the ssh access to your device. Transfer service and binary to your device, like:\n\n```sh\nssh root@remarkable mkdir ./bin\nscp pdf-print-server root@remarkable:./bin\nscp pdf-print-server.service root@remarkable:/etc/systemd/system\n```\n\nThen run commands in your remarkable ssh shell:\n```sh\nsystemctl daemon-reload\nsystemctl enable pdf-print-server.service\nsystemctl start pdf-print-server.service\n```\n\nThat's it. Now you can see the server is listening on the specified port, by running `netstat -lt` on the remarkable shell.\n\n### Printer setup\n\nJust add a `Network Printer`/`AppSocket/HP JetDirect`, fill in IP address of your reMarkable tablet.\nAs a driver, choose `Generic`/`PDF`.\n\n[Evidlo/remarkable_printer](https://github.com/Evidlo/remarkable_printer/#linux-manual) already have\ndocumented printer settings by OS.\n\n## Security\n\n* Please keep in mind, that there is no authentication nor encryption involved. Use only in your own network.\n* Server is currently running as `root` (as everything else in the rM tablet), so it has full access to your tablet!\n* Use at own risk.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohniez%2Fremarkable_print_server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohniez%2Fremarkable_print_server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohniez%2Fremarkable_print_server/lists"}