Can anyone tell me a reason why Printer.CurrentX is being reset during this loop?
VB Code:
Printer.CurrentX = 1000 Printer.CurrentY = 10800 For i = 13 To 19 Printer.Print Label8(i).Caption Printer.CurrentX = Printer.CurrentX + 900 Printer.CurrentY = 10800 Next
If I put a stop up on the first line of the loop (Printer.Print Label8(i).Caption) and query the machine for the value of Printer.CurrentX it returns 1000, like it should. However when I step to the next line (Printer.CurrentX = Printer.CurrentX + 900)and query again, the value has been reset to 0. Anyone know why? It's quite annoying because everything seems correct in my code. Thanks




Reply With Quote