Printers use several different command sets (normally referred to as emulations), some of which don't respect form-feeds. Your printer manual will tell you the correct escape sequence to use.
It would be more resilient to use a library to drive the printer rather than having to change your code for different models of printers: [tt]Printer[/tt] and it's 'doze counterpart, [tt]Win32:rinter[/tt], would be good places to start.
Yours,
fish
["]As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life was going to be spent in finding mistakes in my own programs.["]
--Maurice Wilkes, 1949
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.