[SOLVED] Color printing of my Source Editor code lazarus / 13-General ---------------------------------------------------------------------- WickedDum · 2015-01-30 00:51 I would like to print the code as it is displayed in the Source Editor, i.e. comments in blue, compiler instructions in red, reserved words bolded, etc.  I found a post from 2011 that mentioned it could not be done. Has this capability been implemented yet? (It's really not worth [Alt][PrintScreen]-ing and then pasting into Word ...)  Thanks!! ---------------------------------------------------------------------- Martin_fr · 2015-01-30 02:22 There is no direct way, but there is a better way than screenshots. File > Export as html Then print this. ---------------------------------------------------------------------- WickedDum · 2015-01-31 02:09 Thanks for the info!  I wasn't printing anyway.  ;-) Where's the code for the printer routines?  S'pose it wouldn't hurt if I took a look... ---------------------------------------------------------------------- Martin_fr · 2015-01-31 04:13 I think it is in the package Printer4LazIDE Find the RegisterIDEMenuCommand, that registers the handlers that are called. For colors see  ide/main.pp  line 3074 procedure TMainIDE.mnuExportHtml(Sender: TObject); ---------------------------------------------------------------------- WickedDum · 2015-01-31 06:03 Thank you!!