Hi,
I have written a 'C' programme that generates report in a flat text file. Then i print that text file using a 'lp' command in a simple shell script.
in a short, i need to insert page-break characters in my report file so that i can control page-braking from my 'C' programme. How do I do this? what sequence of character do i need for HP Laserjet 4100 series printer?
am i doing right? i.e generate report in a text file & then print using 'lp'. Or someone know betterway to print directly from 'c' programm?
Thanks for any comment
I have written a 'C' programme that generates report in a flat text file. Then i print that text file using a 'lp' command in a simple shell script.
in a short, i need to insert page-break characters in my report file so that i can control page-braking from my 'C' programme. How do I do this? what sequence of character do i need for HP Laserjet 4100 series printer?
am i doing right? i.e generate report in a text file & then print using 'lp'. Or someone know betterway to print directly from 'c' programm?
Thanks for any comment