Function NnetPsRRP() Foundation
Requests remote printer.
NnetPsRRP( <cPrintServerName> , ;
<nPrinterNumber> , ;
[<cFileServer|nConnectID>] ; // Default: NnetSname()
) --> aRemotePrinterData
Returns a one dimensional array containing configuration data of the requested remote printer <nPrinterNumber> or an empty array in case of an error. #define constants are found in XBTNWPS.CH to access the array elements:
| Constant | Datatype | Description |
|---|---|---|
| RRP_TYPE | N | Type of remote printer |
| RRP_INT | L | Use interrupts |
| RRP_IRQ | N | IRQ number for printer |
| RRP_BUF | N | Number of 512 byte blocks in buffer |
| RRP_XON | L | Use XON (.T.) or XOFF (.F.) |
| RRP_BAUD | N | Baud rate |
| RRP_DATA | N | Number of data bits |
| RRP_STOP | N | Number of stop bits |
| RRP_PARITY | N | Parity type |
| RRP_SOCKET | N | Socket number for remote printer |
The elements RRP_XON, RRP_BAUD, RRP_DATA, RRP_STOP and RRP_PARITY are relevant only if the remote printer is connected to a serial port (if it is of type PSP_REMCOM1...4. Refer to NnetPsArp()).
RRP_BAUD
0 -> 300 baud
1 -> 600 baud
2 -> 1200 baud
3 -> 2400 baud
4 -> 4800 baud
5 -> 9600 baud
RRP_STOP
0 -> no stop bit
1 -> 1.5 stop bits
2 -> 1 stop bit
RRP_PARITY
0 -> no parity
1 -> even parity
2 -> odd parity
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.