Print page of information in vb.net - vb.net

I'm building an application that takes information I pull from a web service and builds it into a simple looking page to print out. Is their a way to make some kind of layout so i can just fill in the blanks with my data in the appropriate places and print. Specifically I want to be able to print a page that includes multiple images and text arranged in a specific manner.

Yes, there is. Crystal Report is the answer.

There's Crystal Report and also RDLC that you can use.

Related

Printing RDLC on client-side

I tried to print an RDLC upon a button click. I followed this walkthrough: https://learn.microsoft.com/en-us/previous-versions/ms252091(v=vs.140). It worked well in localhost but when I uploaded it on the server, it is not printing. I read many articles about this and I tried most of it but I can't get a work-around. This is my first time and I really need help on this matter. If possible, I really need the actual codes to print the RDLC on the client-side. Thank you.

continues printing in crystal report in vb.net

i am trying to make a software for inventory and invoice.
i am using vb.net 4.5, SQL-server 2005 and crystal report.
my problem is that sometimes items are increases more then page size and i want them all to print on a single paper.
i am using TVS RP 3160 thermal printer. i want the paper width 7 cm and height according to the items.
i create two pages ,now i want that when the first page finish then the printer continues to print second page from details section or report footer.
i want to print my bill properly ,i don't want to print two different bills.
hope you understand my problem. please give your suggestions.
I appreciate if you can provide me some tutorial or source code for this problem.
Thank you.
Consider using SubReport in Crystal report. You can design your first page at first subreport and then the next page on the other sub report. Your main report will contain your one or more subreport on its footer section (you can use as many subreport as you want but also consider the performance impact).
Here is a tutorial

How to export Gantt view to pdf?

I am using openerp 6.1 and I have created a project in which I have my phases and tasks in each phase.
I would like to print the gantt chart but there is no option there. Please advice how I can get this done.
Their is default way out to have it on PDf but what you can always do is prepare one report to plot that report on pdf like Burn-down chart you have on project_scrum module, Using Pychart and reportlib engine, and you can produce effective result, or you can take moden web browser screen shot utility at the end.
Thank You
I agree, there really should be print / PDF buttons for every page to save the current view :(
There are 2 workaround options I can think of:
Use reporting to generate your own report of the chart (I would suggest using the webkit_report)
Print the HTML view to PDF.. ie, capture the html code of the view and print it, or send to another system to convert to PDF (using wkhtmltopdf). I have an example here that might help you: http://timothysolomon.co.za/work/openerp-printing-with-javascript/
Good luck, maybe in version 7 they will have this by default.

How to limit RDLC report for one page in a PDF

I have a RDLC report and I am displaying it on the Report Viewer Control in my front end application. I get the report perfectly and theres no problem in it.
But the problem arises when I try to export the report to a PDF (using available option - basically the inbuilt option).
I get the report in 3 pages whereas my client wants it to be in a single page. I am not able to figure out the reason for it as in my report viewer I see only one page but in a PDF there are 3 pages. I have only four columns with no data, still they are breaking up into multiple pages. 2 columns on 1st page 2 on second page. Not real sure what happened to the 3rd page. Somebody recommended changing the paper size of the default printer but I didn't think is was worth trying.
Can something be done abt it so that I can control the size of the report???
This can be a real PITA but there are several things you can do to get you there in BIDS.
To see what it will look like as a pdf use the "Print Layout" button on the preview mode toolbar.
Goto the report properties and set the orientation and paper size as you need them.
Remember the margins in the report properties to make your report display area smaller. I generally set these smaller than the defaults.
Go back to you report items and make sure they are smaller than (pagesize - margins)
This should help.
you can try setting InteractiveHeight=0 , I know that at least works for the MHTML output, not sure about PDF, but it might lead you in the right direction

SSRS report losing formatting in interactive viewer

I have an SSRS report with two subreports that had been working fine. Recently I added some additional table sections to the report and I started seeing an issue when the report was displayed in the interactive viewer. The data is fine but the formatting on the last two table sections does not appear in the viewer.
The formatting actually stops working half way through the next to last report. However, when I print the report (or export to a PDF), all of the formatting is there and the report prints fine.
I have tried splitting the report into more subreports, running with different data and it still does not display correctly in the interactive viewer. The report and subreports do have a lot of formatting and table sections and I am wondering if the RDL files are too big to store in memory or if they even do get stored in memory.
The RDL file sizes are 61 kB for the main report and 2612 kB and 2608 kB respectively for the subreports. Is there a size limitation on the RDL files? Any ideas?
I have found a work around for my problem. If I render my report directly to a PDF, then the report will not display in the interactive viewer, but only as a PDF which displays correctly. This is done by adding "&rs:Format=PDF" to my URL when I call it from my C# program that allows the user to input the parameters. Then the user can print the report and never see the missing formatting in the interactive viewer. This works for my, however, I would still like to know if there is another answer that allows it to view correctly in the interactive viewer or if I have surpassed some memory limitations.
If you split the report into its component parts does it display ok? If as you say you have recently added some new sections/Sub reports to it if you remove them does it look ok again.
You have probably got some strange overlapping happening, in the report designer when the report complies check the warning tag to see if it gives you any clues