Link to home
Start Free TrialLog in
Avatar of waipahu
waipahu

asked on

LINUX CUPS print background bars

Can LINUX CUPS print background bars to make reports easier to read?
if so, how?
Avatar of Rance_Hall
Rance_Hall

do you mean to ask if cups can print alternating light background colors in a table?  sure.  If you format the print job to do just that.

care to be more specific about what you are looking for?
Avatar of waipahu

ASKER

Yes that's what I want.  
The reports will be accounting reports.  I want to have alternating horizontal grey bars going across the page to make it easier for the users to read.

ASKER CERTIFIED SOLUTION
Avatar of Rance_Hall
Rance_Hall

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of waipahu

ASKER

All i want to do is simulate a GREEN BAR report like a mainframe report. From top to bottom print alternating rows of grey bars.
Is there a simple of way doing this?
is the report generated by the server as a plain text file? or is it generated by the clients as part of an application?

If its a server generated text file, then you can write a txt to html conversion file that creates a html table with one row/cell per line in the text file, you can count the number of rows youve processed and if the row counter is odd add a background = #color option to the row, if its even, leave it out.

then when the html is rendered by the postscript imager this background is automatically added.

let me know if this is an option you can consider, if it isnt, maybe there is something else.



Avatar of waipahu

ASKER

The report by a batch application program in plain ascii text file on our server.
Currently, in the script, a lpr statement is used to send it to the printer.
I just thought there might be a way to print the grey shade bars in the background for readability.

I don't want to modify our exisiting programs to embed code to print out the grey bars.

Any ideas?

SOLUTION
Avatar of noci
noci

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial