Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux print to printer

#setup the printer, might not be required
#see avalaible printers
lpstat -p
#set the printer as printing destination
lpadmin -d [printer-name]
#check if the printer has been set as destination
lpstat -d


#print
lp /file-to-print
Comment

PREVIOUS NEXT
Code Example
Shell :: linux stop running script 
Shell :: contain sql commands in dockerfile 
Shell :: job name getprojectmetadata does not exist 
Shell :: pip upgrade version 
Shell :: neofetch in linux 
Shell :: nc http server 
Shell :: cmake 
Shell :: android home linux 
Shell :: install wmctrl 
Shell :: how to install docker linux mint 
Shell :: pulseaudio listen to microphone 
Shell :: git branch change remote 
Shell :: command not found pipenv zsh 
Shell :: add dir to your path kali 
Shell :: how to get out from vim editor 
Shell :: start up vagrant 
Shell :: install docker-machine linux 
Shell :: push an existing git repository 
Shell :: how to create a folder in linux 
Shell :: how to stop nohup process 
Shell :: sudo run command as another user 
Shell :: windows how to kill localhost:3000 
Shell :: how to install nginx on centos 7 
Shell :: how to host angular on github 
Shell :: linux ls show full path 
Shell :: linux zip file 
Shell :: git push takes forever 
Shell :: cookiecutter 
Shell :: apt install codium 
Shell :: npm colors 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =