SlideShare a Scribd company logo
Sangeetha Subramani
11/1/2017
Bangalore
Unix/Linux Printer Driver
Introduction
2
 Any Developer or Tester has to learn installation
of printer driver on UNIX machine to develop and
test any printer driver activities. This document is
useful for you if you are interested in learning
Printer Driver installation and uninstallation on
multiple UNIX OSs.
 This document contains commands for
installation,uninstallation of Printer drivers,Printing
the documents,Sharing the Printers ,Changing
the local language on Linux machine.
Table Of Contents
3
 Print Job Process
 Flow of Print Process
 Install Driver
 Palomino OS Commands
 Print A File
 Generate PRN Files
 Uninstall Driver
 Setup Windows Printer
 Share the Printer
 Log on Ubuntu and Choose the Printer
 Change System Locale
 Enable System Proxy & Launch Apps
Print Job Process
4
Processing Print Jobs
 A print job can be started either from the command line or from
an application
 Spooler receives print request, known as a print job, and places
it in a print queue
 Spooler Sends to the Print Filter
 Filter sends data to Printer
BACK
Flow of Print Process
5 BACK
Install Driver
6
Steps to Install Printer Driver in Ubuntu
 Copy Driver Package to Local System
 Open a terminal and enter the command
 sudo dpkg -i <driver package.deb>
 Press the 'Enter’ button
 Enter password and Press Enter button once again
BACK
Palomino OS Commands
7
OS Packag
e Type
Install Query Uninstall
Ubuntu .deb dpkg -i {Package} dpkg -s
PrtDrv(provided by
client)
dpkg -r
PrtDrv(provi
ded by
client)
Red
Hat
.rpm rpm -U {Package} rpm -qi
PrtDrv(provided by
client)
rpm -e
PrtDrv
Solaris .pkg pkgadd -d {Package} pkginfo -l
PrtDrv(provided by
client)
pkgrm
PrtDrv(provi
ded by
client)
HP-UX .depot swinstall -s
{Package}
swlist PrtDrv(provided
by client)
swremove
PrtDrv(provi
ded by
client)BACK
Print A File
8
 Enter the folder path in terminal where the text file present
 Enter the command
‘print –d<Queuename> <text file name>’
Ex: print (This command is provided by client) –dread XYZ
 Opens driver GUI and do settings and click ‘Print’ button
BACK
Generate PRN Files
9
Steps to generate the PRN File
 Enter the folder path in terminal
 Enter ‘touch <prn file name>’
 Launch Print Manager
sudo prtmgr(Provided by Client)
 On the Specific Printer Manager, click on the ‘Discovered Printers’
button
 Click on ‘Discovered Printer Options’ button on ‘Install Printers’
dialog
 Select ‘Manual Install’ option
BACK
Continued…1
10
 ‘Queue Setting’ will be launched
 On ‘Queue Setting’ dialog, enter queue name and select the Printer
model
 Select ‘Local device’ from the ‘Connection Type’ menu
 Enter the complete path where prn file is created
Ex; /home/labadmin/Desktop/<prn file name>
 Click OK button
BACK
Continued..2
11
 Run the command
‘print –d<queue name> <output file name>’
 Go to the path where prn created and run the
command ‘vi <prn name>’ to view prn file
BACK
Uninstall Driver
12
Steps to Uninstall Printer Driver in Ubuntu
 Following Command needs be enter in terminal
 sudo dpkg -r PrtDrv(Provided by Client)
To remove residual packages execute the below commands
 For (Ubuntu/Solaris/AIX/HP-UX) use
 rm –rf /opt/PrinterName’ (Provided by Client)
 For other OS (OPEN SUSE/FEDORA/RED HAT) use
 rm –rf /usr/PrinterName(Provided by Client)
BACK
Setup Windows Printer
13
Setup Windows Printer in Ubuntu 12.04
 Logon to Windows and right-click the printer you wish to share
and click ‘Printer properties’
BACK
Share the Printer
14
netsh advfirewall firewall set rule group="File and
Printer Sharing" new enable=Yes
BACK
Log on Ubuntu and Choose the Printer
15
 Logon to Ubuntu
 Select Printers. The add a printer. When prompted to select a device,
choose ‘ Windows Printer via SAMBA’.
 List of printers available will be listed.
 Choose the Printer.
 Enter the Windows computer IP address or hostname followed by
the printer shared name
BACK
Change System Locale
16
Command to change Local Langauage
 dpkg -reconfigure locales
 dpkg -i package name
 rm -r package name
 rm /var/lib/dpkg lock => to unlock dpkg
 Service cups restart => to restart cups
