Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net
Go Back  Xtreme Visual Basic Talk > > > Error printing of RDLC Report in VB.Net


Reply
 
Thread Tools Display Modes
  #1  
Old 04-24-2018, 11:02 PM
kheo kheo is offline
Newcomer
 
Join Date: Nov 2011
Posts: 2
Default Error printing of RDLC Report in VB.Net


I'm using the RDLC report in VB.Net 2015.

In report design -> Report properties, I set Paper size = A4, Width = 21cm, Height = 29.7cm, Top = Left = Right = Bottom = 2cm.

In Body Properties, I set Width = 17cm (= 21 - 2 - 2) and place the controls in the design area.

However, when the report show up, if export to pdf is standard (the text is in the middle of the report and the margin is 2cm) but if you print to the printer or look in Print layout mode, the text is deviated to the left. Create a very large margin on the right.

If I size the Body to 19cm and the text encapsulates it, when printing or exporting the pdf will be lost text, not showing up enough.

Can every body help me?

Thanks All
Attached Images
File Type: jpg Print_or_PrintLayoutView.jpg (22.1 KB, 2 views)
File Type: jpg Export_to_PDF.jpg (18.5 KB, 1 views)
Reply With Quote
  #2  
Old 04-25-2018, 07:20 PM
Kluz's Avatar
KluzError printing of RDLC Report in VB.Net Kluz is offline
Sapience.Aquire

Super Moderator
* Expert *
 
Join Date: Oct 2003
Location: Lake Bluff, Ill., U.S.
Posts: 3,467
Default

If it's possible to automate the printout or export process try changing the left margin.
__________________
No the other right mouse click
Reply With Quote
  #3  
Old 04-27-2018, 04:37 AM
kheo kheo is offline
Newcomer
 
Join Date: Nov 2011
Posts: 2
Default

Quote:
Originally Posted by Kluz View Post
If it's possible to automate the printout or export process try changing the left margin.
Dear Kluz, could you tell me more clearly? I tried change left, right margin and body width but I still don't know why the error.
Reply With Quote
  #4  
Old 04-27-2018, 08:38 PM
Kluz's Avatar
KluzError printing of RDLC Report in VB.Net Kluz is offline
Sapience.Aquire

Super Moderator
* Expert *
 
Join Date: Oct 2003
Location: Lake Bluff, Ill., U.S.
Posts: 3,467
Default

I prefaced my suggestion with "If it's possible" because I don't have access to vb.net 2015. I was hoping that by providing a conceptual approach you would figure out the details. If this were in Access I would open the report in design mode in a hidden format, change the margin(s) to appropriate width(s) needed, close and save then print(lay)out or export.
If the body width property is set to 17cm maybe the left margin of the report properties can be set to 0.
__________________
No the other right mouse click
Reply With Quote
Reply

Tags
report, text, body, 2cm, margin, width, pdf, left, size, printing, print, vb.net, rdlc, design, set, properties, create, mode, deviated, lost, encapsulates, exporting, layout, 19cm, 29.7cm


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net
 
Error printing of RDLC Report in VB.Net
Error printing of RDLC Report in VB.Net
 
-->