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: 143
Joined: Thu May 04, 2017 10:20 am
Location: France

PRLCD with new graphical modes

Post by dlachieze » Sun Dec 24, 2017 5:01 pm

Can we print the full screen in the new DM42 200x120 and 400x240 graphical modes on the 82240A/B printer with PRLCD?
DM42 SN: 00425

User avatar
Walter
Posts: 814
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: PRLCD with new graphical modes

Post by Walter » Sun Dec 24, 2017 8:56 pm

How about trying? ;)
DM42 SN: 00041 --- Follower of Platon.

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

dlachieze
Posts: 143
Joined: Thu May 04, 2017 10:20 am
Location: France

Re: PRLCD with new graphical modes

Post by dlachieze » Sun Dec 24, 2017 11:22 pm

I did try. It printed just a few blank lines.
DM42 SN: 00425

User avatar
Walter
Posts: 814
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: PRLCD with new graphical modes

Post by Walter » Mon Dec 25, 2017 3:41 am

I couldn't read that in the OP. Looks like a matter of either printer resolution or printer control to me.
DM42 SN: 00041 --- Follower of Platon.

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

grsbanks
Posts: 713
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK

Re: PRLCD with new graphical modes

Post by grsbanks » Mon Dec 25, 2017 12:15 pm

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.
Not SwissMicros staff, just an enthusiast.

dlachieze
Posts: 143
Joined: Thu May 04, 2017 10:20 am
Location: France

Re: PRLCD with new graphical modes

Post by dlachieze » Mon Dec 25, 2017 3:37 pm

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 SN: 00425

keithdalby
Posts: 498
Joined: Mon Apr 24, 2017 6:38 pm

PRLCD in GrMod 2?

Post by keithdalby » Mon Mar 12, 2018 7:26 pm

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: 713
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK

Re: PRLCD in GrMod 2?

Post by grsbanks » Mon Mar 12, 2018 8:28 pm

keithdalby wrote:
Mon Mar 12, 2018 7:26 pm
Could these topics maybe be merged? Sorry.
Done :)
Not SwissMicros staff, just an enthusiast.

User avatar
Walter
Posts: 814
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: PRLCD with new graphical modes

Post by Walter » Mon Mar 12, 2018 9:05 pm

Hmmh, rotating seems a bigger issue, doesn't it? Any news from the machine room will be appreciated ...
DM42 SN: 00041 --- Follower of Platon.

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

HPMike
Posts: 67
Joined: Fri Jul 21, 2017 9:01 pm
Location: DFW, Texas

Re: PRLCD with new graphical modes

Post by HPMike » Mon Mar 12, 2018 10:03 pm

Maybe SwissMicros next project should be high resolution IR inkjet printer.
DM15L, S/N 00548. DM42, SN: 00159.

Post Reply