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.