Thread
:
Announce: Small-size alternative tablet PRINT support for OS2007
View Single Post
TA-t3
2009-03-23 , 11:37
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#
21
What you could do, until I (or someone) gets a chance to check back on the if-script solution, is to use that script (the one which does lf->cr/lf plus ctrl-D at the end) as a front filter, the way you tried that perl in-line script. E.g.:
cat myfile.txt | filter.pl | lpr
You can check that the cut&paste script works correctly with
perl -c filter.pl
which does a 'compile check' but doesn't execute the script.
Or even just the line above, without the final '| lpr'
(it should just print on-screen and look basically correct)
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
Quote & Reply
|
TA-t3
View Public Profile
Send a private message to TA-t3
Find all posts by TA-t3