Two issues(?), with default_margins and output_PNG

RWAP
Site Admin
Posts: 405
Joined: Wed Sep 13, 2017 9:20 pm
Location: Oswestry, Shropshire
Contact:

Re: Two issues(?), with default_margins and output_PNG

Post by RWAP »

The ./retroprinter-restart.sh will report a mixed bag of messages - part of the code looks to see if you have you a USB-RTC module attached.

Not sure why the timeout does not seem to work - it is working here (and there are no changes). Odd.
Retro-Printer Specialists
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module

Also Involved in:
Icephorm
keenerb
Posts: 23
Joined: Sun Sep 10, 2023 12:34 am

Re: Two issues(?), with default_margins and output_PNG

Post by keenerb »

Yeah I've done a bit more troubleshooting. Printing from every application and multiple computers seems to be fine, and they start processing after the four second timeout so that DOES seem to be working properly.

PRINTSCREEN from all tested machines makes the green LED flash, but nothing is output to RAW/PNG/PDF folder and the orange LED never blinks.

If I print something after hitting PRINTSCREEN, the PRINTSCREEN output is appended to the beginning of the printout so it's definitely being received and held in some buffer somewhere.

I'll tinker with the offline_switch and see if I can just force it to output after printscreen is hit. In any case it's pretty much 99.999% working, and the png output and the default margin values of 0 are no longer causing any problems, so those look fixed.
RWAP
Site Admin
Posts: 405
Joined: Wed Sep 13, 2017 9:20 pm
Location: Oswestry, Shropshire
Contact:

Re: Two issues(?), with default_margins and output_PNG

Post by RWAP »

I guess the print screen function might depend on what it is sending - is it displayed correctly when it dies get appended?

Maybe attach the raw file or email it to me to check the raw file for print screen. If not in the home pi folder try the /tmp folder
Retro-Printer Specialists
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module

Also Involved in:
Icephorm
keenerb
Posts: 23
Joined: Sun Sep 10, 2023 12:34 am

Re: Two issues(?), with default_margins and output_PNG

Post by keenerb »

A raw file is created but remains 0 bytes after prtscreen:
-rw-r--r-- 1 root root 0 May 2 12:39 32.raw


root@retro-printer:/tmp# cat 32.raw
root@retro-printer:/tmp#

I opened MSDOS edit.com, typed in "THIS IS A TEST TEXT FILE PRINT" and selected File/Print, and it printed out the print screen text and the test text file print in one PNG/PDF.
32.raw
(2.04 KiB) Downloaded 7 times
I see a ÿ in the text file that is not visible on the computer screen.
RWAP
Site Admin
Posts: 405
Joined: Wed Sep 13, 2017 9:20 pm
Location: Oswestry, Shropshire
Contact:

Re: Two issues(?), with default_margins and output_PNG

Post by RWAP »

OK - that is interesting - the raw file starts

$0D, $0A (Carriage Return, Line Feed)
$FF (no idea what this is supposed to do!)
Then 80 spaces
$0D, $0A (Carriage Return, Line Feed)
Packet driver for a 3c509, version 11.6

(I assume this is the start of the screen dump)

I need to check the Epson programming manual as to what character code 255 is supposed to do (if anything) - you may need to use bit_depth set to 7.
Retro-Printer Specialists
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module

Also Involved in:
Icephorm
Post Reply