Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #linux #print #printer
ADD COMMENT
Topic
Name
4+8 =