Chrome browser showing two different print preview from two different buttons - google-chrome

I have been working on an application where on the page there are two buttons for printing an invoice. The button triggers to print the same invoice. The issue is that i am getting two different print preview on the chrome browser as well as when i am printing its output through printer.
One preview is showing zoom-out view and the other having zoomed-in view.
Attached are the snapshot and code for the two.
Any help would be highly appreciated. Thankyou.

Related

Print preview, checkboxes not visible

I´ve got an problem.
I want to print a pdf with checked checkboxes. When i open the print-preview via chrome or edge the checkboxes are not visible..
Need heeeeelp
I see a similar question asked at: Google Chrome PDF Viewer checkboxes are not working
The upvoted response:
It's likely that the generated PDFs don't have appearances for the check boxes. Without appearances, the viewer doesn't know what to show when the field state changes. How you add the appearances will depend on the library you're using to create the PDF.
It works correctly in Acrobat because Acrobat will create appearances when they are missing. Chrome doesn't.
It's hard to say what your issue is without more detail. If the checkboxes are working in the pdf view, but not showing up as "checked" in print preview then it may be an issue with the PDF itself.
One workaround could be to use Adobe Acrobat Reader as it's free and I find its annotation functions pretty full featured, but this doesn't meet your original criteria/question in regards to Chrome or Edge.

Is it possible to put a photo on a report and for it to disappear when in print view/when printing?

I want my background picture on one of my reports to disappear when printing so the user won't use to much ink since the photo is highly detailed.
Is there a way for it to only show when I'm in Report View and disappear when viewing the Print Preview or when printing?
Change the Display When property of the image to Screen Only:

SSRS Report to show hide a message based on the browser the report is loading in

Does anyone know if I will be able to show/hide a message on ssrs report based on the browser the user is using to view the report.
Basically I have got into a difficult situation where I have built a report which was needed, however for some reason it does not load in Internet Explorer. All the graphs get jumbled up when IE is used to view the report. But the report is good on Google Chrome.
So I want to display a text which checks if the browser is Chrome, if No - displays a text message that the report needs to be loaded in Chrome. However when it is loading in Chrome the text box is hidden using the show/hide property for the text box.
It is sloppy now but that's all the time I am left with to invest on this report for the team. please can someone help.
Have a look at the following link:SQL Server Reporting Services

Printing without print screen

I am trying to create a custom web app that will be run from specific locations. I would like to print without any preview and preset screens (basically all the settings need to be saved beforehand on the browser / in the code) so that the user clicks on "Print" and no windows are opened, but the paper gets printed. How could I do that?
I was thinking of using an iPad as the hardware but am open to other solutions.
Thanks a lot in advance!!!!

SSRS print view layout barcode size issue IDAutomationcode39 font

I have inherited an ssrs report, which prints labels to go on sticker pages. i.e. 10 stickers per page. I have an issue where the barcode (IDAutomation code 39 font) displays incorrectly in print view mode and when printed. When distorted the barcode does not scan. When run in bids it all looks ok print view or not print view.
This image shows the barcode looking OK in normal view mode on the left, then when in print preview or print mode it becomes much smaller. I have coloured the textbox that the barcode is in dark green and the whole area of report section turquoise to show its not a small text box.
This image shows the report looking good in the print preview of bids.
How can I resolve this?
I resolved this with a server reboot, hope this helps for anyone else who comes here from google.
The reboot is required after installing the font.
Here's a couple of links that led me in the direction of this fix:
http://connect.microsoft.com/SQLServer/feedback/details/401908/bar-code-does-not-print-in-ssrs
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/9b273f37-2160-4014-895a-d20f16c56856/