LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How change the margin for landscape printout

Some lines of my program code are long and fit nicely across the screen and should also fit on a landscape printout. But when I make a landscape printout (8.5x11") with size 13 font, the text wraps around to the next line. The right margin appears very wide (3") as if the text was trying to fit within 8.5 inches. Is there anything I can do to extend the margin to fit more text on each line of the printout? Right now I'm getting a max of 117 columns and would prefer at least 140.

And a related question: I've also noticed that sometimes the editor wraps text around prematurely; it's annoying when the editor displays 2 or 3 lines onscreen that would fit on one landscape printout. (I use 1280x1024 display resolution.)
0 Kudos
Message 1 of 2
(2,859 Views)
There isn't a direct correlation between what is seen on your monitor and what is actually printed out. I have tried reproducing the "wide right margin" behavior you reported in CVI 6.0 and did not see the same results. Using an HP LaserJet 4000N I get identical ~.5 in. margins on both the left and right sides of a landscape printout. The reason I am telling you the printer model I used is because I believe that you might be experiencing printer related problems as you cannot actually set the margin width for editor printouts within CVI.

Have you tried printing with another printer? Are there any settings in your printer's "advanced settings" (available by clicking advanced in the Print... dialog) for setting this?

Jason F.
Applications Engineer
Nationa
l Instruments
www.ni.com/ask
0 Kudos
Message 2 of 2
(2,859 Views)