The code displayed below will guide you to install an ASP Classic app to read barcode from pdf with barcode reader sdk. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording and you can use it to read barcode from pdf with barcode reader sdk with ASP Classic.
Want to quickly learn? This fast application programming interfaces of ByteScout Premium Suite for ASP Classic plus the guidelines and the code below will help you quickly learn how to read barcode from pdf with barcode reader sdk. IF you want to implement the functionality, just copy and paste this code for ASP Classic below into your code editor with your app, compile and run your application. If you want to use these ASP Classic sample examples in one or many applications then they can be used easily.
ByteScout Premium Suite free trial version is available on our website. ASP Classic and other programming languages are supported.
<% ' In case of "Server.CreateObject Failed", "Server object error "ASP 0177 : 8000ffff" or similar errors: ' Please try the following: ' - Open IIS ' - Find application pools (DefaultAppPool is used by default) ' - Open its properties and check .NET CLR version selected: ' - if you have .NET 1.1 then change to .NET CLR 2.00 ' - if you have .NET CLR 2.00 then try to change to .NET CLR 4.0 Set bc = Server.CreateObject("Bytescout.BarCodeReader.Reader") ' Limit search to 1D barcodes only (exclude 2D barcodes to speed up the search). ' Change to bc.BarcodeTypesToFind.SetAll() to scan for all supported 1D and 2D barcodes ' or select specific type, e.g. bc.BarcodeTypesToFind.PDF417 = True bc.BarcodeTypesToFind.SetAll1D() ' now reading barcode from temporary saved image (previously extracted from PDF) bc.ReadFromFile Server.MapPath("example.pdf") ' iterate throuhg all found barcodes on the image For i = 0 To bc.FoundCount - 1 Response.Write "<br>" Response.Write "Found barcode on page #" & CStr(bc.GetFoundBarcodePage(i)) & " with type " & Cstr(bc.GetFoundBarcodeType(i)) & " and value " & bc.GetFoundBarcodeValue(i) Response.Write "<br>" Next ' empty barcode reader Set bc = Nothing %>