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 15th July 2002, 12:31
OmeLuuk's Avatar
OmeLuuk OmeLuuk is offline
Guru
 
Join Date: Mar 2002
Location: The Netherlands
Posts: 1,075
OmeLuuk is on a distinguished road
Baan: Infor LN 6.1 10.2.1 - DB: MS SQL2008 - OS: VM WindowsServer2008R2
Post What is filter6.1 doing with my printout?

filter6.1 is the binary that makes the printer independent tmp file into a printer dependent output file that is being sent to the printer.

Sometimes this conversion is not what you want it to be (in current portingset 6.1c.06.04 when using matrix printers from Mannesmann, is solved in 6.1c.06.05).

You can compare the output file with the ${BSE}/lib/printinf/?/* file to see what code is inserted where. What printerdriver is actually used, can be seen in the argument list.

Use this alternative script to save the input/output files and the argument line used to call filter6.1:
Code:
#!/bin/ksh
# script filter6.1 to catch the argument list,
# inputfile and outputfile from the filter6.1 binary.
# usage:
# $ mv ${BSE}/bin/filter6.1 ${BSE}/bin/filter6.1.org
# $ vi ${BSE}/bin/filter6.1 < copy this textfile
# $ chmod 755 ${BSE}/bin/filter6.1
#
# results:
# - for every run a line is written to ${BSE_TMP}/argfile.filter
#   with runnumber and argument line used
# - for every run a file is written to ${BSE_TMP}/input###.filter
#   containing the input file used (printer independent format)
# - for every run a file is written to ${BSE_TMP}/output###.filter
#   containing the generated output file (printer dependent format)
# where the runnumber is used in the filenames (instead of ###)
#
# DO NOT FORGET to
# $ cp -p ${BSE}/bin/filter6.1.org ${BSE}/bin/filter6.1
# $ rm ${BSE_TMP}/*filter
# when done testing.

# get last runnum
runnum=`basename \`ls ${BSE_TMP}/output???.filter | tail -1\` | cut -c7-9`
# Format number with preceding zero's (illegal becomes 000)
runnum=`printf "%03d" ${runnum}`
# Raise runname with one
let runnum=runnum+1
# Format number with preceding zero's
runnum=`printf "%03d" ${runnum}`
echo ${runnum}: $* >> ${BSE_TMP}/argfile.filter
cp -p ${10} ${BSE_TMP}/input${runnum}.filter
filter6.1.org $*
cp -p ${12} ${BSE_TMP}/output${runnum}.filter
Happy testing.
__________________
Also read Luke 24:4-8
Reply With Quote
Sponsored Links
  #2  
Old 12th March 2004, 12:53
günther günther is offline
Guru
 
Join Date: Jan 2002
Location: Ehingen, Germany
Posts: 573
günther is on a distinguished road
Baan: IVc4 - DB: Informix - OS: HP-UX
Need technical documentation on these tmp files

I would like to add additional data (files) to the spool file (additional shipment papers to a picking list). This is easy by adding spool.buf() calls at the end of the report.

There is only one problem: The spool file contains `printer independent´ stuff -- my additional files are already `printer formatted (pcl)´. And I see errors in log.filter6.1 like " skipped bad escape code: <ESC>-{37}".

So I would like to know about the "ESC CTRL-U #", "ESC CTRL-U !", "ESC CTRL-T !" sequences. Is there any documentation available?
Reply With Quote
  #3  
Old 2nd April 2004, 23:25
OmeLuuk's Avatar
OmeLuuk OmeLuuk is offline
Guru
 
Join Date: Mar 2002
Location: The Netherlands
Posts: 1,075
OmeLuuk is on a distinguished road
Baan: Infor LN 6.1 10.2.1 - DB: MS SQL2008 - OS: VM WindowsServer2008R2
Read the Baan Windows Printing pdf file offered in solution 13743.
__________________
Also read Luke 24:4-8
Reply With Quote
  #4  
Old 5th April 2004, 08:23
günther günther is offline
Guru
 
Join Date: Jan 2002
Location: Ehingen, Germany
Posts: 573
günther is on a distinguished road
Baan: IVc4 - DB: Informix - OS: HP-UX
The document is very good and documents lots of details on printing - not only for windows as the file name suggests.

Günther
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
Payment of blocked supplier pmahto Finance, Invoicing and Integration 1 11th September 2003 21:36
NEW: vbcode CODE extensions patvdv About Baanboard.com 3 13th March 2003 12:19


All times are GMT +2. The time now is 18:56.


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