Home > Back-end >  DELPHI printing problems
DELPHI printing problems

Time:10-05

Printer. Begindoc;
For I:=0 to 150 do
The begin
Printer. Canvas. Textout (I, 0, '. ');
end;
Printer. Enddoc;

This code, theoretically should print out a row of points, why only print a point?
Also,
http://www.cnblogs.com/gzggyy/archive/2012/03/28/2421164.html
Print code in this blog, why can only print one points, not into the horizontally or landscape print?
And this blog code sometimes don't print content, put the paper once again perform to strike again,
The two problems beg god to solve!
Thank you very much!!!!!!

CodePudding user response:

The problem is that the print position is largely unchanged, small change 150 pixels,

CodePudding user response:

Not small ah, 150 pixels or a great distance

CodePudding user response:

(I, 0, '. ')
The middle 0, both abscissa and ordinate, isn't it a little bit too small! You to the middle of a dozen paper to see see!

CodePudding user response:

On the canvas print, as if to set the resolution, a few years ago, I have been used, if the resolution is 1/X pixels, print it out is the effect of what you said,

CodePudding user response:

Could you help me write paragraph can print a side-by-side or a landscape point code!!!!!!
Aye,,, this figure was awful

CodePudding user response:

". "the width of the characters is not only a point, each time you step into a dot print," "the character of the blank part is put on the left side of the". "character covered in black spots, so only the most on the right side of the", "to be able to complete, according to

CodePudding user response:

Not ah, in another character

CodePudding user response:

Because any characters around some blank area, not the width and height are filled, you lie between a point stack print will be in this way,
You can:
Printer. Begindoc;
For I:=0 to 150 do
The begin
Printer. Canvas. Textout (I * 10, 0, '. ');
end;
Printer. Enddoc;

Have a try,

CodePudding user response:

I put the ix7 can, now sideways can play, why stand not line,,,,,,,
  • Related