Hello, I could use some help printing

Skipperdan

New Member
Credits
0
I have been a Linux user for quite a while, but I do not use the terminal much. I want to print a list of directories in a folder. I used the ls command and I can see the list I want to print. I have tried ls > Print.txt and that did not work. I used lpstat -d and my printer is listed, although when trying to print it says my printer is unplugged or turned off. It is plugged in and turned on. I can print just fine from any word doc. I have linux 18.2 cinnamon 64 bit v 3.4.6 sonya

It would be easier if I could just print from the window but there is no option for that that I can see.

Thank you in advance Dan
 


Skipperdan

New Member
Credits
0
Yes I can see the list of folders that I want to print. I just opened the dir in a window the left clicked and went to open in terminal. once there I typed ls and all the folders listed.
 

721c63e946

New Member
Credits
13
I got the urge recently to get into B&W film photography. I hopped on craigslist and was extremely surprised to find someone giving away a pretty large chunk of darkroom stuff so I hopped on it and got it. Everything seems to be in great condition. All Tutuapp 9apps ShowBox original owner stuff.
 
Last edited:

captain-sensible

Well-Known Member
Credits
3,455
if i do this :

$ cd /
$ ls
bin dev home lib64 media opt root sbin sys usr
boot etc lib lost+found mnt proc run srv tmp var

its list the dirs.

Now I can put that into a text file BUT where do i want the txt to go : I suggest /home/user/Desktop


ls > /home/andrew/Desktop/print2.txt

is there a txt file ?

cd ~/Desktop

ls --color

print.txt

//just in case

sudo chmod 777 print.txt


to print that file, one way is to open it with a text editor geany, medit or other
or as you say try
 


Members online


Top