From owner-freebsd-questions Sun Jan 28 22:42:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 2817437B400 for ; Sun, 28 Jan 2001 22:42:17 -0800 (PST) Received: (qmail 2203 invoked by uid 100); 29 Jan 2001 06:42:16 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14965.4296.181757.227298@guru.mired.org> Date: Mon, 29 Jan 2001 00:42:16 -0600 (CST) To: Chip Cc: questions@freebsd.org Subject: Re: printing html/javascript web page mark-up In-Reply-To: <106084664@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chip 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 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 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. 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