Bgi Support - Intermec PENKEY 6100 Programmer's Reference Manual

Hide thumbs Also See for PENKEY 6100:
Table of Contents

Advertisement

APPENDIX A

BGI Support

"
"
Using the N6100.BGI Driver
Resolution
Init the driver in 320x240x4 mode:
EXAMPLE:
#include <graphics.h>
#include "n6100.h"
int driver, mode;
driver = installuserdriver("N6100",NULL); /* do this only once */
mode = BGI_LANDSCAPE;
initgraph($drvr,$mode,"");
Init the driver in 240x320x4 mode:
EXAMPLE:
#include <graphics.h>
#include "n6100.h"
int driver, mode;
driver = installuserdriver("N6100",NULL); /* do this only once */
mode = BGI_PORTRAIT;
initgraph($drvr,$mode,"");
" NOTE:
Init and close the driver as many times as desired during a program run, but only call
installuserdriver() once and save the value returned for use in subsequent initializations.
Symbol
R
PEN*KEY
6100 Computer Programmer's Reference Guide
Sample Configuration Files
A-17

Advertisement

Table of Contents
loading

Table of Contents