•  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.41  v_tray                                                   TOS

 Name:         »Set input and output tray« - Set input and output tray 
               of the printer.

 Opcode:       5 (Escape 29)

 Syntax:       void v_tray ( int16_t handle, int16_t input, int16_t 
               output, int16_t *set_input, int16_t *set_output );

 Description:  The call v_tray determines the printer slot or tray for 
               the paper feed-in and feed-out. The following apply:

                Parameter   Meaning

                handle      Workstation identifier
                input       Paper feed:
                             -1 =  Manual input
                             0 =   Default input (tray 1)
                             1 =   Tray 2
                             n =   n-th optional tray or slot
                output      Paper output:
                             0 =     Standard output (usually front)
                             1 =     Output 2
                             n =     n-th optional slot or tray
                set_input   Actually selected feed-in
                set_output  Actually set feed-out slot or tray

               Note: If the requested tray does not exist, the 
               standard tray will be selected (input 0 and output 0). 
               The names of the input and output trays/slots can be 
               determined with vq_tray_names.

 Return value: The function does not return a result.

 Availability: GEM/3 Release 3.1 and otherwise only if contrl[4] has a 
               non-zero value. In NVDI this function is called 
               v_trays.

 Group:        Special graphic functions

 See Also:     Binding   vq_tray_names   v_copies   v_orient