PRLCD with new graphical modes

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
dlachieze
Posts: 613
Joined: Thu May 04, 2017 12:20 pm
Location: France

PRLCD with new graphical modes

Post by dlachieze »

Can we print the full screen in the new DM42 200x120 and 400x240 graphical modes on the 82240A/B printer with PRLCD?
DM42: 00425 - DM41X: β00066 - WP43: 00042
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: PRLCD with new graphical modes

Post by Walter »

How about trying? ;)
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
dlachieze
Posts: 613
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: PRLCD with new graphical modes

Post by dlachieze »

I did try. It printed just a few blank lines.
DM42: 00425 - DM41X: β00066 - WP43: 00042
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: PRLCD with new graphical modes

Post by Walter »

I couldn't read that in the OP. Looks like a matter of either printer resolution or printer control to me.
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: PRLCD with new graphical modes

Post by grsbanks »

PRLCD prints the original HP-size buffer of 131x16 pixels.

There is no way to scale down to the width of a line on the printer (168 pixels, I think) from 200 or 400 pixels smoothly enough to conserve details on a 1-bit-per-pixel (not greyscale!) printer given the constraints on RAM and code size that the DM42 has to work with.
There are only 10 kinds of people in the world: those who understand binary and those who do not.
dlachieze
Posts: 613
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: PRLCD with new graphical modes

Post by dlachieze »

Thanks for the answer, I understand that a 400x240 picture is not compatible with the printer resolution, however it should be possible to print a 200x120 picture rotated 90° without any need for down scaling as 120 pixels should fit within the 166 pixel maximum width.

Not a big issue, but as PIXEL and AGRAPH have been updated to support the new screen capabilities it would be good to have also PRLCD supporting what could make sense.
DM42: 00425 - DM41X: β00066 - WP43: 00042
keithdalby
Posts: 564
Joined: Mon Apr 24, 2017 8:38 pm

PRLCD in GrMod 2?

Post by keithdalby »

PIXEL and AGRAPH have been modified to make use of the whole screen. I don't know the what magic takes place behind the screen, so please let me know if I'm being naïve here, but would it be possible to make PRLCD work for GrMod 2 too? I appreciate that the thermal printer can receive the 131 pixel width screen information from the HP42s and indeed from the DM42, but GrMod 2 is 200x120, so rotated 90°, it would fit. It would mean some backend converting the screen to layers of GrMod 0 LCD, but the printer would be able to handle it.

Not sure how much work it would take to code, or if it'd be a Free42 or a DM42 patch. Might not be possible. Might only be possible with excessive work, which isn't worthwhile or viable. Might be easy to implement and a good addition. I just have no idea.

Any thoughts?

Edit to add: whoops! This had already been mentioned here: viewtopic.php?f=17&t=320&view=unread#unread

Could these topics maybe be merged? Sorry.
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: PRLCD in GrMod 2?

Post by grsbanks »

keithdalby wrote:
Mon Mar 12, 2018 8:26 pm
Could these topics maybe be merged? Sorry.
Done :)
There are only 10 kinds of people in the world: those who understand binary and those who do not.
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: PRLCD with new graphical modes

Post by Walter »

Hmmh, rotating seems a bigger issue, doesn't it? Any news from the machine room will be appreciated ...
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
HPMike
Posts: 439
Joined: Fri Jul 21, 2017 11:01 pm
Location: DFW, Texas

Re: PRLCD with new graphical modes

Post by HPMike »

Maybe SwissMicros next project should be high resolution IR inkjet printer.
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973. DM32, SN 00054.
Post Reply