From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(3,868 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
(3,854 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
(3,850 Views)
so how did you fix this problem?
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 4 of 7
(3,842 Views)
Solution
Accepted by topic author 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
(3,838 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
(3,834 Views)
Cool, my first Labview solution 😄
0 Kudos
Message 7 of 7
(3,831 Views)