FreeBASIC  0.91.0
io_printer.c File Reference
#include "../fb.h"
Include dependency graph for io_printer.c:

Go to the source code of this file.

Functions

static int exec_lp_cmd (const char *cmd, int test_default)
 
int fb_PrinterOpen (DEV_LPT_INFO *devInfo, int iPort, const char *pszDeviceRaw)
 
int fb_PrinterWrite (DEV_LPT_INFO *devInfo, const void *data, size_t length)
 
int fb_PrinterWriteWstr (DEV_LPT_INFO *devInfo, const FB_WCHAR *buffer, size_t chars)
 
int fb_PrinterClose (DEV_LPT_INFO *devInfo)
 

Variables

static char lp_buf [256]
 

Function Documentation

static int exec_lp_cmd ( const char *  cmd,
int  test_default 
)
static

Definition at line 9 of file io_printer.c.

Here is the caller graph for this function:

int fb_PrinterClose ( DEV_LPT_INFO devInfo)

Definition at line 176 of file io_printer.c.

Here is the call graph for this function:

int fb_PrinterOpen ( DEV_LPT_INFO devInfo,
int  iPort,
const char *  pszDeviceRaw 
)

Definition at line 34 of file io_printer.c.

Here is the call graph for this function:

int fb_PrinterWrite ( DEV_LPT_INFO devInfo,
const void *  data,
size_t  length 
)

Definition at line 148 of file io_printer.c.

Here is the call graph for this function:

int fb_PrinterWriteWstr ( DEV_LPT_INFO devInfo,
const FB_WCHAR buffer,
size_t  chars 
)

Definition at line 157 of file io_printer.c.

Here is the call graph for this function:

Variable Documentation

char lp_buf[256]
static

Definition at line 7 of file io_printer.c.