Can you clarify, please? Are you trying to replicate an lp command so that it writes to a file rather than a printer? I guess if it's OK to print as well as write to a file you could use tee.
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.