cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PaperSize hell

patrick_simons2
Participant
0 Likes
3,840

First if I try to save a Page Setup (using CR 2016 SP5) for a Dymo label printer, CR doesn't keep the papersize. After changing to the correct values I save the report:

then I close the report and I reopen it:

and the 11354 has gone away. Any ideas?

Also when using Don's test program, the correct papersize is also missing:

As you see the PaperSize is already wrong after opening the report:

PS. I'm testing RAS using CR VS.Net SP22.

Another question: would it be possible to save the 11354-papersize back to the original reportfile using RAS (SaveAs-method)?

Regards,

Patrick

View Entire Topic
0 Likes

Hi Patrick,

Thank you for the report, I can't test print it, no data.

I see the problem on your system, you are setting the paper size using your local Printer but then on this page you are selecting the Redirected (2) printer. As I said, install the printer locally and do not use the redirected driver. It's a MS Remote Desktop issue that we can't fix.

It all works fine on my PC where I have the Dymo 450 installed. Even though you are selecting the 11353 paper size it still uses the 5.x X 3.x size User defined size.

Also, the way MS adds printers is it auto assigns ENUM's to paper sizes. On my PC the Dymo 450 ENUM's start @ 200. the 11353 is this on my PC:

ENUM: 245 Name: 11353 Multi-Purpose

I believe what is happening is CR is looking in the registry for the ENUM's, Easy Print ( Redirected(2)) does not enter registry values for the printer so CR can't find one and just defaults to the Default printer values. I think CR may simply not have any logic built in to deal with this scenario.

So DO Not use Redirected Printers, as we have always said CR has hardware and software dependencies so it requires the printer to be installed locally. Which may be the issue I pointed out earlier where Citrix and Remote Desktop on a Windows 2016 Server will always use the Servers default printer.

Here is another possible way to fix this, see this blog, noted in the sample test app also:

// DISPLAY = no printer.
// See this blog on how to set no printer http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2010/09/15/how-to-check-no-print...
// requires cloning a report with no printer not checked and then using those properties in the real report
// same is true is you have No Printer checked on and you want to print to portrait it needs a dummy report set to be able to do that

Create a dummy report using the User Defined paper size and save the report in CR Designer, SDK will not allow you to set No Printer, I think. I tested it before but I don't recall why or if it is possible...

Things to do:

1. Install the printer on the Remote Server

2. Try a dummy report and set No Printer in the reports, see test app and blog on how to

3. Contact Microsoft on how to get Redirected Printer ENUM's into the PC you are remoting from into it's registry values.

Don