BACK
Enable System Proxy & Launch Apps
17
commands to enable proxy and application installation
 sudo su
 export http_proxy=http://XX.XXX.XX.XX:XXXX
 export https_proxy=http://XX.XXX.XX.XX:XXXX
 apt-get update
 apt-get install openssh-server*
 apt-get install openssh-client*
 apt-get install xsane
 grep -r (recursive) PRINTERNAME * -> Example
 grep -i (Case insensitive) PRINTERNAME * -> Example
BACK
THANK YOU
18
 For any queries please contact :
sangeethas1989@gmail.com
 My Linkedin Login ID is:
https://www.linkedin.com/in/sangeetha-subramani-05029833
 Date of the slide created: 11th January 2017
BACK

More Related Content

PPTX
Windows Citrix environment
PPTX
Cloud printing 20012017
PPTX
UNIT 2 P3 and d1
PPTX
PPT
Computer basic
PPTX
Network printer configuration
PPTX
Pace IT - Printer Installation
PPTX
Sistema Circulatorio
Windows Citrix environment
Cloud printing 20012017
UNIT 2 P3 and d1
Computer basic
Network printer configuration
Pace IT - Printer Installation
Sistema Circulatorio

Similar to Unix printer driver_2ndfeb2017_final (20)

PPT
Network Implementation and Support Lesson 08 Printers - Eric Vanderburg
PPT
CUPS: Common UNIX Printing System
PPT
Ch14 system administration
DOCX
Printing in linux with cups
PPSX
Lesson 10: Managing Printers
PPT
Chapter08 Implementing And Managing Printers
PPT
Linux Troubleshooting
PPT
Installing modem,printer.47
PDF
Rpt005 008-010 lynux driver installation manual
PPTX
Module 7 (printing) Review
PPTX
Printing with cups (linux)
PPTX
Manged print services 1
PPTX
Printershut | Epson printer drivers for windows
PPT
2123.a better waytoprint.universal print
PDF
인터맥프린터 Intermec PX4i PX6i 열전사감열 RFID 산업용 바코드프린터 매뉴얼
PDF
Unit 9 basic system configuration tools
PDF
New Standards for Enterprise Thermal Printer Management
PPTX
Working with Printers
PPTX
Linux training
PPTX
Epson Connect Printer Setup Utility | Setting Up
Network Implementation and Support Lesson 08 Printers - Eric Vanderburg
CUPS: Common UNIX Printing System
Ch14 system administration
Printing in linux with cups
Lesson 10: Managing Printers
Chapter08 Implementing And Managing Printers
Linux Troubleshooting
Installing modem,printer.47
Rpt005 008-010 lynux driver installation manual
Module 7 (printing) Review
Printing with cups (linux)
Manged print services 1
Printershut | Epson printer drivers for windows
2123.a better waytoprint.universal print
인터맥프린터 Intermec PX4i PX6i 열전사감열 RFID 산업용 바코드프린터 매뉴얼
Unit 9 basic system configuration tools
New Standards for Enterprise Thermal Printer Management
Working with Printers
Linux training
Epson Connect Printer Setup Utility | Setting Up
Ad

Recently uploaded (20)

PPTX
web development for engineering and engineering
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Welding lecture in detail for understanding
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Well-logging-methods_new................
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPT
Mechanical Engineering MATERIALS Selection
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
DOCX
573137875-Attendance-Management-System-original
web development for engineering and engineering
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Structs to JSON How Go Powers REST APIs.pdf
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Welding lecture in detail for understanding
CH1 Production IntroductoryConcepts.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Well-logging-methods_new................
UNIT 4 Total Quality Management .pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
OOP with Java - Java Introduction (Basics)
Arduino robotics embedded978-1-4302-3184-4.pdf
Mechanical Engineering MATERIALS Selection
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
573137875-Attendance-Management-System-original
Ad

