evertsen
14th August 2003, 22:20
Is it possble to print a field value with a line through it? I took a look at this thread Box on report (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=9880) thinking I could print a graphic line on top of the field value but couldn't get it to work at all.
Ev
rupertb
15th August 2003, 10:49
Hi Ev,
Take a look at this post (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=9880) Klixy had a great idea! I'm sure it'll fit your needs.
Regards,
Rupert
(whoops didn't see that you had been there - sorry! What type of printer are you using in your example?)
klixy23
15th August 2003, 14:33
Nice to see using my ideas. ;)
If you send me your code, than I will verify it and see what's wrong.
Here are two lines of my post in May:
before.program:
label.1 = PUSH & HLF & "Artikelcode" & POP
pcl.box = HPGL_ON & "SP1;TR1;PR-10,35;PD1000,0,0,200,-1000,0,0,-200;" & PCL_ON
Change it to this and try (following is untested):
before.program:
label.1 = PUSH & "Artikelcode" & POP
pcl.box = HPGL_ON & "SP1;TR1;PR-10,35;PD1000,0;" & PCL_ON
The "PR-10,35" is the start position and the "PD1000,0" is the end position of the line.
It's boring to find the right koordinates and need some sheets of paper. This only works if your printer is set to direct. I don't have a solution for windows printer or display. For display there is an another solution here (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=9822). We use this to display the delivery status in report tdsls440901000.