Printing a script in color

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
DomoticaRob
Posts: 80
Joined: Sunday 29 November 2015 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Halle, the Netherlands
Contact:

Printing a script in color

Post by DomoticaRob »

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: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Printing a script in color

Post by waaren »

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 ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Lebo2d9
Posts: 139
Joined: Tuesday 06 September 2016 20:39
Target OS: Raspberry Pi / ODroid
Domoticz version: L stab
Location: Belgium
Contact:

Re: Printing a script in color

Post by Lebo2d9 »

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: 80
Joined: Sunday 29 November 2015 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Halle, the Netherlands
Contact:

Re: Printing a script in color

Post by DomoticaRob »

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: 331
Joined: Monday 03 July 2017 19:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Printing a script in color

Post by febalci »

Using Microsoft Visual Studio Code, not only for scripts but also for writing domoticz python plugins. Perfect it is...
Lebo2d9
Posts: 139
Joined: Tuesday 06 September 2016 20:39
Target OS: Raspberry Pi / ODroid
Domoticz version: L stab
Location: Belgium
Contact:

Re: Printing a script in color

Post by Lebo2d9 »

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: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Printing a script in color

Post by emme »

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: 80
Joined: Sunday 29 November 2015 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Halle, the Netherlands
Contact:

Re: Printing a script in color

Post by DomoticaRob »

You're damn right.
DomoticaRob
Posts: 80
Joined: Sunday 29 November 2015 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Halle, the Netherlands
Contact:

Re: Printing a script in color

Post by DomoticaRob »

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