|
Create a Virtual Directory or a Site. You can also use Microsoft Visual Studio and create a new Web Application. |
|
To create a virtual directory, follow these steps:
1. Open the control panel of the IIS server and right-click "Default Web Site".
2. Use the IIS Wizard to create a virtual directory.
|
| |
|
Create physical directories named test and bin (inside the test directory). |
|
Copy the file ASPPDF417Generator.aspx to the test directory
Copy the files Barcodes.PDF417Web.dll and ASPPDF417Generator.dll to the bin directory
|
| |
|
You can use PDF417 barcode already now. |
|
To do it, just start your Internet Browser and type in the address line:
http://localhost/test/ASPPDF417Generator.aspx
You should see a PDF417 barcode.
To customize the barcode, you can use the parameters described here.
|
| |
|
You can create any HTML page with a PDF417 barcode in it. |
|
For example, create the file example.html. Here you can see the source code of this file:
<html>
<body>
<h1>PDF417 ASP.NET Web Generator</h1>
<img src="http://localhost/test/ASPPDF417Generator.aspx?data=Hello+World& cmode=0&w=270&h=120"
width=270 height=120>
</body>
</html>
As a result, you should see the following HTML page with a PDF417 barcode in it.
|
| |
|
Parameters to customize the barcode. |
|
You can specify these parameters in the address line after the '?' character. For instance, to encode the
string '1234567' into the barcode, you should specify the following address line:
http://localhost/test/ASPPDF417Generator.aspx?data=1234567
|
| |