cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/03/22:45:49

From: "Tony O'Bryan" <aho450s AT nic DOT smsu DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Scanning & Allegro
Date: Tue, 03 Feb 1998 21:35:08 -0600
Organization: Southwest Missouri State University
Lines: 28
Message-ID: <34D7E1EC.5A67@nic.smsu.edu>
References: <d6662087 DOT 34d74e7a AT aol DOT com>
Reply-To: aho450s AT nic DOT smsu DOT edu
NNTP-Posting-Host: jim.a34.smsu.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Storofile AT aol DOT com wrote:

> 1. does anyone have a library to control scanner?

Hewlett Packard used to give developers a free Twain-compatible scanning
library for 16-bit DOS.  All I had to do was answer a 5-minute
over-the-phone questionnaire.  I don't know if they now offer a 32-bit
version, or even if they still offer it at all.

>    TWAIN requires Windows as everything is bundled in DLL's & the header file
> requires windows.h

Twain is an interface standard and does not require Windows.  All that's
required is a Twain-compatible device driver and library.
 
> 2. With Allegro 3.0 is it possible to spilt the screen so that the image to be
> printed takes up 95% of screen height, with a status bar the bottom 5%, or
> should I be looking at a different library.

Of course, though different approaches are possible for different video
modes.  You have to decide which approach you want: hardware split
screen with mode-x, software control through overlapping bitmaps with
software scrolling, software control through stretching bitmaps to fit
the given screen, etc.
-- 
Tony O'Bryan

http://www.geocities.com/SiliconValley/Park/7201

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019