I need to programatically assign a label printer one of its predefined paper sizes before printing to it. What would be the best method to do this?
Beiträge von Al Bogdan
-
-
-
What's the best way to set line spacing within code? I'd like to be able to use a single precision floating point to determine the line spacing. "1.0" for single spaced, "2.0" for double spaced, etc.. Any tips?
-
I have no idea what changed since I posted the question, but it's working now. I must have fixed something taking place just prior to that code.
I must say that the more I code with version 5 the more I like it! So many elegant solutions for what I need to accomplish.
-
Why does this go into an infinate loop? I'm trying to set all paragraphs prior to a particular position to blank lines.
while not (par = nil) do
begin
par.SetText('');
par := par.PrevPar;
end;It works if I insert a space, but not if I insert an empty string.
Is there a better way to do this?
-
What's the best way to convert each line, as displayed, into its own paragraph? This would be similar to converting all soft-returns into hard-returns in the active document.
-
I'm also having this problem. The name of the bookmark is not saved in the RTF file.
Al