LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

printTextFile

How would I set the left margin when I use the printTextFile? Is there an
Attribute that will set this? Thanks

Steven
0 Kudos
Message 1 of 2
(2,891 Views)
Hi,
Maybe try the ATTR_XOFFSET print attribute in the SetPrintAttribute function. This specifies the distance from the left hand edge of the paper... The function description is pasted below

Description: Sets the X offset of the hardcopy image on the paper. The offset is expressed in tenths of millimeters. The offset is relative to the left edge of the paper as seen in portrait mode, regardless of the ATTR_ORIENTATION setting. A value of 0 forces the image to what you see as the "left" edge when looking at the paper in portrait mode. This is equivalent to what you see as the "top" edge when looking at the paper in landscape mode.
Message 2 of 2
(2,891 Views)