printing on a perforated paper

chenthil

New Member
Hi there

I need to develop the report itemwise which prints the components used to make it. The components are displayed as follows:

Item DEsc Qty Supp Item Desc Qty Supp
A dsfdf 33 S1 B bbb 22 gg
C cccc 44 S2 D 555 44 gg


The report is to be printed for every main part and to be displayed on an A4 paper with 2 perforations so each perforated part contains the data for one item. I have already displayed the data in the required format.....but the problem I am having is how to display the next item data on the next perforated part of the same paper?
Can someone let me know soon
Thanks
Chenthil
 
Describe the paper better, are the perferations vertical or horizontal, lines per page = ?, lines per perferation = ?.



chenthil said:
Hi there

I need to develop the report itemwise which prints the components used to make it. The components are displayed as follows:

Item DEsc Qty Supp Item Desc Qty Supp
A dsfdf 33 S1 B bbb 22 gg
C cccc 44 S2 D 555 44 gg


The report is to be printed for every main part and to be displayed on an A4 paper with 2 perforations so each perforated part contains the data for one item. I have already displayed the data in the required format.....but the problem I am having is how to display the next item data on the next perforated part of the same paper?
Can someone let me know soon
Thanks
Chenthil
 
hi the paper is A4 size and horizontal perforations.....
so got to display details for 3 items per page



cecsno said:
Describe the paper better, are the perferations vertical or horizontal, lines per page = ?, lines per perferation = ?.
 
Determin the line-count at the perferations (see line-counter function).


if last-of (component) and line-counter < perf-1
then
skip(perf-1 - line-counter).


Don't know if this is on purpose or this page.

Item DEsc Qty Supp Item Desc Qty Supp
A dsfdf 33 S1 B bbb 22 gg
C cccc 44 S2 D 555 44 gg
 
Hi
But how do i find out the line-count of the perforated line? How would i do this...thats what i am not able to do. Even by using the line-count function how will i know when is the peforated line found by the program?
Just confused on this......
Cheers
Chenthil


cecsno said:
Determin the line-count at the perferations (see line-counter function).


if last-of (component) and line-counter < perf-1
then
skip(perf-1 - line-counter).


Don't know if this is on purpose or this page.

Item DEsc Qty Supp Item Desc Qty Supp
A dsfdf 33 S1 B bbb 22 gg
C cccc 44 S2 D 555 44 gg
 
Setup your printer with the correct paper. (modify output to printer if necessary)

DEFINE VARIABLE X AS INTEGER NO-UNDO.
OUTPUT TO PRINTER PAGED.
REPEAT X = 1 TO PAGE-SIZE:
DISPLAY LINE-COUNTER.
END.
OUTPUT CLOSE.
 
Back
Top