Hi Guys,
i have searched but could not find any previouse solution.
I'm coping n characters, but after sending the final to the
printer, i get some trailing characters like c@xn after the
true result.
example
str[]="mynameissomename";
strncpy(name,str,4);
when i send this to
fprintf(prn_ptr,"%s",name);
the result is mynam@cxn on the printer.
Any help will do
thanks