printing over html

John Esak john at valar.com
Fri Aug 26 12:35:14 PDT 2005


Quick top-post...
Enrigue,
I think a gentleman name Alan Mazuti (forgive bad spelling), has solved this
problem in various ways. He may even have a program to sell you that allows
you to print directly to any printer on the net... you could integrate this
with your script.  Alan frequenst The FP Room at strange times. I saw him
yesterday for awhile during regular business hours, Eastern. :-)  He will
probably see this and respond to you or the list, saying whether he has
something available or whether it was just done for his systems. But, why
invent the wheel if it is alwready rolling somewhere.

John
Visit The FP Room www.tinyurl.com/97y9u 24/7

P.S. - You should try the FP Room... it is a great way to talk to America
for free.


> -----Original Message-----
> From: filepro-list-bounces at lists.celestial.com
> [mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Enrique
> Arredondo
> Sent: Friday, August 26, 2005 3:04 PM
> To: filepro-list at lists.celestial.com
> Subject: printing over html
>
>
> I have 2 venders with a computer running SCO unix and filepro,
> they have a
> filepro menu which let's them print tags on a barcode printer. Now, this
> setup is quite obsolete because the database changes by the minute and
> they are always missing new parts or modifications on the information. So
> my new project that I want to make is something like this:
>
> I'll create a webpage with 2 fields, (i.e. Part and serial
> number) then as
> soon as they hit submit button the cgi script will run filepro at my
> server and generate the report that would normally print on a barcode
> printer (all special print codes plus barcode information), So here's the
> hard part, how can I make so that this file gets printed on the remote
> printer ? Is there a special command on HTML to do that ? When I
> *cat* the
> file back  to them would it be like :
>
>     echo Content-Type : print/file
>
>      cat $FILE
>
>    So their windows system asks them right away to choose their
> printer and
> after selecting the barcode printer it will print .
>
> Here is a vague idea of how my cgi script would look like :
>
> ---------- cut here ---------------
> RECVDINFO=`cat`
>
> ./setfpenviroment
>
> report printing -f barcode -u -r $RECVINFO -p REPORT
>
> if [ -s REPORT ]
> then
>
>      echo Content-type : print/plain
>      echo
>
>      cat REPORT
>
> fi
>
> ------------- cut here --------
>
> Don't worry about the syntax , it's just an example of the idea. So here
> REPORT is a filepro generated HTML or report file that has to make the
> remote machine print the file. Do I make sense ?
>
> Is that possible ? I can do this same thing with paypal and ebay, every
> time a ship something to my buyers paypal prints on my laser printer a
> USPS shipping label with barcodes.
>
> Thanks
>
> Enrique A.
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list



More information about the Filepro-list mailing list