ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Printing String

Solved!
Go to solution

I am trying to print this string and for whatever reason when the printer starts to print the text does not show up.

 

for example i put in "Harold" for the string and the printer prints out a blank piece of paper

 

here is the code: 

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 1 of 7
(4,918 Views)
also I would like to add that I am printing from a label printer so they are not normal sized pieces of paper
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 2 of 7
(4,904 Views)
I can't open your code, since I'm still using 8.5, but I recently had a similar problem using a brother label printer.  Turns out the margins were set so big they were overlapping leaving no printable area on the label.
0 Kudos
Message 3 of 7
(4,900 Views)
so how did you fix this problem?
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 4 of 7
(4,892 Views)
Solution
Accepted by Harold_Timmis
In my vi, i used the "easy text report" vi, which has a "margins" cluster input terminal at the top.  I set all margins to 0.15.
Message 5 of 7
(4,888 Views)
yeah I set the margins right and it works
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 6 of 7
(4,884 Views)
Cool, my first Labview solution 😄
0 Kudos
Message 7 of 7
(4,881 Views)