cancel
Showing results for 
Search instead for 
Did you mean: 

Excise invoice printing problem (page skiping)

Former Member
0 Kudos

Hi all,

Issue: Excise invoice printing as maintained in billing document.

In each page, page no, address, so no etc will come in the header portion.

In main window, I have to print out 10 line items of billing doc.

If line items exceeds 10 lines then subsequent items should be printed in the following page. And at the very last page, asseable amount, vat, tax amount, mode of transport & amount in words should be printed.

It is getting printed superb without header text of billing doc.

Requirement is that after printing completed of all line items, first seven line of billing documents header details (eg FG, semifinished, packing, size, etc.) are to be printed.(eg if line item is 10, then header details will be printed in the last page containing footer details). I have declared two text element in main window (one is item, another is header text). My requirement is to control dynamically print of items as well as header text in main window. I have declared 7.60 MM of main window height which is suitable for only 10 line item printing. Header text will come only on last page. I have declared 7 different header text variable in main window as maintioned in driver program. If there is no header text in billing document, it is giving 7 blank line feed after items printed.(eg if i have 10 or 20 line items then it is giving one extra page for 7 lines blank header text). I want to control this page skipping. If there is no header text then I want to finish printing in that particular page where items are being finished. It should be dynamic.

Pls help.

Srimanta

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Srimanta,

What i understand is if data is not there in a particular text it should not print even blank in the output.Is that?

If that is the one ,just see the paragraphformat of that text..

let's say u r header text is of p1 paragrah then go to that p1 paragraph format and see below alignment and line spacing tehre is a field called no blank lines..just give tick in that check box...so if the text is initial in that paragraph..it will not show blank line in output.....it will go to next text....uif it is filled then it will show or else it won't show even blank line....i guess current u do not have that tick mark for the paragraph format u r using to print the header texts,....

ofcourse this is valid if i understand u r issue corerctly.

let me know is u r issue resolved or not...

Former Member
0 Kudos

Many many thanks. I got it perfectly by ticking no blank line in that particular paragraph for header text.

Srimanta

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

What i understand from request is to print the header data if exit and not then do not print the header data bust need to print the tiem data.

For this the solution is as follows:

1) define the header data in separate window (but not in main window) and name this windiw as header and also place this window on top of the page i.e. adjust the window to pribt on top of the page.

2) Now place the condition for this wibdow i.e. to print if the header data Internal table or variable field data is ne space.

with above said details te header window will print if there is data only and this will print on all pages.

Do let me know if ou need any more details in this regard.

Regards,

Raghotham Reddy.

      • if this is rght solution for you then do not forget to allocate reward points.