on 08-26-2008 2:11 PM
hi gurus,
the issue is to print an invoice normaly for the first time, and then print a copy of it
with an overlaying watermark. So i made a *.tif with 'KOPIE' on it and gave the picture 70% transparency. The report to print the invoice works like this:
FM:OPEN_FORM
FM:START_FORM
-->Normal invoice printing
FM:END_FORM
FM:START_FORM
-->Second invoice printing ***
FM:END_FORM
FM:CLOSE_FORM
The form contains three sides,FIRST,NEXT AND COPY.
FIRST and NEXT are identical, COPY contains only one window (same size as in FIRST and NEXT) with the INCLUDE for the copy.tif.
In development landscape everything works properly, using HP4000 device drivers, in productive environment a different driver is used and in the output the copy.tif print completely overlays everything that is printed in the main window.
Now i assume that we have a problem with the device drivers, or with used customer printers (LEXMARK).
So, do you have any ideas how to get rid of that ugly layout?
thx, Stefan
Hallo Stefan,
ich denke nicht, dass du bei deiner Kopie mit der Seite COPY alles überschreibst - du schreibst nur die Seite COPY - ende.
Wenn das mit dem Wasserzeichen klappen soll brauchst du 2 Seiten
First - mit der Anschrift
Next - als Folgeseite
in diesen Beiden Seiten brauchst du ein Fenster - Wasserzeichen oder Copy -
Dein Aufruf des *.tif setzt du zwischen If und endif mit einer Bedingung, die auf die 2. - n. Seite hinweist. ( ich habe ich noch eine weitere Abfrage auf die NAST in meinem Coding drin, ob das Dokument schon einmal ausgegeben wurde - wenn ja, kennzeichne ich auch die erste Seite als Kopie. - Ich mache es aber einfacher, nicht mit Wasserzeichen - sondern als alternative Überschrift 'Rechnung ' und 'Kopie Rechnung ' ).
Sonst - 2 mal start form ist ok und richtig.
Viele Grüsse
Hans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.