Printer set and format?

I have a network printer LaserJet 4050N on Sun Solaris Sun-Fire-408R.
When I lp text.lis, it printed out steps like indent lines.
When I unix2dos test.lis, it print out all right.

I tried to print a report from Banner Finance - FGRCTRL, and chose the the same printer with command line:

/usr/lib/lp/postscript/postprint -pland -s 8 @ |/bin/lp -o nobanner

It only print out the title of the report, and everything else is just plain blank.

Please advise.
Thanks.

this seems like a mis configured print filter on your sun machine.
what you need to do instead is configure your solaris machine to
be its own print server for the printer, so the solaris interface script will send the right format to the printer
Do the following:

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.

It works fine right now. Thanks.

Also if you can help me with making the printer to print in landscape format.
Thanks.