•  Back 
  •  Special graphic functions 
  •  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.8.1.3  vq_margins                                                TOS

 Name:         »Inquire printer margins«

 Opcode:       5 (Escape 2100)

 Syntax:       int16_t vq_margins( int16_t handle, int16_t 
               *top_margin, int16_t *bottom_margin, int16_t 
               *left_margin, int16_t *right_margin, int16_t *hdpi, 
               int16_t *vdpi );

 Description:  The call vq_margins obtains the printer margins. The 
               following apply:

                Parameter      Meaning

                handle         Workstation identifier
                top_margin     Top margin in pixels
                bottom_margin  Bottom margin in pixels
                left_margin    Left margin in pixels
                right_margin   Right margin in pixels
                hdpi           Horizontal dpi resolution
                vdpi           Vertical dpi resolution

 Return value: 0: Function does not exist

 Availability: As of NVDI 5.00.

 Group:        Special graphic functions

 See Also:     Binding