Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2001 23:22:42 -0800
From:      Chip <chip@wiegand.org>
Cc:        questions@freebsd.org
Subject:   Re: printing html/javascript web page mark-up
Message-ID:  <3A751A42.A8A8E27E@wiegand.org>
References:  <14965.4296.181757.227298@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I had no idea this would turn out to be such a big deal. 
Thanks to all the responses, there have been quite 
a few. Here are a few notes below... 

Mike Meyer wrote:
> 
> 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.

You assume correctly.
When using an editor, as mentioned below, I just want to print
the source I am writing.

> > 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.

Actually, the above mentioned apps are what I used, first
vi, then tried to print from the command line, no luck. Then
the various mentioned editors, all with the results as 
mentioned in the original posting.

> > 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.

If the filter is the problem, defeating it is something
I am not familiar with. I used apsfilter to set up my
printer, it set up two filters during the install process.
I tried both, the first won't print all the text in the 
above mentioned files, the second (raw1) does stair-stepping,
so that may need to be fixed, but it started to print the 
actual mark-up that I wrote.
This may be what I need to fix to print this stuff.

-- 
Chip


>         <mike
> --
> Mike Meyer <mwm@mired.org>                      
> http://www.mired.org/home/mwm/
>


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?3A751A42.A8A8E27E>