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>netware users can specify the target printer more efficiently by </u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
NetWare users can specify the target printer more efficiently by 
calling N_CAPSET().

Syntax

N_PRINTER( [<nPrinter> ] )

Parameters

<nPrinter>
Printer number. (1-99)
Standard = 1
NetWare P0 = N_PRINTER(1)


Returns

N_PRINTER() with no arguments returns the current printer number.

Description

Target printer is numbered from 1 to 99, including NetWare printers. 
Thus, under NetWare, to direct output to P0 select N_PRINTER(1), for P1 
select N_PRINTER(2), and so on. At program startup, N_PRINTER(1) is 
normally selected. All documents subsequently spooled from the current 
station will be affected until the setting is changed by another 
N_PRINTER(). Documents in progress or already on queue are not 
affected.

This is generally reserved for use with NetWare 2.0x and earlier, or 
for NetWare 286/386 in 2.0x "compatibility mode." In NetWare 286 and 
later, print output is directed to print queues rather than to physical 
printers.


See Also: N_CAPDFLT() N_CAPSET()

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