| Author |
Display a static graphic
|
|
| Robert J. Stuart 2006-10-30, 6:55 pm |
| What I want to do is display a graphic file, such as a .jpg or .bmp on a
straight dos machine until a specific key is pressed. My application is
that I have these point of sale terminals with touch screens. When they are
idle, I want to display the company logo until either the screen is touched
or the cashier hits the enter key on her keyboard. I have not found any
until that I can call to do this. Anyone one have any ideas?
Bob Stuart
| |
| s_boomer 2006-10-30, 6:55 pm |
| Robert J. Stuart wrote:
> What I want to do is display a graphic file, such as a .jpg or .bmp on a
> straight dos machine until a specific key is pressed. My application is
> that I have these point of sale terminals with touch screens. When they are
> idle, I want to display the company logo until either the screen is touched
> or the cashier hits the enter key on her keyboard. I have not found any
> until that I can call to do this. Anyone one have any ideas?
>
> Bob Stuart
You should be able to do that with LightLib graphics as I have used it
to sucessfully display scanned images of documents, EKG's, etc.
You could put a timed loop in to display your logo after inactivity and
a trigger to escape the loop when the screen in touched.
Sam Boomer
| |
|
| "Robert J. Stuart" <rjstuart@earthlink.net> je napisao u poruci interesnoj
grupi:5du%g.14530$Y24.10752@newsread4.news.pas.earthlink.net...
> What I want to do is display a graphic file, such as a .jpg or .bmp on a
> straight dos machine until a specific key is pressed. My application is
> that I have these point of sale terminals with touch screens. When they
> are
> idle, I want to display the company logo until either the screen is
> touched
> or the cashier hits the enter key on her keyboard. I have not found any
> until that I can call to do this. Anyone one have any ideas?
>
you may find many [old] dos utils capable of showing picts.
just put your pos app to swapp to picture util when idle.
you may swapp either with clipper's "run" or with blinker's "swapp()"
| |
| Chen Kedem 2006-10-30, 6:55 pm |
| Hi,
I use a utility called ShowJPG.exe by Jan Patera which does exactly that.
I use v2.80 (2001-04-22) there might be a newer version.
the address in the old doc is: http://www.pictview.com
Chen.
| |
| Robert J. Stuart 2006-11-04, 6:55 pm |
| Chen, Thanks that was just what I was looking for. Your link was still
good and the little showJPG util works great. The only thing that I had a
problem with is when I use the -E switch to leave the graphic on screen, I
could not get it cleared with any standard clipper clear screen command. I
had to make a dos call and do a mode co80 to get the screen to come back.
Not a real problem but I wonder if I am missing something? Thanks again
Chen.
Bob S.
"Chen Kedem" <niki@actcom.co.il> wrote in message
news:Pine.GSU.4.30_heb2.09.0610260839050.11117-100000@actcom.co.il...
> Hi,
>
> I use a utility called ShowJPG.exe by Jan Patera which does exactly that.
> I use v2.80 (2001-04-22) there might be a newer version.
> the address in the old doc is: http://www.pictview.com
>
>
> Chen.
>
|
|
|
|