home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG102.ARC
/
LABEL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1979-12-31
|
1KB
|
44 lines
*LABEL
*PROGRAM TO PRINT ADDRESS LABELS FOR CUSTOMERS - USES DUAL STICKY LABELS
ERASE
? ' PRESS ANY KEY TO PRINT STICKY LABELS FOR ALL CUSTOMERS'
? ' USE STATIONERY WITH TWO LABELS SIDE-BY-SIDE'
WAIT
SET TALK OFF
SET FORMAT TO PRINT
USE NAMELIST INDEX NAME
STORE 0 TO PPOS
DO WHILE .NOT. EOF
STORE NAME TO NAMEA
STORE STREET TO STREETA
STORE CITYPC TO CITYPCA
STORE DISCOUNT TO DISCOUNTA
SKIP
STORE NAME TO NAMEB
STORE STREET TO STREETB
STORE CITYPC TO CITYPCB
STORE DISCOUNT TO DISCOUNTB
SET PRINT ON
@ PPOS,0 SAY NAMEA
@ PPOS,37 SAY NAMEB
STORE PPOS+1 TO PPOS
@ PPOS,0 SAY STREETA
@ PPOS,37 SAY STREETB
STORE PPOS+1 TO PPOS
@ PPOS,0 SAY CITYPCA
@ PPOS,37 SAY CITYPCB
STORE PPOS+1 TO PPOS
@ PPOS,0 SAY DISCOUNTA
@ PPOS,37 SAY DISCOUNTB
STORE PPOS+6 TO PPOS
SKIP
ENDDO
SET FORMAT TO SCREEN
EJECT
SET PRINT OFF
RETURN
. CUSTOMER MAILING LABELS'
@ 10,COLUMN2 SAY'4. OVERDUE LETTER'
@ 12,COLUMN1 SAY'SALES REPORTS'
@ 12,COLUMN2 SAY'5. SALES TAX REPORT'
@ 13,COLUMN2 SAY'6. TRADING