Operating System - HP-UX
1823923 Members
3067 Online
109667 Solutions
New Discussion юеВ

Re: lp:Default destination "dummy" non-existent

 
SOLVED
Go to solution
Gary Cooper_1
Esteemed Contributor

lp:Default destination "dummy" non-existent

I have just installed HP JetDirect Installer for Unix on my B2600 and set up a LaserJet 4100 as type 4000 series, having elected to set it to the system default.

When I try to do a print using "lp ", I get:

lp:Default destination "dummy" non-existent

If I try to print using "lp -d " it works fine.

lpstat shows the printer as the system default destination and /var/spool/lp/default is set to my printers name.

Any help would be much appreciated,

Gary
3 REPLIES 3
RAC_1
Honored Contributor

Re: lp:Default destination "dummy" non-existent

man lpadmin
lpadmin -d"printer_queue" sets "printer_queue" as default destinations.

If default printer is not set, you can also define LPDEST variable for it.
There is no substitute to HARDWORK
RAC_1
Honored Contributor
Solution

Re: lp:Default destination "dummy" non-existent

From lp man page.

-ddest Select dest as the printer or class of printers that is
to do the printing. If dest is a printer, the request
will be printed only on that specific printer. If dest
is a class, the request will be printed on the first
available printer that is a member of the class. Under
certain conditions (printer unavailability, file space
limitation, etc.), requests for a specific dest might
not be accepted (see accept(1M) and lpadmin(1M)).

If the -d option is omitted, dest is taken from the
environment variable LPDEST. If that variable is unset
or empty, the default queue is used, if one has been
defined. If there is no default queue, or LPDEST is
set but invalid, lp issues an error message and the
request is not queued. Printer and class names and the
default queue are defined by your LP subsystem
administrator (see lpadmin(1M) and lpstat(1)).


There is no substitute to HARDWORK
Gary Cooper_1
Esteemed Contributor

Re: lp:Default destination "dummy" non-existent

Thanks Royal Automobile Club!

Your second posting steered me in the right direction - it ws an environment variable!

PRINTER=dummy

I unset this variable, then it worked a treat - only need to find where it's set now...

Thanks again,

Gary