Unix printer driver_2ndfeb2017_final

  • 2. Introduction 2  Any Developer or Tester has to learn installation of printer driver on UNIX machine to develop and test any printer driver activities. This document is useful for you if you are interested in learning Printer Driver installation and uninstallation on multiple UNIX OSs.  This document contains commands for installation,uninstallation of Printer drivers,Printing the documents,Sharing the Printers ,Changing the local language on Linux machine.
  • 3. Table Of Contents 3  Print Job Process  Flow of Print Process  Install Driver  Palomino OS Commands  Print A File  Generate PRN Files  Uninstall Driver  Setup Windows Printer  Share the Printer  Log on Ubuntu and Choose the Printer  Change System Locale  Enable System Proxy & Launch Apps
  • 4. Print Job Process 4 Processing Print Jobs  A print job can be started either from the command line or from an application  Spooler receives print request, known as a print job, and places it in a print queue  Spooler Sends to the Print Filter  Filter sends data to Printer BACK
  • 5. Flow of Print Process 5 BACK
  • 6. Install Driver 6 Steps to Install Printer Driver in Ubuntu  Copy Driver Package to Local System  Open a terminal and enter the command  sudo dpkg -i <driver package.deb>  Press the 'Enter’ button  Enter password and Press Enter button once again BACK
  • 7. Palomino OS Commands 7 OS Packag e Type Install Query Uninstall Ubuntu .deb dpkg -i {Package} dpkg -s PrtDrv(provided by client) dpkg -r PrtDrv(provi ded by client) Red Hat .rpm rpm -U {Package} rpm -qi PrtDrv(provided by client) rpm -e PrtDrv Solaris .pkg pkgadd -d {Package} pkginfo -l PrtDrv(provided by client) pkgrm PrtDrv(provi ded by client) HP-UX .depot swinstall -s {Package} swlist PrtDrv(provided by client) swremove PrtDrv(provi ded by client)BACK
  • 8. Print A File 8  Enter the folder path in terminal where the text file present  Enter the command ‘print –d<Queuename> <text file name>’ Ex: print (This command is provided by client) –dread XYZ  Opens driver GUI and do settings and click ‘Print’ button BACK
  • 9. Generate PRN Files 9 Steps to generate the PRN File  Enter the folder path in terminal  Enter ‘touch <prn file name>’  Launch Print Manager sudo prtmgr(Provided by Client)  On the Specific Printer Manager, click on the ‘Discovered Printers’ button  Click on ‘Discovered Printer Options’ button on ‘Install Printers’ dialog  Select ‘Manual Install’ option BACK
  • 10. Continued…1 10  ‘Queue Setting’ will be launched  On ‘Queue Setting’ dialog, enter queue name and select the Printer model  Select ‘Local device’ from the ‘Connection Type’ menu  Enter the complete path where prn file is created Ex; /home/labadmin/Desktop/<prn file name>  Click OK button BACK
  • 11. Continued..2 11  Run the command ‘print –d<queue name> <output file name>’  Go to the path where prn created and run the command ‘vi <prn name>’ to view prn file BACK
  • 12. Uninstall Driver 12 Steps to Uninstall Printer Driver in Ubuntu  Following Command needs be enter in terminal  sudo dpkg -r PrtDrv(Provided by Client) To remove residual packages execute the below commands  For (Ubuntu/Solaris/AIX/HP-UX) use  rm –rf /opt/PrinterName’ (Provided by Client)  For other OS (OPEN SUSE/FEDORA/RED HAT) use  rm –rf /usr/PrinterName(Provided by Client) BACK
  • 13. Setup Windows Printer 13 Setup Windows Printer in Ubuntu 12.04  Logon to Windows and right-click the printer you wish to share and click ‘Printer properties’ BACK
  • 14. Share the Printer 14 netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes BACK
  • 15. Log on Ubuntu and Choose the Printer 15  Logon to Ubuntu  Select Printers. The add a printer. When prompted to select a device, choose ‘ Windows Printer via SAMBA’.  List of printers available will be listed.  Choose the Printer.  Enter the Windows computer IP address or hostname followed by the printer shared name BACK
  • 16. Change System Locale 16 Command to change Local Langauage  dpkg -reconfigure locales  dpkg -i package name  rm -r package name  rm /var/lib/dpkg lock => to unlock dpkg  Service cups restart => to restart cups BACK
  • 17. Enable System Proxy & Launch Apps 17 commands to enable proxy and application installation  sudo su  export http_proxy=http://XX.XXX.XX.XX:XXXX  export https_proxy=http://XX.XXX.XX.XX:XXXX  apt-get update  apt-get install openssh-server*  apt-get install openssh-client*  apt-get install xsane  grep -r (recursive) PRINTERNAME * -> Example  grep -i (Case insensitive) PRINTERNAME * -> Example BACK
  • 18. THANK YOU 18  For any queries please contact : sangeethas1989@gmail.com  My Linkedin Login ID is: https://www.linkedin.com/in/sangeetha-subramani-05029833  Date of the slide created: 11th January 2017 BACK