WPCubed Product Support

Mail merge label print

It looks as though if I want to print the address labels for a mailshot the best way is to use WPSuperprint and create a single wprichtext with all the addresses on. Is that correct?

#1 ♥ 0
3.3k Views 1 users read 1 min

I'm working on this using

if Document.BookmarkSelect('Address', true) then begin  Address.AsString := Document.SelectionAsString;  Address.HideSelection;  Address.Refresh; end;

for the first label and

if Document.BookmarkSelect('Address', true) then begin
  Address.CPPosition := MaxInt;
  Address.InputString(#12);
  address.ActivePar.LoadFromString(Document.SelectionAsString, 'RTF','',[wploadpar_UseWritingAttr]);
  Address.HideSelection;
  Address.Refresh;
 end

for subsequent labels. It almost works. The problem is that on second and subsequent labels the first CR is lost eg

Line1
Line2
Line3

becomes

Line1Line2
Line3

Any suggestions?

#2 ♥ 0
This category is archived. No new posts are possible.