Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
using TXT2PDF to colour specific lines

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
jzhardy

New User


Joined: 31 Oct 2006
Posts: 77
Location: brisbane

PostPosted: Thu May 14, 2020 9:46 am    Post subject: using TXT2PDF to colour specific lines
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: 77
Location: brisbane

PostPosted: Thu May 14, 2020 9:48 am    Post subject:
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 Member


Joined: 14 Mar 2007
Posts: 10696
Location: italy

PostPosted: Thu May 14, 2020 11:42 am    Post subject: Reply to: using TXT2PDF to colour specific lines
Reply with quote

from the txt2pdf url
https://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: 77
Location: brisbane

PostPosted: Thu May 14, 2020 12:07 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Blue zone error with an invalid exten... anslaan CICS 3 Wed Feb 12, 2020 9:21 am
No new posts DFSORT to handle in between specific ... subratarec DFSORT/ICETOOL 6 Thu Feb 06, 2020 1:22 am
No new posts Finding a string and concatinating mu... ArunkumarGanesan DFSORT/ICETOOL 11 Thu Jan 09, 2020 5:59 pm
No new posts How to include header and some detail... AllyDick DFSORT/ICETOOL 2 Sun Dec 08, 2019 10:19 pm
No new posts Merging lines knobi DFSORT/ICETOOL 4 Mon Nov 04, 2019 10:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us