When the Landscape mode is chosen within DevExpress EndUSer Designer the Label is printed incorrectly.
Paper size is W=2.25 x H=4.00 inches, the label is printing only within 2.25 x 2.25 inches area truncating everything outside of that area.
Tested on RibbonEndUserDesigner Demo supplied with the DevExpress Suite 7.2.5
Expected Results:
Label should be printed correctly according to the page size and layout just as it was shown in the Print Preview Section.
This is a very urgent issue with our customers, please respond asap.
Thank you for your consideration.
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
If you need any assistance we can supply the printer.
We are running the latest Universal drivers for this printer as well as the latest firmware (v 4.70)
Hello Timofey,
Thanks for the report. Unfortunately, at the moment we have no ability to reproduce the problem using the printer model you specified. Could you please try the sample report layout we've created to make sure that a similar report layout, produced without Landscape mode, is printed fine on your side? This might work as a workaround for you, until we determine the actual cause of the problem. However, the Report Wizard isn't capable of automatically creating this kind of layout.
Thank you,
Alex.
We just used your sample report, but the print was not correct.
Please find the attached pdf files that are named according to LayoutPaperSize.
These files were generated by the PrintPriview form you used in the sample project you sent us.
Also, here are the steps to reproduce it.
(Asuming that your Zebra Printer is a Default printer and it is set to Portrait and PaperSize is 2.25 x 4.00 inches.)
Another thing is that every other time you click the Page Setup in Print Preview form, it will not be launched, the CLick doesn't do anything.
Please let me know how we can help.
We can discuss this over the phone, here is my phone number: (585)-425-4400 ext. 3087 or just ask for Tim Shor.
If yo could provide the phone number we can call you directly as well.
Thank you for your time and consideration.
Hello Timofey,
Thanks for the information. However, could you please try to print the report with my sample application without adjusting the Landscape mode in Print Preview mode? Please set the Landscape mode using the Zebra Printer Preferences dialog (right-click your Zebra printer -> Properties -> Printer Preferences -> Paper/Output -> Paper Layout), and then print the report as is. Please let us know your result.
I’m afraid our support staff cannot be reached by phone at this time, as we provide support via email / Support Center to assure that all issues are routed directly to the most capable person, and that they have the necessary time to provide the best resolution.
At present, we're investigating the cause of the issue, and once we have any results, or need any additional information from you, we'll immediately contact you. Please bear with us.
Thank you,
Alex.
Hi, I used your sample application and the result is that the printer printed report incorrectly.
First, I set the printer to the Landscape mode, then I ran the application and printed the label.
The scanned printed label is attached "PrinterLandscape2.25x4.00.pdf".
I also exported the preview to the PDF file: "PrintPreview2.25x4.00.pdf". The preview is shown correctly.
Thank you for your time and help.
Hello Timofey,
Thanks for the feedback. According to the scanned label you posted, it's unclear why you need to use the Landscape mode when creating a report. Could you please clarify why creating a report in Portrait mode with its PageWidth set to 2.25" and its PageHeight set to 4.0" doesn't fit your requirements? If possible, please describe or illustrate the desired printing layout.
Thank you,
Alex.
Hey Alex,
The reason is that our customer wants the long description printed on the label in the landscape mode.
I understand that you can place all the controls on to the panel and set the Angle property accordingly, but printing reports on the rest of the printers are done correctly in landscape mode.
Also, when you use the panel and place the controls onto the panel, set the Angle property to the desired degree (270),
Go to the page setup, and don't change anything, click OK, and you will see that it completely changes the previewed report.
So, I strongly believe that although the "workaround" is going to work, the correct solution would be to address the underlying problem, which, in this case, is in the Printing Library and/or Reports and/or PageSetup form.
Don't you agree?
Please let me know if this issue is planned to be addressed or not.
Thank you for your time and consideration.
Tim Shor.
Hello Timofey,
Thanks for the clarification. Regarding page orientation changes you mentioned…assuming that you are applying current printer page settings to the document, it's expected that the page layout will change once you press OK.
According to the label layout you described, could you please try to print a report with its PaperKind property set to Custom, and its Height and Width properties set to 225 and 400, respectively? Also, please set the Paper Layout to Landscape using the Zebra printer Preferences dialog. Please refer to the screenshots I've created, and let me know if you are still experiencing any problem when printing labels in landscape mode.
Then, we'll continue our investigation.
Thank you,
Alex.
Hey Alex,
Please see attached screen shots.
I did the following steps:
Please let me know if you need any other information.
Thanks.
Tim
Hello Timofey,
Thank you for the information. We see the problem, but actually we don't think this is a misbehavior. Note, that when you are instantiating the Page Setup dialog, your printer settings are queried. Moreover, all current printer page settings are applied to the current XtraReport document, once you press the OK button. However, I believe you can set the report's PaperKind property to Custom, and its Height and Width properties to 225 and 400, respectively. Also, in addition to setting the Paper Layout to Landscape using the Zebra printer Preferences dialog, please set the DefaultPrinterSettingsUsing.UseLandscape property to True. According to our tests, the problem should disappear.
Please let me know your result.
Thank you,
Alex.
Hi Alex,
The issue is still there. The main issue is lying in PageSetup Dialog affecting Prevew and actual Printing of the label.
See attached archive that contains saved XtraReport as well as the screen shots of XtraReports Ribbon End User Designer Demo that is shipped with the library.
Please follow the following steps to reproduce the problem:
Assumptions:
Steps:
Issue # 1
Issue # 2
The bottom line issue is that the Preview doesn't match to what is actually being printed.
Please let me know if you were able to reproduce the issue.
Thank you for your time and consideration.
Tim.
Hello Timofey,
Regarding the Paper Size shown as default within the Page Setup dialog ("User Defined") even when the DefaultPrinterSettingsUsing.UsePaperKind property is set to True. It appears that this is a printer driver issue. You can reproduce the same situation when instantiating a MS Word Page Setup dialog (see the "Paper" tab). Other than that, could you please confirm that you are still unable to print the label correctly when setting both DefaultPrinterSettingsUsing.UseLandscape and DefaultPrinterSettingsUsing.UsePaperKind properties of the XtraReport you created to True?
Meantime, we detected an actual XtraReports misbehavior, which causes incorrect page margin value fetching, when the DefaultPrinterSettingsUsing.UseMargins property is set to True. From now on, developers will be investigating this problem. Once we find out that it's our fault, we'll do our best to provide a fix ASAP.
I'm looking forward to hearing from you.
Thank you,
Alex.
Hey Alex,
Thank you for your time and effort.
We will wait until the fix is implemented in the next release.
Meanwhile, we will work around this issue by rotating the controls 90 degrees and use Portrait orientation.
Thanks.
Hello Timofey,
Thanks for the update. I'm glad to hear that you managed to work around this situation in your project.
We'll keep you informed of the page margins issue status. Hopefully, our developers will manage to fix it in one of upcoming updates.
Thank you,
Alex.
Hello Timofey,
Our developers fixed the problem that occurred when printing a document in landscape mode. The fix will be included into the next Suite update.
However, we can only guarantee that the report's Landscape property is effective when the ZebraDesigner Driver (Compatible with Windows Vista) is used
(refer to the following link to get the latest one: http://www.zebra.com/id/zebra/na/en/index/drivers_downloads/drivers/results.html?productType=7).
If you need any clarification, please feel free to ask.
Thank you,
Alex.