PDA

View Full Version : Display Question



AKsor
December 22nd, 2002, 08:25 AM
8) I have a question to one of you scripting guru's.

Here is what I want to accomplish:

I have an Epson DM-D101 Point of sale display hooked up to my serial port to display info. ( got it for free 20x2 VFD)

I figured out all of the ESC/POS commands for this display but unfortunately does not support left shift line like the LCD modules do so I can't scroll the title and display the time simultaneosly.

I use the general serial support plugin to interface it to the PC along with DVD spy plugin to gather the info from PowerDVD XP and Winamp.

I want to be able to take the Winamp title and strip the artist and songname into separate registers so I can display them independently.

or write a lua script that will strip the tile into individual characters so I can update the screen once per second along with the time.

If I position the cursor to the top right position and type characters they will automatically scroll to the left if this helps.

I can also set up the title as a macro and have it scroll accross the screen but as soon as I update the time the top line dsapears. The built in controller seems to end the macro scroll every time it receives a new serial data.

I can have the title displayed on the top line (but most of the times its way too long to fit) along with the time and sattus on the bottom line just fine

I'm not a lua script expert so some help would be really apreciated

Laz

AKsor
December 23rd, 2002, 08:35 AM
Well I guess I'm a quick learner as I accomplished all of my goals that I posted in the previous posting using lua scripts.

If anybody is interested in the scripts let me know.

Laz
:D