•  Back 
  •  GDOS drivers 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File7.2.4.6  Bitmap format for printer drivers                         TOS

Just as for the screen, vq_scrninfo returns the format of the bitmap 
for printers as well. As a rule, there are only 3 different formats 
here:

   . Monochrome bitmap, if the driver has 2 colours.
   . Three sequential planes, if the driver has 8 colours.
   . Packed pixels with 32 bits, if the driver runs in TrueColor mode.

As formats (1) and (3) will be self-explanatory, we only need to deal 
with format (2) here: For 8 colours, a coloured bitmap consists of 3 
complete planes lying sequentially in memory. So the device-specific 
raster format corrresponds to the standard format. The allocation of 
the VDI colour index to pixel values follows the standard arrangement 
that applies to all VDI drivers.

See Also: Printer drivers   Raster formats   vro_cpyfm   vrt_cpyfm