December 1st, 2005, 11:32 AM #1
Printing Line Numbers In Xcode
Does anyone know if it is possible to get Xcode to print out the line numbers when you print a source code file? I often print out my nicely highlighted source code and would very much like to see the line numbers as well; like I do in the editor.
Thanks for all of your help.
December 4th, 2005, 05:01 PM #2
Well, if you don't do a whole lot of printing, it wouldn't be too inconvenient to use BBEdit or BBEdit Lite (now discontinued). In the print dialog, select "BBEdit…" from the print options popup (the one that starts at "Copies & Pages." There you can select the option to print the code with page numbers.
Now, if "highlighted" refers to formatting, I guess that wouldn't work…
June 21st, 2009, 04:19 AM #3
Wow. That's EXACTLY it. Thanks!
June 21st, 2009, 04:25 AM #4
Glad it helped, bodycode.
Originally Posted by bodycode
June 21st, 2009, 04:37 AM #5
Spoke too soon. Sorry. That didn't work for me, of course, I probably did something wrong. Under Xcode 3x, when you select "file print", you get a dialog box.
In that dialog boxk you get a drop down menu, with the following selections.
Two Sided Printing
Printer Driver Information
Supply Levels (I have an Hp c7280, it shows ink levels)
Last, a summery, which lists all the drop down list items as selectable stuff.
Where do I find print to BBedit?
Thanks in advance. BTW, Copies and Pages from Summery doesn't show any option to select BBEdit as the target output.
June 21st, 2009, 04:48 AM #6
My suggestion was about copying and pasting to (or opening a file driectly in) BBEdit.