Getting differences while printing between navision & Pdf?

DarshDarsh Member Posts: 7
edited 2014-11-05 in NAV Three Tier
Hello all,
I have created a Sales Invoice Report of page size & interactive size 21cm x 29.7cm.
The margins are :-1.5cm from left, 1cm from right,0.5cm from bottom & 0cm from top.
Its body is of width 18.5cm.I have taken borders on left,right & top sides of the body of width 1pt.
I have also taken a footer & inserted a text box located at 0cm;0cm position & taken borders on left, right & bottom
sides of the text box of width 1pt.
Now, when i am printing any invoice from pdf, it is coming fine. But the problem comes when i am directly
printing it through navision.
While printing through navision, border width on the right side of the text box in the footer is slightly
greater than the border width on the right side of the body.The variation is clearly visible & looks odd.
Am i doing something wrong here? or is their a solution to it?

Comments

  • TonyDuarteTonyDuarte Member Posts: 92
    Are you accessing NAV using terminal server?
    If so, is it a windows server 2008?
  • DarshDarsh Member Posts: 7
    Yes, it is a terminal server.
    And yes, it is Windows Server2008R2.
  • TonyDuarteTonyDuarte Member Posts: 92
    OK then I think you are facing this problem were there is a known issue if you don't use a Terminal Server/Remote Desktop Connection with a screen resolution with a ratio 4/3.

    The "bug" is because of the graphics render in windows server version 2008/2008 R2 trying to match your resolution results in a "ruined layout".

    For more information check the blog and you will understand better the situation.

    http://blogs.msdn.com/b/nav/archive/2013/02/25/nav-2013-printing-over-terminal-server-can-scramble-reports.aspx

    You have 2 options, either set all the connections to a resolution that is a 4/3 ratio or you can try the fix.

    An example of the resolution that will work correctly is: 1024 / 768.

    Think this will solve your problem :)
  • DarshDarsh Member Posts: 7
    Ok thanks, I am going to download it soon & will test it.Also ,i cannot see the print right now(& also cannot test resolution),as the client is far away.
    But temporarily for testing,i have imported this report in a separate computer(PC1),running Windows 7 Professional sp1(in which Navision 2013 R2 Client &Server is installed).
    The database is on another computer(PC-2) running Windows Server 2008 R2 Enterprise SP1, with SQL Server 2008R2.I am accessing the database from (PC-2) & USING CLIENT ON (PC-1).Now, when i give print from PC-1, same problem persists that is, pdf print is fine, but border width in navision print is distorted as said earlier.
    Also, Screen resolution on PC-1 IS 1366*768 AND ON PC-2 IS 1024*768.
    Does some solution works? as it is not a remote connection this time.
  • TonyDuarteTonyDuarte Member Posts: 92
    Could you load a sample of the output both in pdf and from navision to compare diferences?

    Because given the new scenario you are using might be something else, since you aren't using RDC/TS.
  • DarshDarsh Member Posts: 7
    Check the two image files.The redline is drawn for your understanding to divide body & footer.
    In pdf print , the footer part(border of textbox in footer) & body part borders of rightsides are coming equal.
    But in navision print, as you can see the extra border width of textbox in footer is deviated towards left.
    Do not take clarity of image in navision print or color deviation as difference,but the extra width.
    Does it give a clear idea?
  • DarshDarsh Member Posts: 7
    Check the two image files.The redline is drawn for your understanding to divide body & footer.
    In pdf print , the footer part(border of textbox in footer) & body part borders of rightsides are coming equal.
    But in navision print, as you can see the extra border width of textbox in footer is deviated towards left.
    Do not take clarity of image in navision print or color deviation as difference,but the extra width.
    Does it give a clear idea?
  • TonyDuarteTonyDuarte Member Posts: 92
    The navision print are you using Preview to see how your report looks?
  • DarshDarsh Member Posts: 7
    Yes sometimes, but even in preview it looks fine. But in printout, it causes problem.
  • TonyDuarteTonyDuarte Member Posts: 92
    Don't know for sure if this could be the case of a textbox growing but that would also be visible in the pdf.

    It sure is a dificult one to sort out.

    Asked about the preview because the preview uses a diferent render than print layout and sometimes can misguide you.
    I was gonna sugest to change the preview mode from preview to print layout to see the diference but given this I don't know if it will help.
Sign In or Register to comment.