alg1 printing