Printing ignores document class settings for some documents
Posted: Tue Jan 24, 2006 9:58 am
Heres the case...
I am using Textpad (ver 4.7.2) as GUI when writing c code. (used tp for this purpose for several years). On a new computer I have changed the document class settings for C files and the printing prefferenses to fit my needs (i.e. syntax highliting, printer borders and top text/ footer etc.).
In a project containing severeal files, both source and header files, i have selected all opened files in the document selector and choosen to print the documents. All documents then camed out with the new printing prefferences / formatting, except for ONE stupid file which decided to use the fuc.. default settings.
Strange thing is that this file (named radio.c) was created by copying an existing c file in the same project (which prints perfectly) and then renamed to radio.c. The same thing was done for radio.h which prints perfectly too.
While peeping on the properties for the radio.c file only it does show the old printer prefferences. But WHY? If i now changes the document class for c files, radio.c does not follow but the others does. Note that before I changed my document class settings all files followed the old default printersettings.
Some thoughts. Can it be that if the properties has been changed individual for a file it losses its connection to the global document class? I have not done this for the radio.c files but there are others working on the same project too so prehaps.... ?!?.
For a test, i (here and now) have copied the radio.c content, deleted the old file and created a new radio.c file. Now it does print correctly! Greate
Hmm. It seems like I have solved my own trouble while typing, but I choose to post it anyway for others who might have similar troubles.
I guess the problem was that the link to the document class was broken somehow. Anyone who wants to confirme this?
Regards
Vidar (Z)
I am using Textpad (ver 4.7.2) as GUI when writing c code. (used tp for this purpose for several years). On a new computer I have changed the document class settings for C files and the printing prefferenses to fit my needs (i.e. syntax highliting, printer borders and top text/ footer etc.).
In a project containing severeal files, both source and header files, i have selected all opened files in the document selector and choosen to print the documents. All documents then camed out with the new printing prefferences / formatting, except for ONE stupid file which decided to use the fuc.. default settings.
Strange thing is that this file (named radio.c) was created by copying an existing c file in the same project (which prints perfectly) and then renamed to radio.c. The same thing was done for radio.h which prints perfectly too.
While peeping on the properties for the radio.c file only it does show the old printer prefferences. But WHY? If i now changes the document class for c files, radio.c does not follow but the others does. Note that before I changed my document class settings all files followed the old default printersettings.
Some thoughts. Can it be that if the properties has been changed individual for a file it losses its connection to the global document class? I have not done this for the radio.c files but there are others working on the same project too so prehaps.... ?!?.
For a test, i (here and now) have copied the radio.c content, deleted the old file and created a new radio.c file. Now it does print correctly! Greate
Hmm. It seems like I have solved my own trouble while typing, but I choose to post it anyway for others who might have similar troubles.
I guess the problem was that the link to the document class was broken somehow. Anyone who wants to confirme this?
Regards
Vidar (Z)