× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
I have no idea if this is what you were looking for... But it will take an
html file sitting out on the ifs, and copy it to a physical file, and then
you can send that physical file to a print file...

this is a quick hack, and of course it does no html formatting...  Brad has
a tool out there, that will snag web pages, and dump them into a file, that
might work in conjunction with this...

temp file...
CRTPF FILE(QTEMP/HTMLTEMP) RCDLEN(1024)

fill the temp file, with the html....
CPYFRMIMPF FROMSTMF('/timtest/main.html') TOFILE(QTEMP/HTMLTEMP)
MBROPT(*REPLACE) RCDDLM(*LF) DTAFMT(*DLM) STRDLM(*NONE) FLDDLM(',')

send temp file to a printer file...
CPYF FROMFILE(QTEMP/HTMLTEMP) TOFILE(QPRINT)

tim
> -----Original Message-----
> From: Nathan M. Andelin [SMTP:nandelin@relational-data.com]
> Sent: Tuesday, November 06, 2001 1:11 PM
> To:   midrange-l@midrange.com
> Subject:      Re: HTML to Spool File
>
> From: "Shannon O'Donnell" <orion@auburnctnet.com>
>
> > This may be a dumb question (wouldn't be my first...),
> >  but...is there an "EASY and/or QUICK" way to convert an
> > HTML document into an AS/400 spooled file?
>
> You certainly seem to be thinking "outside the box".  I don't know of any
> such utility.
>
> It's kind of funny though, because I've been thinking how Webfacing
> converts
> DDS to JSPs in order to Web enable existing applications.  It makes me
> wonder if someday, somebody will be asking for a utility to convert JSP's
> to
> DDS in order to implement a 5250 interface for their Web applications?
>
> Why would you want to convert HTML to a spool file?
>
> Nathan M. Andelin
> www.relational-data.com
>
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
> list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.