Barcode of given size

Last post 02-24-2009, 3:53 AM by saqib.razzaq. 9 replies.
Sort Posts: Previous Next
  •  02-16-2009, 10:55 PM 165484

    Barcode of given size

    Hi, I am using your aspose.barcode toolkit. i have gone through your example and quite satisfied with it. but i want the size of barcode to be fit into 2 * 2.5 cm of label. can you please provide me help for this how can i do this? and one more query is your web example is not running properly, its giving errors. and i want to make a web application only. so its better if you can provide me some example of web application that can print barcode of given size. also send me the price list for the same. Thank You.

    I am available only between 9.30 am to 7.00 pm as per indian time.

    Please anyone help me.....

    Filed under: aspose.barcode
     
  •  02-17-2009, 7:09 AM 165576 in reply to 165484

    Re: Barcode of given size

    Hi Chandresh,

    Thanks for considering Aspose.

    For setting the size of barcode image, please set xDimension, yDimenion and BarHeight properties accordingly.

    Please see http://www.aspose.com/demos/visual-components/aspose.barcode/csharp/more-features.aspx demo and try to set the properties to generate your desired barcode. xDminension and BarHeight can be set using this demo. The source code can also be viewed from the tabs.

    For using Aspose.BarCode in ASP.NET, please refer to http://www.aspose.com/documentation/visual-components/aspose.barcode-for-.net-and-java/using-with-net-web-forms.html.

    For pricing info, please visit http://www.aspose.com/purchase/default.aspx. "Aspose.BarCode for .NET" product can be used to develop desktop, web and wpf based applications.


    Best Regards,
    Saqib Razzaq
    Support Developer, Aspose Sialkot Team
    http://www.aspose.com
    Your File Format Experts
     
  •  02-17-2009, 11:38 PM 165721 in reply to 165576

    Re: Barcode of given size

    Thank you so much.....
    i have tried all the things that you said and also checked all the properties of control.
    but still i am not able to create barcode of such a small size that i want.
    can you just please give me small application code that can do what i want.
    i am working on .net platform.
    and the size of barcode that i want must be less than 2 * 2.5 cm.
    the lable size is 2 centimeter height and 2.5 centimeter of width.
    Please provide me a solution ASAP. so i can further proceed and purchase your control.
    Thank You.
     
  •  02-18-2009, 12:24 AM 165728 in reply to 165721

    Re: Barcode of given size

    Hi, Could you please tell us which SymbologyType are you using and what’s the CodeText to be encoded?

     


    Dean Deng
    Lead Developer, Aspose Guangzhou Team
    http://www.aspose.com
    Your File Format Experts
     
  •  02-18-2009, 10:18 PM 165929 in reply to 165728

    Re: Barcode of given size

    Thanks for cooperation.

    I am using "code128" as my SymbologyType.

    The code text can be like "Ah00-00001"............this is the normal format of barcode which i want to generate. the first two character should be alphabetic, the next two should be any digit and then last five digit followed by "-"...........

    Hope you provide me the solution ASAP.........

    Thanking You....
     
  •  02-19-2009, 3:00 AM 165965 in reply to 165929

    Re: Barcode of given size

    Hi Chandresh,

     

    Please try to reduce the xDimension,Margins and BarHeight; If you don’t need the CodeText to be printed, please set the CodeLocation to None; And the Resolution should be modified to fit your printer’s setting, it will affect the printed size too.

     

    Thanks


    Dean Deng
    Lead Developer, Aspose Guangzhou Team
    http://www.aspose.com
    Your File Format Experts
     
  •  02-22-2009, 10:50 PM 166365 in reply to 165965

    Re: Barcode of given size .NET

    Thanks............
     
    I dont want the code text to be printed but i want some other information to be printed at both the up and down side of the barcode. means i want some text above the barcode and some text below the barcode.
     
    And i have tried to decrease the xdimention and barheight also. but its not working.
     
    I think your control have some minimum fixed size.
     
    one lable "Aspose" is printed on the above of barcode....i hope after purchasing license version it will not be printed......because i want some other information there to be printed.
     
    If you can provide me such example  that can fullfill my requirements than it will be better for me.
     
    I am making somewhat easy for you.........that now i dont want the alphabetic characters in barcode.
     
    I just want the barcode generated using numerics in the format like "00-0000000"......
     
    And some text at the above and below of generated barcode...
     
    Hope i get the final solution..........with suitable example........
     
    Thanks a lot......
     
    Chandresh Vanker
     
  •  02-23-2009, 11:05 AM 166482 in reply to 166365

    Re: Barcode of given size .NET

    Attachment: Present (inaccessible)
    Hi Chandresh,

    The minimum width of Code128 barcode image by setting all the possible options is around 3.5 cm. These settings include xDimension, yDimension, Margins and BarHeight.

    Please find the sample project. It generates the barcode of width 3.5cm and height 2cm. Some text is also displayed on top and bottom of the barcode image. After setting the license, the Aspose text will no longer appear.

    Is it possible for you to choose another symbology type. The image size might reduced according to your specifications for other symbologies.
    Best Regards,
    Saqib Razzaq
    Support Developer, Aspose Sialkot Team
    http://www.aspose.com
    Your File Format Experts
     
  •  02-24-2009, 12:20 AM 166573 in reply to 166482

    Re: Barcode of given size

    Thanks....
    When i am using only numerics in my barcode than it is fitting in size of my specification that is 2 cm * 2.5 cm of lable. but it can include only upto eight numerics. but it is not a big issue. but i am using your desktop example of .net. when i am going to use the example for web that is provided by you than its giving me some error like....

    ---Could not load type 'BarCodeWebVB.Global'.    C:\Program Files\Aspose\Aspose.BarCode\Samples\2005\VB.NET\Web Form Demo\Global.asax    1    

    And i want your control to be attached with my existing web application.
    So can you please provide me such an example that will not produce any error and work same as the desktop application.
    As i have mentioned before this that i have to add module of barcode to my existing web application that is developed in ASP.net, So i need to check whether your product will work propwely or not with web-application.

    Please provide me a demo of web application..

    Thanking You...
     
  •  02-24-2009, 3:53 AM 166623 in reply to 166573

    Re: Barcode of given size .NET

    Hi,

    The sample that I provided previously did not have the global.asax file. It just contained web.config and default.aspx/cs files.

    Using the BarCode control in web applications is similar to using in Windows forms applications. To add this control in your existing web application, please add a reference to Aspose.BarCode.dll in your project. Then open the page in which you want to add the BarCode control. Open the page in design view and add the BarCode control on the Visual Studio toolbox (by right clicking on toolbox, selecting "choose items.." and then browsing and selecting the Aspose.BarCode.dll). Drag the BarCode control on the web form. After that you can change the properties in design view and also during runtime using the code behind.

    Please refer to http://www.aspose.com/documentation/visual-components/aspose.barcode-for-.net-and-java/using-with-net-web-forms.html for details.

    Best Regards,
    Saqib Razzaq
    Support Developer, Aspose Sialkot Team
    http://www.aspose.com
    Your File Format Experts
     
View as RSS news feed in XML