Hi, I still learning perl so I excuse if this question is lame.
I have several files in my local disk, generated by another application (made by a 3rd party) with the following data:
*******(extract of the file)*************
.\" Definition of the Page Header for the first message
.de PH
.tl '08/10/04-09:04:15' Printer-3081-000001 ' \\n% '
.tl ' _'____________________________________________________________________'_'
..
.wh 0 PH \" Trap at line 0 (top of each page). Print the page header
.nf
.sp
.po +7
.ds a4 '-'--------------------- \fB Instance Type and Transmission\fP --------------'-'
.tl \*(a4
.ta 24
Copy \
received from DATUM
Message Output Reference : 0903
93172132312123
Correspondent Input Reference : 0501 04100812345XXGXXX0000275256
.ds a4 '-'--------------------------- \fBMessage Header\fP -------------------------'-'
.tl \*(a4
.ta 13
DATUM Output : \
******(end of file extract)********
Question:
These are perl formatting codes right?
How can I "print" these kind of files to a local printer so perl outputs "clean" information?
I have several files in my local disk, generated by another application (made by a 3rd party) with the following data:
*******(extract of the file)*************
.\" Definition of the Page Header for the first message
.de PH
.tl '08/10/04-09:04:15' Printer-3081-000001 ' \\n% '
.tl ' _'____________________________________________________________________'_'
..
.wh 0 PH \" Trap at line 0 (top of each page). Print the page header
.nf
.sp
.po +7
.ds a4 '-'--------------------- \fB Instance Type and Transmission\fP --------------'-'
.tl \*(a4
.ta 24
Copy \
received from DATUM
Message Output Reference : 0903
93172132312123
Correspondent Input Reference : 0501 04100812345XXGXXX0000275256
.ds a4 '-'--------------------------- \fBMessage Header\fP -------------------------'-'
.tl \*(a4
.ta 13
DATUM Output : \
******(end of file extract)********
Question:
These are perl formatting codes right?
How can I "print" these kind of files to a local printer so perl outputs "clean" information?