The problem you're getting is that your web-server interprets the
request as a request for a normal file and just sends it - in effect,
you're not outputting the postscript file, you're just sending the
.php file. Normally, you'll only get your php executed if the file
requested is a .php or .phtml
Well, that did something, and it does sound like it should work. I've scoured
the web and haven't found anyone with code that does what I'm trying to do.
I've got a working, hardcoded Postscript file here:
http://www.winecarepro.com/kiosk/fast/shell/barcodemerge.ps
But I need to somehow serve
You can create a .php script that sets a proper header to make the
browser download the file rather than display it. That also allows you
to set the filename for the download. What you'd need to do is include
something like:
header("Content-Disposition: attachment; filename: 'barcodemerge.ps'");
I love the idea of using PHP to insert data into Postscript. I'm just not sure
how to make it happen.
The good news is that I've got barcodes drawing just the way I need them:
http://www.winecarepro.com/kiosk/fast/shell/barcodemerge.ps
The bad news is that's all hard-coded Postscript. I'd lik
On 23 March 2010 05:48, Jochem Maas wrote:
> Op 3/23/10 3:27 AM, Rob Gould schreef:
>> I am trying to replicate the functionality that I see on this site:
>>
>> http://blog.maniac.nl/webbased-pdf-lto-barcode-generator/
>>
>> Notice after you hit SUBMIT QUERY, you get a PDF file with a page of
>>
Op 3/23/10 3:27 AM, Rob Gould schreef:
> I am trying to replicate the functionality that I see on this site:
>
> http://blog.maniac.nl/webbased-pdf-lto-barcode-generator/
>
> Notice after you hit SUBMIT QUERY, you get a PDF file with a page of
> barcodes. That's _exactly_ what I'm after.
> Fort
6 matches
Mail list logo