Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 00:42:16 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        Chip <chip@wiegand.org>
Cc:        questions@freebsd.org
Subject:   Re: printing html/javascript web page mark-up
Message-ID:  <14965.4296.181757.227298@guru.mired.org>
In-Reply-To: <106084664@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Chip <chip@wiegand.org> types:
> I am having a problem printing the mark-up I am
> writing for assignments. I am working on web pages
> that include javascript and html and would like to 
> print the finished work, not the web page output.

Define "finished work", would you? Do you mean the html+Javascript
source you wrote or the HTML generated by the Javascript? I assume
since you say "not the web page output" you don't mean the results of
loading the page in a browser.

> I have printed the work from  gnotepad+, asWedit, 
> vi, Bluefish 0.5 and from the command line, I get 
> two differant printouts - one document.write line
> between the <body></body> tags, or everything in
> one long line wrapped at the margin.
> I also saved one as a .txt file and it still only 
> printed the one line in the <body></body> section.
> I don't see any html to text converters listed in 
> the ports.

You didn't say what you were using to edit the text. What options does
that provide.

> There must be a way to print all the mark-up used 
> for a web page.

lpr works fine, so long as you're not using a print filter that
recognizes the HTML and converts it automatically. In that case, you
need to defeat or reconfigure the filter.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14965.4296.181757.227298>