Printing a script in color

Easy to use, 100% Lua-based event scripting framework.
Post Reply
DomoticaRob
Posts: 38
Joined: Sunday 29 November 2015 15:03
Target OS: Raspberry Pi
Domoticz version: V3.8153
Location: Halle, the Netherlands
Contact:

Printing a script in color

Post by DomoticaRob » Monday 22 October 2018 20:49

I'm an old fasioned guy who likes to print stuff on paper so I can read it without a computer.
How can I print scripts on paper with different colors, the way it looks in my editor?
When I copy the script for example to Word the whole text becomes one color?

Enjoy, have fun,

Rob

User avatar
waaren
Posts: 1348
Joined: Tuesday 03 January 2017 15:18
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Printing a script in color

Post by waaren » Monday 22 October 2018 23:03

DomoticaRob wrote:
Monday 22 October 2018 20:49
I'm an old fasioned guy who likes to print stuff on paper so I can read it without a computer.
How can I print scripts on paper with different colors, the way it looks in my editor?
When I copy the script for example to Word the whole text becomes one color?

Enjoy, have fun,

Rob
Printscreen or snippit ?
Raspberry (debian stretch via berryboot on Synology DS916+) , Domoticz (almost) latest Beta, , dzVents 2.6, RFLink, RFXtrx433e, P1, Youless, Harmony, Hue, Yeelight, Xiaomi, HomeWizard, Zwave, Amazon echo

Lebo2d9
Posts: 150
Joined: Tuesday 06 September 2016 20:39
Target OS: Raspberry Pi
Domoticz version: L stab
Location: Belgium
Contact:

Re: Printing a script in color

Post by Lebo2d9 » Tuesday 23 October 2018 7:58

DomoticaRob wrote:I'm an old fasioned guy who likes to print stuff on paper so I can read it without a computer.
How can I print scripts on paper with different colors, the way it looks in my editor?
When I copy the script for example to Word the whole text becomes one color?

Enjoy, have fun,

Rob
Notepad++ maybe,
Domoicz on RPI3 (wifi) directly connected 3x ds18b20 for CV temp, Evohome (9 zone), 1 remote 220V switch based on ESP-12. RFXtrx433E, 16x AMST-606, 5 Somfy RTS motors
Domoticz on RPI3(wifi) as slave for terraruim control
More to come

DomoticaRob
Posts: 38
Joined: Sunday 29 November 2015 15:03
Target OS: Raspberry Pi
Domoticz version: V3.8153
Location: Halle, the Netherlands
Contact:

Re: Printing a script in color

Post by DomoticaRob » Tuesday 23 October 2018 22:19

Norepad++ is indeed a good solution. I have installed it and it does what I want. Thank you Lebo2d9.

Also thanks to waaren, I have tried snippit, it works, but needs more handling than Notepad++.

febalci
Posts: 353
Joined: Monday 03 July 2017 19:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Printing a script in color

Post by febalci » Tuesday 23 October 2018 22:53

Using Microsoft Visual Studio Code, not only for scripts but also for writing domoticz python plugins. Perfect it is...

Lebo2d9
Posts: 150
Joined: Tuesday 06 September 2016 20:39
Target OS: Raspberry Pi
Domoticz version: L stab
Location: Belgium
Contact:

Re: Printing a script in color

Post by Lebo2d9 » Wednesday 24 October 2018 7:41

DomoticaRob wrote:Norepad++ is indeed a good solution. I have installed it and it does what I want. Thank you Lebo2d9.

Also thanks to waaren, I have tried snippit, it works, but needs more handling than Notepad++.
Image
Domoicz on RPI3 (wifi) directly connected 3x ds18b20 for CV temp, Evohome (9 zone), 1 remote 220V switch based on ESP-12. RFXtrx433E, 16x AMST-606, 5 Somfy RTS motors
Domoticz on RPI3(wifi) as slave for terraruim control
More to come

User avatar
emme
Posts: 956
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Printing a script in color

Post by emme » Wednesday 24 October 2018 8:27

DomoticaRob wrote:
Monday 22 October 2018 20:49
I'm an old fasioned guy who likes to print stuff on paper so I can read it without a computer.
this is also called failsafe backup :lol: :lol: :lol: :lol: :lol:
The most dangerous phrase in any language is:
"We always done this way"

DomoticaRob
Posts: 38
Joined: Sunday 29 November 2015 15:03
Target OS: Raspberry Pi
Domoticz version: V3.8153
Location: Halle, the Netherlands
Contact:

Re: Printing a script in color

Post by DomoticaRob » Wednesday 24 October 2018 9:54

You're damn right.

DomoticaRob
Posts: 38
Joined: Sunday 29 November 2015 15:03
Target OS: Raspberry Pi
Domoticz version: V3.8153
Location: Halle, the Netherlands
Contact:

Re: Printing a script in color

Post by DomoticaRob » Saturday 27 October 2018 10:48

febalci wrote:
Tuesday 23 October 2018 22:53
Using Microsoft Visual Studio Code, not only for scripts but also for writing domoticz python plugins. Perfect it is...
I've installed it, it looks nice, but it has no printing capabilities. With printing I mean print the code on my printer (paper).

Unfortunately!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest