SEND TO PRINTER in TOOL BAR not functional

SEND TO PRINTER in the TOOL BAR is not functional as native viewer.

how do we achieve same?

native viewer print button

plugin print button

Can this be achieved?

I tried it on the ServerSideCaroussel sample and I found the send to printer functional.

Do you have on your UserControl a Print method override?

ServerSideCarrousel print from toolbar is providing below window, no image is populated

Did you have an image on screen when you hit the SEND TO PRINTER button?

I cannot reproduce unless I have no camera which means I have a white screen and in that case I expect it to be white when I want to print it..

Maybe it is a version thing; does Smart Client 2017R3 make a difference?

print

had to override and provide the imageviewer bitmap, now its coming

System.Drawing.Bitmap bitmap = _imageViewerControl.GetCurrentDisplayedImageAsBitmap();

  ClientControl.Instance.Print(bitmap, [this.Name](https://this.Name), "");  

But how to fill cameraname, its showing empty

Hi Bo,

can you please answer?

waiting for your reply

I had to run experiments and consult with Milestone Development. Unfortunately we discovered that Camera name in the Print will only be filled if the built-in camera view item is used, we found no workaround for other view items. We have put it on the wishlist that the camera name should be filled with the camera set using the ClientControl.EmbeddedCameraFQIDProperty. Putting it on the wishlist there is a chance that it will be in a future version of the Smart Client.

Please note that Milestone Development have made a solution. A new overload method will be introduced with MIP SDK 2018R1 and Smart Client 2018R1 (planned release in the beginning of 2018)

-–

virtual void VideoOS.Platform.Client.ViewItemUserControl.Print ( String name, String information, string cameraName ) [inline, virtual]

AND

virtual void VideoOS.Platform.Client.ViewItemWpfUserControl.Print ( string name, string information, string cameraName ) [inline, virtual]

--

Note, this does NOT use ClientControl.EmbeddedCameraFQIDProperty which was the first idea but was rejected.

Thats Good to hear, we will check when 2018 R1 is released

And in print window, the report print time and image capture time has huge time different.

@Bo Ellegård Andersen (Milestone Systems)​ can you answer for the above question

What is the question?

@Bo Ellegård Andersen (Milestone Systems)​ And in print window, the report print time and image capture time has huge time different.

Yes, but what is the question? Perhaps instead let me ask: Is this wrong?

Please explain what you are asking, or explain if you see unexpected or wrong behavior.

@Bo Ellegård Andersen (Milestone Systems)​ so its expected to have time difference, my test team has flagged this difference.

Native camera view print does not show huge time difference, but custom plugin shows

@Bo Ellegård Andersen (Milestone Systems)​ waiting for reply

What is the question?

Native camera view print does not show huge time difference, but custom plugin shows