Label Address Printing in Crystal Reports for Visual Studio.NET

Posted on 2005-05-06
Last Modified: 2008-02-20

I need to print Mailing Address Labels using Crystal Reports in VS.NET.
I use C# as my coding language.
I use the Mail Label expert wizard to do that in design time.

My requirement is that I need to be able to change the Width and
Height of the Label (which is actually the Detail section) during
Run-Time. The user will enter the Label dimensions in a separate
screen. The parameters would be like

Label height
Label Width
Number of Labels to print in a row (across the page)
Number of blank lines between two label rows

I am able to control all of them using the Layout tab in Format Sections dialog.

I need to fetch this information at run-time and apply on the CR
object programmatically. I tried accessing the SectionFormat object
but it provides all the boolean properties except "Format Multiple
Columns", which makes the Layout tab visible at design time.

Please let me know if this can be done using the Object Model of CR.

Thanks In Advance

Karthik N
Question by:rskumar_uss
    1 Comment
    LVL 100

    Accepted Solution

    I believe it can however it probably requires you to use the Royalty Required dlls and will cost $199 (last time i checked) per user to distribute the dlls.

    I suspect it will be easier and cheaper to develop several reports with the popular label sizes predefined and allow the user to select from them


    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    maxBlock challenge 30 90
    string initialization in java 11 95
    either24  challenge 19 73
    Line meaning 9 60
    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
    The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
    The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now