Evidlo / remarkable_printer

Native printing to reMarkable.
GNU General Public License v3.0
261 stars 21 forks source link

need to reboot remarkable to see printed. #30

Closed piforce closed 2 years ago

piforce commented 3 years ago

I have version 2.7.0.51 with ddvk hacks and with toltec installed koreader and remux When printing to the remarkable the file doesn't show up in the list. When I restart the device the file printed appears.

Evidlo commented 3 years ago

The service is supposed to restart the device automatically after the upload is complete.

Can you show your logs?

On June 20, 2021 4:10:48 AM CDT, piforce @.***> wrote:

I have version 2.7.0.51 with ddvk hacks. When printing to the remarkable the file doesn't show up in the list. When I restart the device the file printed appears.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/Evidlo/remarkable_printer/issues/30

piforce commented 3 years ago

I have to look how to do logs. It works now because I did by accident a system update to 2.7.153 but now remux/toltec wont work. So it is something with that.

Evidlo commented 3 years ago

https://github.com/Evidlo/remarkable_printer#debugging

piforce commented 3 years ago

Now I have the problem again. Installed, remux, koreader, ddvk hacks on version 2.8.0.98. I have to restart the device to see the printed documents. It doesn't make difference if i print with cups or directly with the pdf printer. When I had only koreader en ddvk hacks it just worked. Before I had koreader installed with the dirtyhack of ddvk and not by toltec.

log reMarkable: ~/ journalctl --unit printer -f -- Logs begin at Wed 2021-08-11 10:31:51 CEST. -- Aug 11 10:31:54 reMarkable systemd[1]: Started Native printing to reMarkable. Aug 11 10:31:54 reMarkable printer.arm[186]: Debugging enabled Aug 11 10:31:54 reMarkable printer.arm[186]: Listening on 0.0.0.0:9100 Aug 11 10:35:54 reMarkable printer.arm[186]: Saving PDF to: /home/root/.local/share/remarkable/xochitl/822451d1-a983-4b63-8744-5d3ed6498075.pdf Aug 11 10:35:55 reMarkable printer.arm[186]: %PDF-1.7 Aug 11 10:35:55 reMarkable printer.arm[186]: PDF begin Aug 11 10:35:55 reMarkable printer.arm[186]: Saving metadata to /home/root/.local/share/remarkable/xochitl/822451d1-a983-4b63-8744-5d3ed6498075.metadata Aug 11 10:35:55 reMarkable printer.arm[186]: Saving content file to /home/root/.local/share/remarkable/xochitl/822451d1-a983-4b63-8744-5d3ed6498075.content

piforce commented 3 years ago

When I disable remux it the printerfunction works again. When remux enabled it goes wrong.

Evidlo commented 3 years ago

There is supposed to be some debug lines in the log about restarting xochitl.

Since those aren't getting printed, maybe check /etc/systemd/system/printer.service and make sure the -restart option is present. It should be there already, though.

piforce commented 3 years ago

Restart is present. The strange thing is when I disable remux it works see log. At9:06 is with remux disabled. The printer job from 9:08 is with remux enabled.

reMarkable: ~/ journalctl --unit printer -f
-- Logs begin at Thu 2021-08-12 09:05:07 CEST. --
Aug 12 09:06:03 reMarkable printer.arm[187]: @PJL SET MANUALDUPLEX=OFF
Aug 12 09:06:03 reMarkable printer.arm[187]: @PJL SET MANUALFEED=OFF
Aug 12 09:06:03 reMarkable printer.arm[187]: @PJL SET OVERRIDEA4WITHLETTER=YES
Aug 12 09:06:03 reMarkable printer.arm[187]: @PJL SET RET=NOTSET
Aug 12 09:06:03 reMarkable printer.arm[187]: @PJL ENTER LANGUAGE = PDF
Aug 12 09:06:03 reMarkable printer.arm[187]: %PDF-1.7
Aug 12 09:06:03 reMarkable printer.arm[187]: PDF begin
Aug 12 09:06:03 reMarkable printer.arm[187]: Saving metadata to /home/root/.loca                        l/share/remarkable/xochitl/0343d665-29c5-464e-a523-4597a6577d10.metadata
Aug 12 09:06:03 reMarkable printer.arm[187]: Saving content file to /home/root/.                        local/share/remarkable/xochitl/0343d665-29c5-464e-a523-4597a6577d10.content
Aug 12 09:06:03 reMarkable printer.arm[187]: Restarting xochitl

Aug 12 09:08:12 reMarkable printer.arm[187]: Saving PDF to: /home/root/.local/sh                        are/remarkable/xochitl/8204382a-ef48-41c2-9bc5-a813bdfa9b33.pdf
Aug 12 09:08:12 reMarkable printer.arm[187]: [13B blob data]
Aug 12 09:08:12 reMarkable printer.arm[187]: @PJL JOB NAME = "remarkable_printer                        " DISPLAY = "311 WOONKAMERNUC\thuis pc woonka"
Aug 12 09:08:12 reMarkable printer.arm[187]: Setting title to: remarkable_printe                        r
Aug 12 09:08:12 reMarkable printer.arm[187]: @PJL SET USERNAME = "WOONKAMERNUC\t                        huis pc woonkamer"
Aug 12 09:08:12 reMarkable printer.arm[187]: @PJL SET DUPLEX=OFF
Aug 12 09:08:12 reMarkable printer.arm[187]: @PJL SET PAPER=A4
Aug 12 09:08:12 reMarkable printer.arm[187]: @PJL SET RESOLUTION=600
Aug 12 09:08:12 reMarkable printer.arm[187]: @PJL SET BORDERLESS=ON
Aug 12 09:08:12 reMarkable printer.arm[187]: @PJL SET EDGETOEDGE=YES
Aug 12 09:08:12 reMarkable printer.arm[187]: @PJL SET JOBOFFSET=ON
Aug 12 09:08:12 reMarkable printer.arm[187]: @PJL SET LOWSUPPLIES=CONTINUE
Aug 12 09:08:12 reMarkable printer.arm[187]: @PJL SET MANUALDUPLEX=OFF
Aug 12 09:08:12 reMarkable printer.arm[187]: @PJL SET MANUALFEED=OFF
Aug 12 09:08:12 reMarkable printer.arm[187]: @PJL SET OVERRIDEA4WITHLETTER=YES
Aug 12 09:08:12 reMarkable printer.arm[187]: @PJL SET RET=NOTSET
Aug 12 09:08:12 reMarkable printer.arm[187]: @PJL ENTER LANGUAGE = PDF
Aug 12 09:08:12 reMarkable printer.arm[187]: %PDF-1.7
Aug 12 09:08:12 reMarkable printer.arm[187]: PDF begin
Aug 12 09:08:12 reMarkable printer.arm[187]: Saving metadata to /home/root/.loca                        l/share/remarkable/xochitl/8204382a-ef48-41c2-9bc5-a813bdfa9b33.metadata
Aug 12 09:08:12 reMarkable printer.arm[187]: Saving content file to /home/root/.                        local/share/remarkable/xochitl/8204382a-ef48-41c2-9bc5-a813bdfa9b33.content
nylki commented 2 years ago

Same issue here, also using launcher remux on the device.

Evidlo commented 2 years ago

https://github.com/Evidlo/remarkable_printer/issues/19