Author Topic: Print source code list in color...  (Read 12976 times)

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Print source code list in color...
« on: 2011-Mar-09 »
Hi!

I would like to propose an optional feature for the print section.

Currently, when sending a print source code, it displays black and white text. I tried to print a color printer (and also a PDF file) but does not show the font colors, etc ...

Would it be possible to add the option to print listings in colors as shown in the IDE?

Thanks in advance.

 ;)
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10859
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Print source code list in color...
« Reply #1 on: 2011-Mar-09 »
Print!? Like: Real paper!?
That's one interesting thing.

Offline Leginus

  • Dr. Type
  • ****
  • Posts: 288
    • View Profile
Re: Print source code list in color...
« Reply #2 on: 2011-Mar-09 »
Real paper??  Whats that?
Isnt that what brontosaurus ate??    :whistle:

Offline doimus

  • Dr. Type
  • ****
  • Posts: 284
    • View Profile
Re: Print source code list in color...
« Reply #3 on: 2011-Mar-09 »
Useless offtopic trivia time!

Want to know what's the most expensive liquid on planet Earth?
Oil? Blood?
No! Printer ink.

Carry on...

[But color printing to PDF could be useful for tutorials etc.]

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1793
    • View Profile
    • Homepage
Re: Print source code list in color...
« Reply #4 on: 2011-Mar-09 »
If you have to print in color, see my quick-fix:

GLBasic code coloring tool
« Last Edit: 2014-Sep-11 by Moru »

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: Print source code list in color...
« Reply #5 on: 2011-Mar-10 »
If you have to print in color, see my quick-fix:

GLBasic code coloring tool

Thanks for this form-web mini tool  =D ;)

http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: Print source code list in color...
« Reply #6 on: 2011-Mar-10 »
Print!? Like: Real paper!?
That's one interesting thing.

Yes!

I'm from old school... you know... I use pen and marker for unbug my code source :)


And.... if text are colored for printer.... are colored for PDF or another kind of virtual printer...
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1793
    • View Profile
    • Homepage
Re: Print source code list in color...
« Reply #7 on: 2011-Mar-10 »
I'm also old-school programmer but I stopped with paper when I stopped with RPG400 on form-paper :-) Did you try my code-coloring tool?


(Screenshot from some IBM manual, the manual we had at school filled a one meter broad shelf...)

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: Print source code list in color...
« Reply #8 on: 2011-Mar-11 »
I'm also old-school programmer but I stopped with paper when I stopped with RPG400 on form-paper :-) Did you try my code-coloring tool?


(Screenshot from some IBM manual, the manual we had at school filled a one meter broad shelf...)

Yes! I tried your tool and works fine! ;)

(I prefer edit/read/fix my source codes every X version evolution in paper.... not many ecologic.... but... my source code have more than 15 DIN A3 pages....)
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: Print source code list in color...
« Reply #9 on: 2013-Jul-17 »
If you have to print in color, see my quick-fix:

GLBasic code coloring tool

Hello @Moru... Do you have a offline version of this tool?

TIA, ;)
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3375
  • Integrated Brain
    • View Profile
Re: Print source code list in color...
« Reply #10 on: 2013-Jul-17 »
For a patch solution, if you make a copy /paste and put into of Notepad++ 2
Here a guy tolds, Notepad can print in Colour...


Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: Print source code list in color...
« Reply #11 on: 2013-Jul-18 »
For a patch solution, if you make a copy /paste and put into of Notepad++ 2
Here a guy tolds, Notepad can print in Colour...

 :good: Perfecto!
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3375
  • Integrated Brain
    • View Profile
Re: Print source code list in color...
« Reply #12 on: 2013-Jul-18 »
Bueno es una chapuza, pero cuando programes el spectrum no le pidas a la impresora colores XD XD

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: Print source code list in color...
« Reply #13 on: 2013-Jul-19 »
Bueno es una chapuza, pero cuando programes el spectrum no le pidas a la impresora colores XD XD

Jejejeje!

Larga vida al ZX! ;)
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1793
    • View Profile
    • Homepage
Re: Print source code list in color...
« Reply #14 on: 2013-Aug-14 »
If you have to print in color, see my quick-fix:

GLBasic code coloring tool

Hello @Moru... Do you have a offline version of this tool?

TIA, ;)

It has now been converted for the forums so just paste into a forums post and preview :-)
I don't have an offline version since it's written in PHP.