Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_lptwrite() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_LPTWRITE()

 DESCRIPTION

 C_LPTWRITE() writes a given character string to the specified LPT port.

 SYNTAX

 C_LPTWRITE(port, string)

 PARAMETERS

 port (N) is the LPT port number where the printer is attached.
 port must be specified as a numeric where 1=LPT1, 2=LPT2, etc.

 string (C) is the character string to write to the given printer port.

 RETURNS

 C_LPTWRITE() returns true (.T.) if the string was successfully
 written to the printer, or false (.F.) if it was not.

 EXAMPLES

 if c_lptstat(1) = 0
   c_lptwrite(1,"Write line to printer")
 endif


See Also: C_LPTINIT() C_LPTSTAT() C_ISPRINT()

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