A) List possible printers:lpstat -a
B) Set global default printer: lpoptions -d [printer name] or export PRINTER=[printer name]
TIP: REPLACE [] WITH STANDARD HYPERTEXT PROTOCOL.
TIP: REPLACE WHATEVER IS BETWEEN THE [] WITH YOUR INFORMATION.
Hope that helps!
B) Set global default printer: lpoptions -d [printer name] or export PRINTER=[printer name]
TIP: REPLACE [] WITH STANDARD HYPERTEXT PROTOCOL.
TIP: REPLACE WHATEVER IS BETWEEN THE [] WITH YOUR INFORMATION.
Hope that helps!