Tuesday, October 14, 2003
From The Edge: Using Enhanced OUTPUT PRINTER Command in R:BASE 7.0 Section: Enhanced Commands Chapter: Running R:BASE Your Way! Platform: R:BASE 7.0 for Windows Build: Release Version (Build: 7.0.65.201014) and higher
Using OUTPUT PRINTER command, now you can customize the output font and size.
Syntax:
OUTPUT PRINTER <FONTNAME font name> <FONTSIZE font size>
Additional parameters of FONTNAME and FONTSIZE expand the use of printer output with your favorite font and size. The default font name is Courier New and font size 10.
Example 01:
OUTPUT PRINTER SELECT Company, CustCity, CustState FROM Customer OUTPUT SCREEN RETURN -- Resulting printer output will be Courier New 10 (default)
Example 02:
OUTPUT PRINTER FONTSIZE 8 SELECT Company, CustCity, CustState FROM Customer OUTPUT SCREEN RETURN -- Resulting printer output will be Courier New 8
Example 03:
OUTPUT PRINTER FONTSIZE 12 SELECT Company, CustCity, CustState FROM Customer OUTPUT SCREEN RETURN -- Resulting printer output will be Courier New 12
Example 04:
OUTPUT PRINTER FONTNAME Arial FONTSIZE 10 SELECT Company, CustCity, CustState FROM Customer OUTPUT SCREEN RETURN -- Resulting printer output will be Arial 10
PDF version of this document is also available on:
From The Edge: Using Enhanced OUTPUT PRINTER Command http://www.razzak.com/fte (R:BASE 7.0 for Windows)
Enjoy and make sure to have fun!
Very Best R:egards,
Razzak.

