uShopPrintImageButtonCGI_fn.class


The uShopPrintImageButtonCGI applet provides a means by which the customer can print the current contents of the shopping cart and then Fax or Mail the order to the store owner. Due to the fact that older browsers do not have the ability to print applets, the only way to provide this printing ability was to use the ushop_cgiscript.pl to create a dynamic .html page that can be printed from all browsers. Thus, in order to use this print button, you must have the ushop_cgiscript configured on your server.
Note that this applet is identical to the uShopPrintButtonCGI applet except this applet allows you to specify any image to be used instead of a regular text label on the button. The image can be any .gif or .jpg and can be of any size. There is also an option to specify whether you want a 3-D border around the applet or not.
See also ushop_cgiscript_fn.pl.


Parameters
Note: Optional parameters are in italics


Example



<APPLET CODE = "uShopPrintImageButtonCGI_fn.class" WIDTH=55 HEIGHT=45>
<PARAM NAME=scriptpath   VALUE="http://www.uburst.com/cgi-bin/ushop/ushop_cgiscript_fn.pl">
<PARAM NAME=title        VALUE="Tulosta tilaus">
<PARAM NAME=instructions VALUE="(Valitse selaimestasi tulosta toiminto, täytä kaavake ja faksaa se meille numeroon 1-800-123-4567)">
<PARAM NAME=section1     VALUE="Nimi, Katuosoite, Puhelin">
<PARAM NAME=section2     VALUE="Lähetystiedot">
<PARAM NAME=section3     VALUE="Maksutiedot">
<PARAM NAME=footnote     VALUE="*Arvonlisävero lisätään.">
<PARAM NAME=return_url   VALUE="http://www.uburst.com">
<PARAM NAME=image        VALUE="example_print_button.gif">
<PARAM NAME=border       VALUE="YES">
</APPLET>