ben_donohue was once rumoured to have said: > Ah, well, hope i don't get flamed for this on a Linux list but... > > Back in my DOS days i'd do a... > dir>lpt1: > which would do a directory listing to the printer. So it's a lower down test > than an application printing. > > maybe there is a Linux equiv. like... > ls>/dev/lp0 or something from the console and not from an application? > Something i'd like to know anyway.
If you have lpr/lpd configured correctly, ls | lpr should work. However, in this moder age of intelligent printers, you might want to use an ascii to postscript filter, and let lpr/lpd use ghostscript to convert it back to your printer's native control language. mpage is my personal favourite - using mpage, it'd be more along the lines of: ls | mpage -2 -ba4 -Plp to do a 2up print on a sheet of a4. C. -- --==============================================-- Crossfire | This email was brought to you [EMAIL PROTECTED] | on 100% Recycled Electrons --==============================================-- -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
