lp FormFeed Escape characters

I'm trying to modify the /usr/lib/lp/model/netstandard file to generate a header for all the print jobs that are sent, but there is no formfeed defined so the the job prints right after the header with no page break. What is the sequence I need in order to generate a formfeed? Or, do you have another suggestion that would work better.

what unix os are you using?

Do the following if your OS is sun solaris

lpadmin -x printer_name
lpadmin -p printer_name -v/dev/null -m netstandard
lpadmin -p printer_name -T unknown -I any
lpadmin -p printer_name -o protocol=tcp -o dest=printer_ipaddres:9100
/usr/bin/enable printer_name
/usr/sbin/accept printer_name

Note:
printer_name will be the name of your printer while printer_ipaddress is the ip address of your printer.

Solaris 8

I have a printer defined and it is working, I'm just trying to edit the netstandard file so the header will be able to generate a formfeed. By default, it doesn't define a formfeed but it does have the code to process it.

We're supposed to call a formfeed a "new page" these days. It is an octal 14. Look at your docs for your echo statement to see how to generate an octal 14. For me
echo "\014\\c" does it.

thanks. That did it.