Given that every printer vendor (and even different printer lines from the same vendor) has different ways of assigning IP addresses, there's absolutely no way anyone can answer your question without at least knowing the make and model of your printer.
Even then, the support web site for the manufacturer would be the first place to look.