Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - <b>#defines used by n_psget</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
#defines used by N_PSGET

Entries marked with * can by modified with N_PSSET.
Numbers in [brackets] indicate maximum string length.

#define PS_STATUS         1        Print Status
#define PS_COMMAND        2        Used by N_PSSET*
#define PS_COPIES         5        Number of copies printed so far
#define PS_FORMNO         7        Currently mounted form number*
#define PS_QUEUE         11        Active Job Queue Name [48]
#define PS_SERVER        12        Server (of Queue) [48]
#define PS_PRINTER       16        Printer name [48]
#define PS_JOBNO         18        Active Job Number
#define PS_BYTES         24        Number of bytes printed so far
                                   (in current copy)
#define PS_DESCRIPTION   25        Job Description [50]
#define PS_FNAME         33        Form name (number is PS_FORM) [48]

Status' returned by N_PSGET
#define PS_ACTIVE        'A'       actively printing job
#define PS_DOWN          'D'       print server being "downed"
#define PS_FORM_WAIT     'F'       waiting for form
#define PS_IDLE          'I'       Idle (no jobs in Queue)
#define PS_PAUSED        'P'       Paused
#define PS_OFFLINE       'O'       Offline
#define PS_EMPTY         'E'       Empty (out of paper)

Printer Commands accepted by N_PSSET
#define PS_PAUSE         'P'        Pause printer
#define PS_START         'S'       Start printer
#define PS_CANCEL        'C'       Cancel print job (throw away)
#define PS_HOLD          'H'       Hold print job (back into queue)
#define PS_EJECT         'E'       Eject page
#define PS_REWIND        'R'       Same as N_PSREWIND(,,0)
#define PS_MARK          'M'       Mark top of page


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson