Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/gipsy/sub/prntrnum.dc3
Дата изменения: Thu Jan 21 18:14:05 1993
Дата индексирования: Fri Jan 16 20:42:13 2009
Кодировка:

Function: PRNTRNUM

Purpose: Returns the number of printers available on current host

Category: PRINTING

File: printer.c

Author: K.G. Begeman

Use: INTEGER PRNTRNUM( )

PRNTRNUM Returns:
>0: number of printers available.
-1: cannot obtain hostname.
-2: cannot obtain translation of
printer description file.
-3: cannot open printer description file.
-4: cannot allocate enough space.
-5: printer name exceeds buffer length.
-6: printer comment exceeds buffer length.
-7: printer command exceeds buffer length.
-8: cannot obtain number of columns.
-9: cannot obtain number of rows.

Updates: Aug 18, 1990: KGB, Document created.