Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 6 of 6
  1. #1
    Evilguru is offline Registered User
    Join Date
    Jul 2005
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  2. #2
    ccsccs7 is offline Registered User
    Join Date
    Dec 2005
    Location
    California
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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. #3
    bodycode is offline Registered User
    Join Date
    Jun 2009
    Location
    Queens, NY
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Wow. That's EXACTLY it. Thanks!

  4. #4
    ccsccs7 is offline Registered User
    Join Date
    Dec 2005
    Location
    California
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by bodycode View Post
    Wow. That's EXACTLY it. Thanks!
    Glad it helped, bodycode.

  5. #5
    bodycode is offline Registered User
    Join Date
    Jun 2009
    Location
    Queens, NY
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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. #6
    ccsccs7 is offline Registered User
    Join Date
    Dec 2005
    Location
    California
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    My suggestion was about copying and pasting to (or opening a file driectly in) BBEdit.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •