-p p3005 \
-v lpd://p3005.example.com/hp-p3005 \
-m postscript-hp:0/ppd/hplip/HP/hp-laserjet_p3005-ps.ppd \
-Eoption forces to use encryption when connecting to the server. Note the last
-Eoption which means something different entirely. We'll come back to it.
-poption expects the so-called destination, in other words the name of the printer to create.
lpadmin -voption is used for specifying the device URI, including the protocol –
lpd, here. Note that it's not the entire line as
lpinfowill normally print it out and you need to leave out the connection type, e.g.
lpadmin -moption lets you indicate the model. It can be referred to either with what
lpinfo -moffers to you – and there's nothing to leave out there, this time. Or it can be referred to directly with a PPD file.
-Eoption, this time supplied after
-p, means ena