IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

using TXT2PDF to colour specific lines


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jzhardy

New User


Joined: 31 Oct 2006
Posts: 89
Location: brisbane

PostPosted: Thu May 14, 2020 9:46 am
Reply with quote

I've got a requirement to produce PDF reports of SQL output (typically run from DSNTEP2).

I would like to be able to colour the input and output elements a different colour. Maybe even highlight DB2 errors and warnings as well.

Using TEXT ATTR with SCAN allows me to change the colour of a single text element based on a match, but what I need is to be able to dynamically colour complete lines based on content (or some keyword, such as "Output==>"

any help appreciated !!
Back to top
View user's profile Send private message
jzhardy

New User


Joined: 31 Oct 2006
Posts: 89
Location: brisbane

PostPosted: Thu May 14, 2020 9:48 am
Reply with quote

another way around this, does TXT2PDF allow for PDF command directives within the TXT input file ?
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Moderator


Joined: 14 Mar 2007
Posts: 10722
Location: italy

PostPosted: Thu May 14, 2020 11:42 am
Reply with quote

from the txt2pdf url
www.sanface.com/txt2pdf.html

Quote:

Here there are some of the things that you can achieve with txt2pdf:
. . .
. . .
You can mark coloured (using regular expressions) sentences in the produced PDF files.
. . .
Back to top
View user's profile Send private message
jzhardy

New User


Joined: 31 Oct 2006
Posts: 89
Location: brisbane

PostPosted: Thu May 14, 2020 12:07 pm
Reply with quote

my operating environment is Z/OS. I don't believe the implementation of TXT2PDF supports Regex expressions. I wish it did !!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts REMOVE DUPLICATE RECORDS BASED ON A S... DFSORT/ICETOOL 4
No new posts Need to split single line into two li... DFSORT/ICETOOL 7
No new posts TXT2PDF and then SMTP email a PDF JCL & VSAM 4
No new posts Join lines with dfsort DFSORT/ICETOOL 5
No new posts Blue zone error with an invalid exten... CICS 3
Search our Forums:

Back to Top