Home > Archive > Clipper > June 2004 > FlagShip funtion - documentation needed
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
FlagShip funtion - documentation needed
|
|
| The Athiest 2004-06-15, 3:55 am |
| Hi,
I am using FlagShip 4.48.0451
I need documentation on the FS_SET ("prset") as it is not documented in my
manual nor when issuing a fsman on the server. Can someone copy & paste the
information please?
Thanks,
Don
| |
| Ole Kalyana Kjaer 2004-06-15, 8:55 am |
| Hello Don,
Sorry, I was very brief when I reffered you to the fs_set ("prset")
function.
Here we go:
FS_SET ("prset")
Syntax:
retA = FS_SET ("prset", [aData])
Purpose:
Determines and/or sets the printer sequences for a fine output
tuning.
Options:
<aData> is an optional array containing zero to seven elements
with strings of printer sequences.
All settings apply for device printer output (@...SAY, devpos() and
SET DEVICE TO PRINT), some of them also the sequential output
(?, qout(), eject and SET PRINTER ON).
Do not affect the SET CONSOLE, SET DEVICE TO SCREEN and alternative
output devices.
Each element may contain up to 50 characters or escape-sequences,
oversized strings will be truncated. To reset the corresponding
element, pass null-string. Elements of other than char type are
ignored.
aData[1] = cNewLine: printer sequence for movement to new line.
Used for movement to the next line (row). The default sequence is
chr(10) = LineFeed. When the printer or lp filter does not accept
the LF alone but requires CR+LF as in DOS, set it to chr(13) +
chr(10). Affects both the sequential and device printer driver.
aData[2] = cNewPage: printer sequence for movement to new page.
Used to feed the next page. The default sequence is chr(12) = Form-
Feed. Affects the sequential and device printer driver.
aData[3] = cLineMove: printer sequence executed before moving to
the specified column. When set (default is unset, i.e. null string
""), the driver sets pcol() to zero and executes the given sequence
before each column movement. Used e.g. to move the printer "head"
to the leftmost position and subsequently nMarg-times nMargin +
nCol-times the <cSpace> sequence to reach the specified column
according to the optional SET MARGIN TO <nMarg> and the current
@ <nRow>,<nCol> SAY commands.
<Etc etc - there is more.. but I think this was the info you needed
regarding parameters.>
Returns:
<retA> is an array containing the current printer settings at the
time the FS_SET() function is entered. The array elements corre-
sponds to above described aData[].
I hope this was helpful. Otherwise please do not hesitate to write again.
If you need to convert the printout from DOS- to Linux or Windows characters
I can reccomend the Linux utility "recode" either as a pipe or to be used
on files.
Best wishes,
Ole
ole at fonixmusik dot com
Denmark
The Athiest wrote:
> Hi,
>
> I am using FlagShip 4.48.0451
>
> I need documentation on the FS_SET ("prset") as it is not documented in my
> manual nor when issuing a fsman on the server. Can someone copy & paste
> the information please?
>
> Thanks,
> Don
|
|
|
|
|