[OS X TeX] OT: print html source

David Watson dewatson at mac.com
Tue May 15 01:32:35 CEST 2007


You could use

enscript -Ehtml file.html

and get "pretty-printing" features as well.

On May 14, 2007, at 5:46 AM, Doris Wagner wrote:

> hi list,
>
> I know this is quite off topic, but after having searched for some  
> time in the net without success, I thougt for most of you this is a  
> trivial problem:
>
> I want to print the source code of a html-file (file.html) using  
> the command line, but when I type
>
> lp file.html
>
> the printer does not print the source.
> even if I save the source as file.txt and type
>
> lp file.txt
>
> the printer prints the browsers view and not the source
>
> is there an option I can use with lp (or lpr) for printing the source?
>
> also, could anyone tell me if there is a more adequate place in the  
> web for getting help on such kind of questions?
>
> many thanx!
> Doris
>
>
> ------------------------- Helpful Info -------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
> List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
>
>


------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list