Main Menu

KB#00167-How to use the 'FONT' mnemonic/mode in a program and in an alias line for a SYSPRINT device

Title:

How to use the 'FONT' mnemonic/mode in a program and in an alias line for a SYSPRINT device

Description:

First, the fonts must be entered exactly as they are returned from the fin(chan,ind=2) function. As an example, printing the fin(chan,ind=2) may return: 

Courier 
LinePrinter 
Letter Gothic 
Courier New 
MS LineDraw 


Here is an example using the 'FONT' mnemonic based on these values: 

open(1)"PD" 
print(1)'font'("Letter Gothic",10,20),"First Line in Gothic" 
print(1)'font'("Courier New",10,20),"Second line in Courier New" 
close(1) 


Here is an example using the FONT mode on the alias line: 

ALIAS PD SYSPRINT "WINDOWS PRINTER" DIALOG,FONT="Letter Gothic" 




Last Modified: 03/09/2000 Product: Visual PRO/5 Operating System: Windows

BASIS structures five components of their technology into the BBx Generations.

  Google+ View BASIS LinkedIN ProfileVisit our Twitter Feed Check out our Facebook Public Profile Click to View the BASIS youTube channel