Baanboard.com

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

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 20th March 2002, 08:20
muheeb's Avatar
muheeb muheeb is offline
Member
 
Join Date: Jan 2002
Location: Haifa, Israel
Posts: 76
muheeb is on a distinguished road
Baan: BaanIVc & BaanERP - DB: Informix & SQL Server - OS: Windows 2000
Defining Device Type Within Program.

Hi,

it's not that I want just to write stpconv of my own... I can run stpconv from 3gl/4gl program of a device.
I want to run any device (espiaclly "Direct" to printer drivers)
from within a device that runs 4gl program.
I need first to run the 4gl program and then the "Direct" printer driver device for the same report... cause as you know we cann't specify 3gl/4gl program when defining "Direct" or "Printer"
in Device Type.
That's my problem.

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 20th March 2002, 14:03
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,905
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Lightbulb The light bulb just went on....

I now see the mis-communication problem we were having - my fault. I can not think of a good solution for you - at least not without modifying Baan source and such, and then I do not even know if it would work. I do have a couple of ideas - certainly not what I consider good ideas.

The first is that you do not change the devices or anything, but instead create a baan session that runs in batch mode (or continuosly) and searchs the device queue table (ttaad320) looking for your report. It could use the print date and time stamps to check against the last run time of the job. Then when you found one you could kick off another session to manipulate the report. This would require that the tmp files not expire, so the delete delay would have to be long enough to let the job run.

The other idea requires that you change the device type on all the printers concerned. Just so you can run your own ttstpconv. This could launch your 4gl script and then send the report to the printer. But from your message this sounds like something that you do not want to do.

Just some random ideas. Hopefully someone has better suggestions or a solution!!

Good Luck! Oh - if you do find a good solution please post it here for all of us.


Mark
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
4GL Program in definition Device rabbeneg Tools Administration & Installation 3 12th March 2004 18:56
4GL Program in definition Device rabbeneg Tools Development 1 11th March 2004 14:47
Baan & Connectware Driver Hangs Rajasekhar Tools Administration & Installation 2 18th February 2004 21:32
$BSE/bin files pjohns Tools Administration & Installation 8 21st September 2001 13:15


All times are GMT +2. The time now is 15:50.


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