Hi, I want to print my source code (*.C files) with a Form Feed at specific positions. Printing will be on a HP LaserJet 5P. I tried to insert a FF character as comment, but my printer does not do a form feed, it just prints a square. My system is running windows ME while the printer is attached via network and connected to a windows XP machine. Just to try out I inserted an #pragma eject and printed the *.lst, but no form feed was done where it should be. Any hints are very welcome. thx Heino
OOOPS... never mind... my bad.
I actually printed my files from my *other* editor. It handled the non-printable char's correctly. Looks like the KEIL uVision editor doesn't. Not sure yet, but it looks like the uVision editor strips out the non-printable char's before sending the file to the printer. Bummer.
Oh-well, there are plenty of freeware/shareware editors that can colorize C code just fine and print formfeeds wherever you'd like. They don't force you to print KEIL's version of the *ideal* header and footer either. They let you pick the printer font, font size, etc. too, which I can't figure out how to do via KEIL's editor. Bummer.
Sorry for the false alarm. Looks like KEIL will make us use someone else's editor to get printouts we like.