RDS wrote: ↑Thu Jul 09, 2020 9:43 pm
@pcmanbob
I also use all my pi's headless, in my case using VNC. Could you explain more about winscp please as I have now tried to paste the program listing into LIbreOffice and although it copies across, all the colour highlighting is lost and it the colour that makes the program far more readable.
Its not as if the pi cannot send colour because the Test Page that it did print out, has a colour logo on it.
WINscp :
https://winscp.net/eng/index.php
WinSCP is a popular SFTP client and FTP client for Microsoft Windows! Copy file between a local computer and remote servers using FTP, FTPS, SCP, SFTP, WebDAV or S3 file transfer protocols.
On the pi it uses the same assess a SSH and allows you to copy files from your pi to your PC or your PC to your pi, by simply dragging and dropping.
So once SSH is enabled on your pi and WINscp is installed on you PC and assuming both are on the same network you simple enter the IP address of your pi in to the required filed along with your user ID ( pi ) and the relevant password and click logon.
once connected you will be presented with this screen
on the left are the files on your PC you can navigate to any directory you wish on the right are files on your pi again you can navigate to any directory your wish.
notepadd++ :
https://notepad-plus-plus.org/
now if you have notepad++ installed on your PC you can open a python file on your pi directly in notepad++ on your PC by simply right clicking on the file in question and selecting edit then selecting notepad++
excuse the poor quality could not use my screen capture and retain the selections so had to use my phone to take picture.
once open in notepad++ you can simple print directly form there retaining indentation and colour highlighting.
hope this helps..