No, you send an XML request to USPS to retrieve a customized EMR label. The
label is returned in as an XML response that you have to extract, and either
write to a file or display onscreen to the customer. USPS programatically
creates the labels, they don't keep 'em for you.

I did solve my conversion problem, as referenced in a subsequent email.


-Steve


-----Original Message-----
From: James Taavon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 1:55 PM
To: CF-Talk
Subject: RE: how to show a pdf?


Um, I may have missed something, but can't you just reference the PDF as a
hyperlink and display it in the browser? Is it sotred in a database or just
a file on the server?



-----Original Message-----
From: Steven Salter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 11:47 AM
To: CF-Talk
Subject: how to show a pdf?


Hi,

I receive a base64 encoded binary (pdf format) from the USPS Electronic
Return system and need to display this pdf "mail return label" to my
customer. Following advice here, I used tostring() to convert the binary
into a string and have tried to write it to a file and then display the
file, I've tried using <cfcontent> as well. Regardless of what I do, all I
see is the converted string.

This is already in pdf format, I just need to convert the base64 binary to a
format that I can display. I don't need to write the file necessarily,
unless I have to, to accomplish this.

I've beat my head against the wall for about two days now and I can't figure
this out.

NOTE: my system is running CF 4.5 on RedHat linux 6.x.

Thanks,
Steve




______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to