But my PDF have graphics in them.  I wonder if it's a translation error.
What I'm doing is converting an AFP to PDF and then wanting to push the PDF
out.  The WRKCGISPLF just pushes text.  Like I said I'm probably going about
this the wrong way but I didn't want to leave a bunch of PDF's behind to
cleanup in an IFS directory.  

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Bryan Dietz
Sent: Thursday, April 21, 2005 12:17 PM
To: Web Enabling the AS400 / iSeries
Subject: RE: [WEB400] Pushing a PDF file with CGIDEV2

Content-Type: application/pdf

I tested the following:
http://www.mcpressonline.com/mc/.6ae65eff

worked pretty good...pushed the PDF right to the browser window.

----------------------------
Bryan Dietz
Aktion Associates

web400-bounces@xxxxxxxxxxxx wrote on 04/21/2005 12:32:50 PM:

> Regardless of what language/toolkit you use to actually deliver the
> PDF, you need to set the content-type header correctly. I don't know
> what it is off the top of my head, but if you do some searching on
> Google, you should be able to find it.
>
> Matt

-- 
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
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 ...

Replies:

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.