Skip to Content
avatar image
Former Member

Creating Labels in Visual Studio 2015 wih Crystal Reports

I have an application that I just upgraded to Crystal Report for Visual Studio 2015 from Visual Studio 2005. I have multiple labels that I am having trouble printing correctly. In the old version I check the "No Printer" check box and they printed to the label printers fine. Now if I check the "No Printer" check box, it ignores what printer I tell it to go to and goes to the default printer on the server handling the print job. Is there a standard way that this is handled so that I can get the label to print properly? When viewing Page Design the No printer check box is unchecked, the Dissociate Formatting is checked with 3x2 stock selected, horizontal is 3 inches, vertical is 2 inches and orientation is portrait. When it prints though it does not print properly. It looks like it's swapping the orientation.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 16, 2016 at 06:45 PM

    Hi Christina,

    CR for VS 2005 was based on Crystal Reports 10.2. As of Cr 2008 the Section orientation Printing feature was introduced and now you should not use No Printer. By default it uses your default printer, always did actually, but you could overwrite the properties.

    With the changes you now need to specify a Label printer in the report and check on the Dissociate option, that way it looks for the family of printers but retains the custom paper sizes etc.

    If you update a report using a newer version of CR Designer you'll see it saves the printer name and paper size in the report:

    It will also

    It will also try to find that printer and/or paper size, it's best to use the actual printer but not necessary completely.

    The Custom Paper size will have a unique paper size ENUM value but now CR looks for the Custom name and not the ENUM value. So as long as everyone who prints has the same paper name it should simply print to that printer.

    So now that you know the updates you can either change the printer info in each report or use a dummy report with the paper size set in it.

    Search for KBA 2163438, it has a sample app attached to it that will print reports with saved data and has dummy reports in the project you can customize to work with your reports.

    Give it a try and then work through the code and update your app as required.

    And it requires the updated CR for VS runtime, install the EXE on your DEV PC, do not install the runtime on your DEV PC, for redist packages only.

    Download is here:


    Add comment
    10|10000 characters needed characters exceeded