Printing Line Numbers In Xcode

Discussion in 'Software Programming & Web Scripting' started by Evilguru, Dec 1, 2005.

  1. Evilguru

    Evilguru Registered

    Joined:
    Jul 27, 2005
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  2. ccsccs7

    ccsccs7 Registered

    Joined:
    Dec 4, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Library Assistant
    Location:
    California
    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…
     
  3. bodycode

    bodycode Registered

    Joined:
    Jun 21, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Disabled, therefore, unemployed.
    Location:
    Queens, NY
    Wow. That's EXACTLY it. Thanks!
     
  4. ccsccs7

    ccsccs7 Registered

    Joined:
    Dec 4, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Library Assistant
    Location:
    California
    Glad it helped, bodycode.
     
  5. bodycode

    bodycode Registered

    Joined:
    Jun 21, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Disabled, therefore, unemployed.
    Location:
    Queens, NY
    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.

    Page attributes
    Layout
    Color Matching
    Paper Handling
    Cover Page
    Scheduler
    Two Sided Printing
    Paper Type/Quality
    Borderless 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.

    Regards,
    Marshall
     
  6. ccsccs7

    ccsccs7 Registered

    Joined:
    Dec 4, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Library Assistant
    Location:
    California
    My suggestion was about copying and pasting to (or opening a file driectly in) BBEdit.
     

Share This Page