sliding window print