•  Back 
  •  Print dialogs 
  •  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-File8.5.1  pdlg_add_printers                                           TOS

 Name:         »Print dialog - Add private printers« - Add applica- 
               tion's own printer descriptions.

 Opcode:       205 (sub-opcode 0)

 Syntax:       int16_t pdlg_add_printers ( PRN_DIALOG *prn_dialog, 
               DRV_INFO *drv_info );

 Description:  The call pdlg_add_printer permits adding an applica- 
               tion's own printer descriptions to the print dialog. 
               The following apply:

                Parameter   Meaning

                prn_dialog  Pointer to management structure
                drv_info    Pointer to the list of available printers 
                            and rastering processes

               Note: The driver's index should be set to 0x7fff, so as 
               to differentiate the custom driver from that of the 
               operating system.

 Return value: The function returns the value 1 if all went well, else 
               the value 0 in case of error.

 Availability: The presence of this function can be checked with 
               appl_getinfo (opcode 7).

 Group:        Print dialogs

 See Also:     Binding   WDIALOG