- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lp:Default destination "dummy" non-existent
Operating System - HP-UX
1823926
Members
3166
Online
109667
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2005 01:47 AM
тАО02-03-2005 01:47 AM
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
When I try to do a print using "lp
lp:Default destination "dummy" non-existent
If I try to print using "lp -d
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
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2005 01:56 AM
тАО02-03-2005 01:56 AM
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.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2005 01:57 AM
тАО02-03-2005 01:57 AM
Solution
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)).
-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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2005 02:08 AM
тАО02-03-2005 02:08 AM
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
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
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP