•  Back 
  •  Character input/output 
  •  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-File5.17.12  Cprnos                                                    TOS

 Name:         »Character printer output status« - Check the status of 
               the printer port.

 Opcode:       17

 Syntax:       int16_t Cprnos ( void );

 Description:  The GEMDOS routine Cprnos checks whether handle 3 - 
               normally the parallel port prn: - is ready to accept 
               characters.

               Note: It is strongly recommended to use this function 
               before starting a printout, since it takes around 30 
               seconds to recognize a printer timeout if the printer 
               is not ready (perhaps not switched on?).

 Return value: The function can return the following results:

                Value  Meaning

                -1     Printer is ready
                0      Printer is not ready

 Availability: All GEMDOS versions.

 Group:        Character input/output

 See also:     Binding   Cconos