Go to Post More to the point, stop worrying about whether your "Atlanta bot" got screwed over or whatever. Worry about whether you've got an "Atlanta team." - RebelWithARobot [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-06-2004, 11:57
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Question Code Print

Does anyone know how to get multiple code files to a single PDF?

What I'm hopping for is to be able to save a bunch of different code files (PIC C), where a new file begins a new page, and preferably with syntax coloring. Help?
  #2   Spotlight this post!  
Unread 05-06-2004, 12:33
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Code Print

Quote:
Originally Posted by Astronouth7303
Does anyone know how to get multiple code files to a single PDF?

What I'm hopping for is to be able to save a bunch of different code files (PIC C), where a new file begins a new page, and preferably with syntax coloring. Help?
I don't know much about it, but I know this would be possible with PHP. That would be look too, because then it could be something available to everyone if you want it to be.
__________________

  #3   Spotlight this post!  
Unread 05-06-2004, 12:36
Max Lobovsky's Avatar
Max Lobovsky Max Lobovsky is offline
Fold em oval!
FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Scotch Plains, NJ
Posts: 1,026
Max Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant future
Send a message via AIM to Max Lobovsky
Re: Code Print

Quote:
Originally Posted by Texan
I don't know much about it, but I know this would be possible with PHP. That would be look too, because then it could be something available to everyone if you want it to be.
It would be pretty easy in PHP thanks to PDFlib functions.
__________________
Learn, edit, inspire: The FIRSTwiki.
Team 1257


2005 NYC Regional - 2nd seed, Xerox Creativity Award, Autodesk Visualization Award
2005 Chesapeake Regional - Engineering Inspiration Award
2004 Chesapeake Regional - Rookie Inspiration award
2004 NJ Regional - Team Spirit Award
  #4   Spotlight this post!  
Unread 05-06-2004, 12:40
mtrawls's Avatar
mtrawls mtrawls is offline
I am JVN! (John von Neumann)
#0122 (NASA Knights)
Team Role: Programmer
 
Join Date: Mar 2003
Location: Hampton, VA
Posts: 295
mtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to behold
Send a message via AIM to mtrawls
Re: Code Print

Quote:
Originally Posted by Astronouth7303
Does anyone know how to get multiple code files to a single PDF?

What I'm hopping for is to be able to save a bunch of different code files (PIC C), where a new file begins a new page, and preferably with syntax coloring. Help?
Well, do you have just the Acrobat reader program? Assuming this is the case ... you might try PDF::Create, a perl module. This way you could loop over all the files you wanted and harness perl's text processing ability to add syntax highlighting yourself (if desired). Also, OO.o will export to PDF.
  #5   Spotlight this post!  
Unread 05-06-2004, 13:29
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Code Print

Quote:
Originally Posted by mtrawls
Well, do you have just the Acrobat reader program? Assuming this is the case ... you might try PDF::Create, a perl module. This way you could loop over all the files you wanted and harness perl's text processing ability to add syntax highlighting yourself (if desired). Also, OO.o will export to PDF.
I'll try that. I don't actually know pearl, but my dad does, so I'll ask him.

I do have PDFwriter (Adobe's PDF print driver), but the problem is that I can't find an editor that will print several files at once.

So far, the best solution I have found is to print them one at a time, open the results, copy them into Word, respace it, and then print it out again. Quite labor intensive. I tried to find an HTML type printer, but no luck (HTML would be easy to append).
  #6   Spotlight this post!  
Unread 05-06-2004, 17:18
Max Lobovsky's Avatar
Max Lobovsky Max Lobovsky is offline
Fold em oval!
FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Scotch Plains, NJ
Posts: 1,026
Max Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant future
Send a message via AIM to Max Lobovsky
Re: Code Print

Why do you print them to PDFwriter first? To save the color coding? There are dozens of text editors with syntax highlighting. I'm sure some of them will let you copy with color in tact. There is a thread listing a dozen or so (I think you posted in it, so I'm sure you know).

I'd still do it in PHP (or Perl). If you do it in PHP, use SilverStar's C highlighter at http://nrg.chaosnet.org.
__________________
Learn, edit, inspire: The FIRSTwiki.
Team 1257


2005 NYC Regional - 2nd seed, Xerox Creativity Award, Autodesk Visualization Award
2005 Chesapeake Regional - Engineering Inspiration Award
2004 Chesapeake Regional - Rookie Inspiration award
2004 NJ Regional - Team Spirit Award
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is your most prefered programming language? Hailfire Programming 156 19-01-2005 21:42
heres the code. y this not working omega Programming 16 31-03-2004 15:18
Interrupt timer, executing code asap? SeanCassidy Programming 10 07-03-2004 01:47
Inserting Naviagation code into Default code? actorindp Programming 3 28-01-2004 18:12
Does your team use the Default code. Jeff McCune General Forum 2 09-01-2003 14:46


All times are GMT -5. The time now is 06:36.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi