But alas, not so! Give your users options:

Give your user a button to download the PDF if they want to or give them the
option to e-mail it and then let your CGI program issue the SNDDST command.
That way you only generate it if they approve and you only do the work if
they request it.  This is similar in context to a 'Printer-Friendly' button
like you see on many web articles.

If you think creating the PDF is hard you haven't checked out Brad Stone's
SPLTOOL at www.bvstools.com.  All kinds of nifty stuff in there that would
help you with this project.  I'm sure there are other options as well.  I
just think that trying to get an HTML file to fit a pre-printed form is
frought with peril and will eventually fail.

GL,

Joel R. Cochran
Director of Internet Services
VamaNet.com
(800)480-8810
mailto:webmaster@vamanet.com


> -----Original Message-----
> From: Raul A Jager [mailto:raul@abc.com.py]
> Sent: Friday, August 09, 2002 9:39 AM
> To: web400@midrange.com
> Subject: Re: [WEB400] Printing
>
>
> Anton Gombkoto also sugested PDF, the process requires a form
> where the
> user inputs some data, the AS/400 answers and, if the user
> likes what he
> sees, he prints it (otherwise go back to the form).
>
> It seems to me that to generate a PDF in the AS to send it to
> the browser
> for display and print will be rather complex.
>
> Raul
> ______________________________________________________________
> __________
> "Joel R. Cochran" wrote:
>
> > PDF.
> >
> > Joel R. Cochran
> > Director of Internet Services
> > VamaNet.com
> > (800)480-8810
> > mailto:webmaster@vamanet.com
> >
> > > -----Original Message-----
> > > From: Raul A Jager [mailto:raul@abc.com.py]
> > > Sent: Thursday, August 08, 2002 5:38 PM
> > > To: web400@midrange.com
> > > Subject: [WEB400] Printing
> > >
> > >
> > > I need to print a web page over a pre-printed form.  I
> can choose the
> > > navegator.
> > >
> > > How will be the best way to do it?  mi first trials had a
> tendency to
> > > come out nice in the screen, but different in print.
> > >
> > > TIA
> > > Raul.
> > > __________________________________________________________
> > > "Nathan M. Andelin" wrote:
> > >
> > > > > From: "Walden H. Leverich" <WaldenL@TechSoftInc.com>
> > > > > try printing a page and compare the onscreen and
> printed output.
> > > >
> > > > That IS interesting ...
> > > >
> > > > Nathan M. Andelin
>
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
> To post a message email: WEB400@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/web400
> or email: WEB400-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/web400.
>


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.