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 - <u>you can set the print class more efficiently by calling either one of </u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
You can set the print class more efficiently by calling either one of 
two new functions, N_CAPSET() or N_QJSET(). Though superseded, 
N_CLASS() has been retained in the library to maintain compatibility 
with earlier versions of NetLib.  Future versions may not retain 
N_CLASS(), so please take this opportunity to begin using the new 
functions in your code.


Syntax

N_CLASS( [ <nClass> ] )


Parameters

<nClass>
Print class number. (0-99) Valid numbers are 0 through 99. NetWare's 
default class is 0.


Returns

N_CLASS() with no arguments Returns the current print class.


Description

Sets the document print class, which in turn affects how print jobs 
from the current station will be serviced.

The way print queues are serviced will vary from network to network 
but, whatever the setup, documents of some print class (the default is 
class zero) will be serviced immediately, while documents of other 
classes will be held until released by, let's say, someone using the 
PCONSOLE utility.

Thus this function can be useful when operator intervention is 
required, as it might be, for Example, to change paper. The setting 
will affect all documents subsequently spooled from the current station 
until the setting is changed by another call to N_CLASS(). Documents in 
progress or already on queue are not affected.



See Also: N_CAPSET() N_QJSET()

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