Baanboard.com

Go Back   Baanboard.com > Forum > Baan SIGs > Code & Utilities

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
37%
Installation Wizard into new VRC
39%
Manual into existing VRC
3%
Manual into new VRC
21%
Total votes: 38

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 10th January 2011, 08:17
NirajKakodkar's Avatar
NirajKakodkar NirajKakodkar is offline
Guru
 
Join Date: May 2006
Location: Finland
Posts: 339
NirajKakodkar is on a distinguished road
Baan: BAAN4C4 , BAAN 5c , LN - DB: MS SQL SERVER, ORACLE, Informix, HP Unix, AIX - OS: Windows, UNIX
HTML Device

This program is a extension for ttstpconv which will take HTML as argument and insert the logo image in the report. The logo image will be saved on the server and whenever the device is used the program will check if logo exists on client machine and if not available copy the logo to client machine.

The logo will appear on every page.

Some of the enhamcement ideas are listed below.

1) Making the color/font/background/logo image configurable
2) Adding prev/next buttons/links

I have already started writing for the same, will post the next version of the code once complete.
Attached Images
File Type: jpg report.JPG (70.1 KB, 347 views)
Attached Files
File Type: cln html.cln (4.6 KB, 406 views)
__________________

Niraj N. S. Kakodkar |Linkedin

Last edited by NirajKakodkar : 21st May 2011 at 07:47.
Reply With Quote
  #2  
Old 21st March 2011, 05:51
baan_guru baan_guru is offline
Member
 
Join Date: Sep 2010
Posts: 36
baan_guru is on a distinguished road
Baan: B40C, LN - DB: Informix - OS: Hp-Unix-11
Logo on BW printer

Hi,

Neeraj very useful post.

Do u have any idea about printing logo using BW printer?

Thanks in advance...
Reply With Quote
  #3  
Old 21st March 2011, 13:23
NirajKakodkar's Avatar
NirajKakodkar NirajKakodkar is offline
Guru
 
Join Date: May 2006
Location: Finland
Posts: 339
NirajKakodkar is on a distinguished road
Baan: BAAN4C4 , BAAN 5c , LN - DB: MS SQL SERVER, ORACLE, Informix, HP Unix, AIX - OS: Windows, UNIX
http://www.baanboard.com/baanboard/s...ad.php?t=27963

check the above link
__________________

Niraj N. S. Kakodkar |Linkedin
Reply With Quote
  #4  
Old 19th May 2011, 12:00
baan999's Avatar
baan999 baan999 is offline
Senior Member
 
Join Date: Jan 2009
Posts: 248
baan999 is on a distinguished road
Baan: INFOR LN 6.1 FP5/FP7 - DB: SQL 2005 /2008 - OS: WIN 2008
Question

Niraj,

I have seen your name appearing in the report.

can you please send device data setup detalis,

our logo is in bmp format. can this be define in device data

please suggest
Reply With Quote
  #5  
Old 19th May 2011, 14:00
bdittmar's Avatar
bdittmar bdittmar is offline
Guru
 
Join Date: Apr 2002
Location: Germany, 50.584097,8.544078
Posts: 1,653
bdittmar will become famous soon enough
Baan: 2.2/3.1/4c4/LN6.1 FP6/FP9/HiDox - DB: tbase, ms-sql7, oracle10gV1, 11g - OS: HP-UX, W2K3, SLES
Read post from beginning

Quote:
Originally Posted by baan999 View Post
Niraj,

I have seen your name appearing in the report.

can you please send device data setup detalis,

our logo is in bmp format. can this be define in device data

please suggest
Hello,

read the posts from beginning, please.

The attachment in first post includes the information "logo.jpg" and it's an extension to ttstpconv.

Regards
__________________
//Bernd
Reply With Quote
  #6  
Old 20th May 2011, 04:18
baan999's Avatar
baan999 baan999 is offline
Senior Member
 
Join Date: Jan 2009
Posts: 248
baan999 is on a distinguished road
Baan: INFOR LN 6.1 FP5/FP7 - DB: SQL 2005 /2008 - OS: WIN 2008
can this script be copied & try

do i need to create session/script...etc and copy the script or ??
Reply With Quote
  #7  
