FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
io_lpos.c
Go to the documentation of this file.
1
/* Returns the printers X position */
2
3
#include "
fb.h
"
4
5
/*:::::*/
6
FBCALL
int
fb_LPos
(
int
printer_index )
7
{
8
int
cur;
9
char
buffer
[32];
10
11
FB_LOCK
();
12
13
sprintf(buffer,
"LPT%d:"
, (printer_index+1));
14
cur =
fb_DevPrinterGetOffset
( buffer );
15
16
FB_UNLOCK
();
17
18
return
cur;
19
}
rtlib
io_lpos.c
Generated on Thu Jan 23 2014 19:40:12 for FreeBASIC by
1.8.4