In my program, I need to have invoices printed from the program for the client's sales. The invoices are printed on pre-printed stationery whose top has the client's name, address, etc printed. The invoices are printed on a fan fold type paper on a dot-matrix printer (TVSE MSP 240 Classic).
The invoices are being generated via Data report. There is enough top margin for the top of the pre-printed stationery. The first invoice that is being printed is coming out perfectly. When the print command is issued the printer head is moving down leaving the top margin and printing in the area where it is supposed to.
The problem is coming from the printing of the second and subsequent invoices. The printer header is not moving down to allow for the top margin and is starting printing on the pre-printed portion. To prevent this, after every printing the user has to switch off the printer and reset the paper. Obviously this is not a practical solution.
I have tried almost everything I could think of, but all the same, the printer refuses to allow for the top margin from the second invoice onwards and merrily goes on printing from the top of paper.
Does anyone have any solution to this problem ?
Thanks