National Instruments Window Window User Manual


 
©
National Instruments Corporation 21 LabWindows/CVI Release Notes for Windows
Refer to the Using Windows System Printer Settings and Warning of Modified Behavior
sections earlier in this document for more information.
Application of Attributes to Text Printing
The following existing attributes now apply to text printing and to graphics printing:
ATTR_DUPLEX
ATTR_EJECT_AFTER
ATTR_NUMCOPIES
ATTR_ORIENTATION
ATTR_XRESOLUTION
ATTR_YRESOLUTION
New Print Attributes
The following new print attributes apply to text and graphics printing:
The following new print attributes apply only to printing text files and buffers:
ATTR_PRINTER_NAME
Currently selected printer
ATTR_PRINTER_NAME_LENGTH
Number of characters in currently selected
printer
ATTR_SYSTEM_PRINT_DIALOG_ONLY
Specifies to display only the Windows
printer-specific dialog box; do not show the
LabWindows/CVI print dialog box
ATTR_PRINT_BOLD
Text is bold
ATTR_PRINT_FONT_NAME
Name of current font
ATTR_PRINT_FONT_NAME_LENGTH
Number of characters in current font value
ATTR_PRINT_ITALIC
Text is in italics
ATTR_PRINT_POINT_SIZE
Point size of text
ATTR_PRINT_STRIKEOUT
Text has strikeout
ATTR_PRINT_UNDERLINE
Text is underlined
ATTR_SHOW_DATE
Display current date on first line of each page
ATTR_SHOW_FILE_NAME
Display filename on first line of each page
ATTR_SHOW_LINE_NUMBERS
Display line numbers
ATTR_SHOW_PAGE_NUMBERS
Display page numbers
ATTR_SHOW_TIME
Display current time on first line of each page
ATTR_TAB_INTERVAL
Number of spaces represented by a
<Tab> character