Old 20th May 2011, 15:21
mark_h's Avatar
mark_h mark_h is online now
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,935
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Yes you copy the script into a 3gl program. You then use this script as a device driver on a printer. Lets say you call the 3gl program tuddchtml, then in the device setup under the 4gl program you would put otuddchtml. These are only examples and you can call the device driver name anything you want.

Follow this link http://www.baanboard.com/baanboard/showthread.php?t=513 for sample code on how to setup up your own device driver. It shows a sample of the device setup.
__________________
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
  #8  
Old 5th February 2013, 12:45
wtf1ftw wtf1ftw is offline
Newbie
 
Join Date: Feb 2013
Posts: 1
wtf1ftw is on a distinguished road
Baan: ERP LN - DB: MS SQL 2008 R2 - OS: WIN 2008 R2
Hi Niraj,

Did you extend the functionality by now?

Thank you.

Best regards!
Reply With Quote
  #9  
Old 3rd April 2013, 11:01
xlcwas0 xlcwas0 is offline
Junior Member
 
Join Date: May 2011
Posts: 7
xlcwas0 is on a distinguished road
Baan: FP3 - DB: oracle - OS: windows7
hi,
I have this issue.
"(customise.report) [last function:rops] " ????
Reply With Quote
  #10  
Old 3rd April 2013, 15:32
mark_h's Avatar
mark_h mark_h is online now
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,935
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Check the script and see if you made a typo - rops instead of rpos.
__________________
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
  #11  
Old 4th April 2013, 02:41
xlcwas0 xlcwas0 is offline
Junior Member
 
Join Date: May 2011
Posts: 7
xlcwas0 is on a distinguished road
Baan: FP3 - DB: oracle - OS: windows7
Quote:
Originally Posted by mark_h View Post
Check the script and see if you made a typo - rops instead of rpos.
sorry, the same problem.
Reply With Quote
  #12  
Old 4th April 2013, 08:16
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,322
bhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura about
Baan: LN FP 1-9, 10.4, a little bit of Baan IV - DB: SQL Server 2008, Oracle - OS: Windows Server 2008 R2, Unix
Are these settings correct?

Hi Niraj,

I have attached the settings. The report is processing but it does not give any output.

Please check if the settings are correct as there is no problem with the script.
Attached Images
File Type: jpg Device Setting.jpg (70.5 KB, 113 views)
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote
  #13  
Old 4th April 2013, 15:47
mark_h's Avatar
mark_h mark_h is online now
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,935
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Quote:
Originally Posted by xlcwas0 View Post
sorry, the same problem.
See the all the posts on how to setup device and everything. The question is - is the script compiling for you? Or are you getting this when trying to run a report to html.
__________________
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
  #14  
Old 4th April 2013, 17:08
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,322
bhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura about
Baan: LN FP 1-9, 10.4, a little bit of Baan IV - DB: SQL Server 2008, Oracle - OS: Windows Server 2008 R2, Unix
position gives value 0

Hi Mark,

I just put it up in debugger. I have attached the snapshot of what I found. It gives value 0 for position.

Also, I have just changed the position-1 to position-2. But the same error occurs.

I am also attaching the file created on the server. But I did not found any file on client machine.
Attached Images
File Type: jpg Error.jpg (139.1 KB, 54 views)
Attached Files
File Type: txt server file.txt (85 Bytes, 39 views)
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote
  #15  
Old 4th April 2013, 17:25
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,322
bhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura about
Baan: LN FP 1-9, 10.4, a little bit of Baan IV - DB: SQL Server 2008, Oracle - OS: Windows Server 2008 R2, Unix
file.stat gives positive value

Hi,

I just read in the documentation, it says :

If return value of file.stat is:-

0 File exists.
<>0 Operating system error code.

So, it means, the drive does not have permission to write. But, I just checked and everything is ok.
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
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 Off
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DEVICE screen not picking up Preferred Device wmickey Tools Administration & Installation 6 21st September 2007 20:39
How to print Postcript in landscape orientation heliopaixao Tools Administration & Installation 8 28th July 2006 14:39
Maintain Device & Queue Inf please rmarles Tools Administration & Installation 0 9th January 2004 21:46
Device related problem !!!! learner Tools Administration & Installation 7 25th January 2003 03:07
Defining Device Type Within Program. muheeb Tools Development 1 20th March 2002 15:03


All times are GMT +2. The time now is 19:46.


©2001-2017 - Baanboard.com - Baanforums.com