i use a matriciel printer to print on
paper a contrast information each data
must be printed on a specified location on the
printer but the problem is that the printer cannot print
until the last place i want to print on.
any idea PLZ?
If you are using a matrix printer, then you must want to print text. Write that text to a file, then send the file to the printer.
example:"C:\myfile.txt"
thank you very much
execuse me i want to know how
can i write on the file programatically
using delphi?, and send the file programatically to the printer?.
my paper must printed after the user click on the button
and the data is on the delphi form.
Use AssignFile(), Rewrite(), Writeln(), CloseFile() to write information into a file. Or, if you have the information into, let's say a memo, do a memo.SaveToFile or any file function of your component.
please i think that the problem comming from
the printer because i took a .txt bfile and i
send it to the printer and the problem still unsolved.
thank you.
thank you guys i do all that
but my problem still unresolved.
i want to explain back my problem:
my printer is a matrix printer (OKI MICROLINE 3321)and
i have preorganized paper for printing the information
about our customer's car(we are a sotiety of insurance)
but the printer cannot print on the last lines on the paper
i don't know how can i fix this problem?!
plz don't let me search alone.
does it only happens when you try with your Delphi applications? Have you tried file->print from the text document? Have you tried it with several text documents?
Try looking at the printer setup. I recently encountered a situation with a printer where no matter what paper (labels) that was in the printer it was always looking for 3x5 labels.
No matter what settings we changed it would not print bigger. The print preview even showed that it would print properly!
It turned out that the very first time the printer was turned on 3x5 labels were in it and it remembered this. We had to do a reconfiguration-type reboot from the owners manual.
Point being contact the printer support and tell them your problem, it may just be a five minute solution.
"if it is stupid but it works, then it isnt stupid"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.