Function PrintSend() Foundation

Sends a string or a single character to the printer.

Syntax
PrintSend( <cString|nASCIICode>, ;  // Type: CN
           [<nLPTport>]          ;  // Type:  N   Default: 1
         ) --> nCharNotSend
Return

Returns the number of bytes that could not be sent.

Description

<cString|nASCIICode>

The first parameter is a string to be sent to the printer. If a single character is sent it may be specified as its numeric ASCII code.

<nLPTport>

This is a number between 1 and 9 specifying the LPT port (OS/2), or the printer number in the range beween 1 and NumPrinter() (Windows). It defaults to 1 (LPT1).

Feedback

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.