Here is a little tool I use to print hard copies of my source code from the PureBasic IDE...
http://www.reelmedia.org/pureproject/ar ... rdcopy.zip
Simply add it as a tool to the IDE and you can quickly print using CTRL-P
Setup instructions are in the ZIP file.
Hope others find it useful
Print Source Code from PureBasic IDE
Thanks for sharing this Paul
Very nice job!
Your program works really good. I especially like the professional header
your program prints too. That helps in quickly finding the source when
mixed in with other papers.
The only thing I think could be added is possibly being able to change the
font size. For me it's fine, but some may want a larger letter size.
Again, thanks very much for sharing.
Very nice job!
Your program works really good. I especially like the professional header
your program prints too. That helps in quickly finding the source when
mixed in with other papers.
The only thing I think could be added is possibly being able to change the
font size. For me it's fine, but some may want a larger letter size.
Again, thanks very much for sharing.
- Rook Zimbabwe
- Addict
- Posts: 4326
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Just posted an update (v2.00) which allows you print the entire source code that is loaded in the IDE or only the rows that are selected with the cursor.
This is good if you only what a hard copy of small snippits from larger programs.
Overwrite the old version of "Hard Copy" with this new one and change the arguments from
"%TEMPFILE" "%FILE"
to
"%TEMPFILE" "%FILE" %SELECTION
Instructions are in the ZIP file.
(also a small hidden feature, if you start the file with no parameters or double click the EXE to start, you will be able to customize some of the options)
This is good if you only what a hard copy of small snippits from larger programs.
Overwrite the old version of "Hard Copy" with this new one and change the arguments from
"%TEMPFILE" "%FILE"
to
"%TEMPFILE" "%FILE" %SELECTION
Instructions are in the ZIP file.
(also a small hidden feature, if you start the file with no parameters or double click the EXE to start, you will be able to customize some of the options)
Last edited by Paul on Thu Aug 27, 2009 5:36 am, edited 1 time in total.
hi paul, seems good. i also like the header.
i made a tool recently to print colored source.
viewtopic.php?t=38375&start=0&postdays= ... highlight=
source code is provided (blue link).
you can use it if you want to implement syntax hilighting.
i made a tool recently to print colored source.
viewtopic.php?t=38375&start=0&postdays= ... highlight=
source code is provided (blue link).
you can use it if you want to implement syntax hilighting.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
- netmaestro
- PureBasic Bullfrog
- Posts: 8425
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: Print Source Code from PureBasic IDE
Very useful! I know the thread is over ten years old..... but.... is it possible to adjust the program so that it prints out wider than the 80 columns it appears to currently be fixed at?
PureBasic 4.3 registered user