Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
33%
Installation Wizard into new VRC
39%
Manual into existing VRC
6%
Manual into new VRC
22%
Total votes: 49

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 5th September 2018, 07:24
Premahari Premahari is offline
Member
 
Join Date: Mar 2018
Posts: 50
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
Report Printing in Notepad
Baan: ERP LN 6.1 FP11 (Infor ERP 10.5)
C/S: None/Unknown

Hi, When i print one report in device 'D' it is printing full data. When i print the same report in Notepad it's not printing full data. Only half of the output is coming in Notepad.can anyone help why it's not coming full in Notepad.


Thanks in Advance
Reply With Quote
  #2  
Old 5th September 2018, 07:36
AnuKass AnuKass is offline
Member
 
Join Date: May 2018
Posts: 37
AnuKass is on a distinguished road
Baan: 9.2 - DB: sql - OS: windows10
hii
can you pls send your sample output in notepad?
i think change font size or change height and width of page in device data..
Reply With Quote
  #3  
Old 5th September 2018, 08:12
Premahari Premahari is offline
Member
 
Join Date: Mar 2018
Posts: 50
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
Hi AnuKass
Thank you for your reply. I have attached the output of my notepad and D, Where you can see in PDF there are 33 pages where as in notepad only 7pages.
Attached Images
File Type: png Pdf Output.png (147.7 KB, 15 views)
Attached Files
File Type: txt Notepad_Output.txt (315.3 KB, 14 views)
Reply With Quote
  #4  
Old 5th September 2018, 09:21
AnuKass AnuKass is offline
Member
 
Join Date: May 2018
Posts: 37
AnuKass is on a distinguished road
Baan: 9.2 - DB: sql - OS: windows10
hii premahari..
change the page length of notepad which same as DP(default printer)??
Reply With Quote
  #5  
Old 5th September 2018, 11:20
Premahari Premahari is offline
Member
 
Join Date: Mar 2018
Posts: 50
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
Hi Thanks Anukass , tried that also but didn't work.
Can you please tell clearly how to change page length of Notepad
Reply With Quote
  #6  
Old 5th September 2018, 12:40
AnuKass AnuKass is offline
Member
 
Join Date: May 2018
Posts: 37
AnuKass is on a distinguished road
Baan: 9.2 - DB: sql - OS: windows10
eg:
for device D- page length is 55
but device excel -page length is 20
i'm not sure .change it and then try..
Attached Images
File Type: png Screenshot (67).png (43.1 KB, 5 views)
File Type: png Screenshot (68).png (49.4 KB, 5 views)
Reply With Quote
Sponsored Links
  #7  
Old 5th September 2018, 13:04
Premahari Premahari is offline
Member
 
Join Date: Mar 2018
Posts: 50
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
Hi Thanks, I tried my Device length 55 and Notepad length was 100. I changed that also to 1000. But still not working
Reply With Quote
  #8  
Old 5th September 2018, 13:15
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,110
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Could it be something with the Chinese characters on the form - something with the languages and characters? The page length should only come into play with the page breaks. What happens if you print the file to like an ASCII file and then open that in notepad?
__________________
Mark

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
  #9  
Old 5th September 2018, 13:38
Premahari Premahari is offline
Member
 
Join Date: Mar 2018
Posts: 50
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
Hi Thank You Mark_h. I tried printing in Ascii file then opened in notepad but the report not all opening.
Reply With Quote
  #10  
Old 6th September 2018, 08:04
andreas.toepper andreas.toepper is offline
Senior Member
 
Join Date: Jun 2004
Posts: 146
andreas.toepper is on a distinguished road
Baan: Baan4, LN6.1 - DB: MSSQL - OS: Linux&Windows
Quote:
Originally Posted by Premahari View Post
Hi AnuKass
Thank you for your reply. I have attached the output of my notepad and D, Where you can see in PDF there are 33 pages where as in notepad only 7pages.
Could you please take a look at your Notepad file using a better Editor? I'm using a Version of Ultraedit. At the end of the file you can see, there are some line breaks added.

I've had similar strange effects when trying to print Russian texts in a report (the rest of the report was in german). It also happened in a programm where I write a "normal" textfile.

The problems I had where because I used a very basic technic of cutting strings after a given length (like dummy = output(1;20) ). With output defined is non multibyte string (= ascii string)
This worked well when using normal ascii based strings. But I did assign a multibyte string to output beforehand, which worked quite fine - until some multibyte coded character was cutted right in middle of its 3 bytes.

This may not be the cause in your example, but it is worth checking. It may also be caused by some codebase problem.

Your notepad file seems to contain some UTF charaters at the end:

Invoice-to BP : 100000034 SATEE 201108

But other lines just show questionsmarks:

Invoice-to BP : 100000031 CRRC Zhuzhou electric 412000 ??

So there may be some codepage/charater coding problems involved.

Maybe its both:

Invoice-to BP : 100000031 CRRC Zhuzhou electric 412000 ?? Payment Terms : 90 90 days credit

Invoice-to BP : 100000007 CRRC Sifang Payment Terms : 100 30 days credit

Invoice-to BP : 100000034 SATEE 201108 不
Payment Terms : 100 30 days credit

(Lines are taken from your attached notepad file.)

Is this address data (bold text)? Maybe its created with some string cutting on wrong characters because of mixing multibyte and non multibyte strings?
Attached Images
File Type: png error_bb.png (103.0 KB, 8 views)
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LN report printing with DOM Sandy Blondino Tools Development 0 1st February 2018 20:55
Question: when printing a report to notepad, how to keep the file name baanln Tools Administration & Installation 3 21st March 2013 22:14
Report Printing Issue king1980 Tools Development 6 9th March 2010 06:34
Printing report twice Neal Matthews Tools Development 6 17th February 2005 17:53
solving recursion problems rmarles Tools Development 2 25th January 2005 21:23


All times are GMT +2. The time now is 03:12.


©2001-2018 - Baanboard.com - Baanforums.com