Check each char read to see whether it is a form feed; if so, increment the page counter.
检查每个读取的字符是否为换页符;若是,则增加页计数器。
2
The logic used for form-feed-delimited pages is roughly the same, but slightly simpler, as there is no need for a line counter: Read char by char using the getc library function.
The machine will be able to feed the product to the product wrapping line with adding the option of "set number product feeding unit with counter" to output conveyor.