Service by publication shall be deemed complete when it shall have been made in the manner and for the time prescribed in section ; and such service shall be proved by the affidavit of the printer or his foreman or principal clerk, or other person knowing the same.