Printing and the Prop Tool
CannibalRobotics
Posts: 535
Is there a way to just print the actual text of the code without the background?
I've tried all of the print options (HP LaserJet 1022) and it seems like there is no way around getting all of the background in either color or greyscale.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Signature space for rent!
Send $1 to CannibalRobotics.com.
I've tried all of the print options (HP LaserJet 1022) and it seems like there is no way around getting all of the background in either color or greyscale.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Signature space for rent!
Send $1 to CannibalRobotics.com.
Comments
I'm using v1.2.7 now. In the Propeller Tool, I select File > Print, then in the Tool's Print settings box I uncheck Syntax Print and Color Print. I didn't go into the Setup at the bottom of the dialog, and I'm printing to Adobe PDF at the moment. Unchecking the Syntax Print and Color Print don't work for you?
You might also try going into Edit > Preferences (F5), and changing the Syntax Highlighting scheme to None on the drop-down menu. Then, if I do a File > Print and don't even bother unchecking the Syntax Print and Color Print boxes, I still get a black & white PDF.
Please give these a try and let me know what happens, in case there's another bug I'm missing.
Thanks much,
-Steph
It seems to be an issue with the syntax print option. If you uncheck color print and syntax print, it works fine, but the code syntax is missing. However, with color print off and syntax print on, the white paper space around the code prints with the appropriate color for that section of the code.
I have just learned to deal with it since I don't print much and the syntax differences are not tremendous, but it is odd. the zip attached has two prints, as described below.
print-test-1.pdf = all print options checked except Color Print
print-test-2.pdf = all print options checked except Color Print and Syntax Print
last minute thought....... Could it be something to do with old installations of Propeller Tool? Even though I have version 1.2.7r2 on my work laptop, it is still pulling the library files and obvious option settings from the older versions folder. (IE: my font size in propeller tool can be changed in one and it will be reflected in the other). Should propeller tool be completely removed before installing a new version?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
WBA-TH1M Sensirion SHT11 Module
Special Olympics Polar Bear Plunge, Mar 20, 2010
Updated - I was a rev behind on that computer (oops!)
With the File>Print selection's made it prints purely black and white regardless of the syntax setting scheme.
As a suggestion for future versions, the color is really nice on the screen for boundaries between PUB/PRI and other blocks but it's ink and toner intensive in print mode. For black and white printing, perhaps a thin line all the way accross the page above each pub/pri statement.
Anyway, thanks for the help.
J-
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Signature space for rent!
Send $1 to CannibalRobotics.com.
-Steph
EDIT Select All, Copy
START Programs Accessories Notepad
EDIT Paste
FILE Print
Kind of defeats the purpose of an "IDE"...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John R.
Click here to see my Nomad Build Log
I am not employed by Parallax but I try to be helpful.
I guess I tripped and my foot is in my mouth again.
My comment was meant tongue in cheek, at least to some extent.
Your suggestion was "spot on" as a short term fix.
To be honest, I'm not a big fan of printing code. If you can't see it well enough to understand on the screen and in the IDE, then there is a very likely probabilty that your code structure needs some work. About the only time I print any code is as a snippet, and only then, as a reminder, or a place to jot a couple notes. Normally notes, etc., just go in as comments and cleaned out latter (if they ever get cleaned out).
This isn't a matter of "going green", but a matter of if the code is hard to work with, something could usually be done better. If I have to spend all my time pouring over a printout, I'm better off doing some refactoring.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John R.
Click here to see my Nomad Build Log