Go to the source code of this file.
|
int | fb_DevLptParseProtocol (DEV_LPT_PROTOCOL **lpt_proto_out, const char *proto_raw, size_t proto_raw_len, int substprn) |
| Tests for the right file name for LPT access. More...
|
|
int | fb_DevLptTestProtocol (FB_FILE *handle, const char *filename, size_t filename_len) |
|
int | fb_DevLptOpen (FB_FILE *handle, const char *filename, size_t filename_len) |
|
int | fb_DevLptWrite (FB_FILE *handle, const void *value, size_t valuelen) |
|
int | fb_DevLptWriteWstr (FB_FILE *handle, const FB_WCHAR *value, size_t valuelen) |
|
int | fb_DevLptClose (FB_FILE *handle) |
|
int | fb_DevPrinterSetWidth (const char *pszDevice, int width, int default_width) |
|
int | fb_DevPrinterGetOffset (const char *pszDevice) |
|
int | fb_PrinterOpen (DEV_LPT_INFO *devInfo, int iPort, const char *pszDevice) |
|
int | fb_PrinterWrite (DEV_LPT_INFO *devInfo, const void *data, size_t length) |
|
int | fb_PrinterWriteWstr (DEV_LPT_INFO *devInfo, const FB_WCHAR *data, size_t length) |
|
int | fb_PrinterClose (DEV_LPT_INFO *devInfo) |
|
int fb_DevLptClose |
( |
FB_FILE * |
handle) | |
|
int fb_DevLptOpen |
( |
FB_FILE * |
handle, |
|
|
const char * |
filename, |
|
|
size_t |
filename_len |
|
) |
| |
int fb_DevLptParseProtocol |
( |
DEV_LPT_PROTOCOL ** |
lpt_proto_out, |
|
|
const char * |
proto_raw, |
|
|
size_t |
proto_raw_len, |
|
|
int |
subst_prn |
|
) |
| |
Tests for the right file name for LPT access.
Allowed file names are:
- PRN:
- LPT:
- LPTx: with x>=1
- LPT:printer_name,EMU=?,TITLE=?,OPT=?, ...
Definition at line 17 of file dev_lpt_test.c.
int fb_DevLptTestProtocol |
( |
FB_FILE * |
handle, |
|
|
const char * |
filename, |
|
|
size_t |
filename_len |
|
) |
| |
int fb_DevLptWrite |
( |
FB_FILE * |
handle, |
|
|
const void * |
value, |
|
|
size_t |
valuelen |
|
) |
| |
int fb_DevLptWriteWstr |
( |
FB_FILE * |
handle, |
|
|
const FB_WCHAR * |
value, |
|
|
size_t |
valuelen |
|
) |
| |
int fb_DevPrinterGetOffset |
( |
const char * |
pszDevice) | |
|
int fb_DevPrinterSetWidth |
( |
const char * |
pszDevice, |
|
|
int |
width, |
|
|
int |
default_width |
|
) |
| |
int fb_PrinterOpen |
( |
DEV_LPT_INFO * |
devInfo, |
|
|
int |
iPort, |
|
|
const char * |
pszDevice |
|
) |
| |
int fb_PrinterWrite |
( |
DEV_LPT_INFO * |
devInfo, |
|
|
const void * |
data, |
|
|
size_t |
length |
|
) |
| |