PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Versions 16 and later
WINDEVJava Most of these functions are now available in Java.
New in version 16
WINDEVJava Most of these functions are now available in Java.
WINDEVJava Most of these functions are now available in Java.
sCloseCloses the specified serial port, parallel port or infrared port.
sEndEventDisables the detection of an event on a serial port.
sEscapeRuns different functions that directly affect the bits of serial port, parallel port or infrared port, independently of the communication protocol.
sEventBranches an event on a serial port.
sInEntryQueueRetrieves the number of pending bytes in the input buffer of a specified serial port or infrared port.
sInExitQueueRetrieves the number of bytes waiting to be transferred in the output buffer of the specified serial port or parallel port.
sOpenOpens and initializes:
  • a serial port.
  • a parallel port.
  • an infrared port.
sParameterDefines or modifies the parameters for configuring the specified serial port, parallel port or infrared port.
sReadReads a character string in the entry buffer of the specified serial port.
sWriteWrites a character string into the output buffer of the specified serial port, parallel port or infrared port.
Other linked functions:
sComputeCrc16Checks a character string before and after transmission between WINDEV applications and WEBDEVsites.
sComputeCrc32Calculates the Cyclical Redundancy Check (CRC) of buffer.
Related Examples:
Direct print Unit examples (WINDEV): Direct print
[ + ] Direct print on a dot-matrix printer with the WLanguage functions.
The following topics are presented in this example:
1/ the functions for managing the communication ports
2/ sending sequences to a printer.

This example powered by WINDEV is used to directly print on the dot-matrix printer connected to the parallel port of your choice.
This example is using the WLanguage "sWrite" function.
This feature is very useful for the applications exploiting cash registers.
This example is not suited for a laser printer ; in this case, we recommend that you use the report editor of WINDEV.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment