Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
19%
200 - 500 GB
28%
500 - 800 GB
3%
800 - 1200 GB
7%
1200 - 1500 GB
8%
1500 - 2000 GB
12%
> 2000 GB
23%
Total votes: 74

Baanboard at LinkedIn


Reference Content

 
cf$()
By patvdv at 26 Feb 2008 - 21:56


cf$()

Syntax

string cf$( long
attribute_code )



Description

Use this to send a control code to the current window or printer. All characters after the command are printed or displayed in the font associated with the control code. To reset the font to normal, call cf$(0).

 

The following codes are available:

Code Screen Printer

0

normal

normal

1

bold

bold

2

blinking

bold

3

bold blinking

bold

4

reverse

reverse

5

bold reverse

bold reverse

6

blinking reverse

bold reverse

7

bold blinking reverse

bold reverse

8

underscore

underscore

9

underscore bold

underscore bold

10

underscore blinking

underscore bold

11

underscore bold blinking

underscore bold

12

underscore reverse

underscore reverse

13

underscore reverse bold

underscore bold reverse

14

underscore reverse blinking

underscore bold reverse

15

underscore reverse bold blinking

underscore bold reverse

Note

If the printer is unable to print in reverse, text is printed in bold instead. Blinking is possible only on ASCII terminals.

Context

Bshell function.

Example

 | To screen
print cf$(4),"This is reversed printing on the screen",cf$(0)

| To printer
spool.pr.line = cf$(4)&"Printed reverse"&cf$(0)
spool.line()

Related topics

0
No votes yet


All times are GMT +2. The time now is 10:41.


©2001-2018 - Baanboard.com - Baanforums.com