[Autogenerated] When dealing with printers.
Understanding port is a crucial first step.
Think of ports as like the door which print jobs pass
different types of ports exist such as LPT for old printers
or TCP/IP for network printers.
These ports play a vital role in print jobs.
When you print something,
your computer sends the data through these ports to reach the printer.
Now ports don't act alone though.
They work in conjunction with drivers to make sure your
print job comes out just as you intended.
We'll get hands on with managing these ports later.
Let's I jump into another demo and this one,
we're going to manage all things printer ports.
We will view the current port configuration,
create a custom port and then we'll set a printer to use a new
port and finally remove an outdated port.
Without further ado let's get started first up.
Let's take a quick peek at the current state of
this print servers ports for that.
I'll use GIT printer port.
We've got two different port types, the standard TCP/IP port,
which is the network printers and a local port,
which is the printers supposedly connected directly to the server.
Our goal here is to standardize ports across print servers.
So let's start by creating a new custom port.
The ad printer port command lit is what we need here.
So the ad prayer port command lit creates a port in
this instance called new custom port.
And we're going to make that at network prayer and point
that to the IP address of 10.5 0.5 0.100.
Now that that port exists, we can configure a printer.
In this case,
we're going to use that printer called dummy printer to use that
port instead of the old one that it was using.
You see there by using the set printer, you can modify printers.
Now, since I don't have a physical printer to test a print job here,
you'll just have to trust me that it will print,
you could look for print jobs on that printer using the git print
job command and there are none there at this time.
Ok.
Last step.
So let's remove any outdated ports that are lingering around.
So look at all the ports again.
And let's see here.
Oh, I see a port called old port.
Let's say that that's old.
I didn't place that there.
I promise.
So we no longer need that port called old port.
Let's just remove it using removed printer port,
specify the name of the port hitting in and it's gone
and then checking printer ports again.
And you can see that old port is officially mixed.
So in just a few minutes, we created a custom printer port,
we configured a printer to use it and we removed an outdated port.