- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problrm - add local printer
Categories
Company
Local Language
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
Discussions
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
Community
Resources
Forums
Blogs
- 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
03-06-2005 09:10 PM
03-06-2005 09:10 PM
i have a real problem in printer configuration,
first i want your help in defining the local printer that i define it from sam->printer and plotter->lp spooler->printer and plotter
then action ,add local printer and plotter
,with parallel interface then
when adding the printer it give me the folowing error "Lp destination "df" does not exist on PalEC1"and i continue and it appers on the system and then when i try to delete the printer it give me the same error.
i ty to add another printer with the same name but ut give me the same error
what should i do
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2005 09:14 PM
03-06-2005 09:14 PM
Re: problrm - add local printer
Use
lpadmin -xname
Then try to eadd it
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2005 09:19 PM
03-06-2005 09:19 PM
Re: problrm - add local printer
I would suggest that you follow the steps listed in the url below in achieving this
http://docs.hp.com/en/B2355-90053/ch07s01.html
regards
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2005 09:21 PM
03-06-2005 09:21 PM
Re: problrm - add local printer
"PalEC1:/:>>lpadmin -xlp1
lpadmin: destination "lp1" non-existent"
and when i use the command to an excessting printer it give me the following error
"PalEC1:/:>>lpadmin -xlp0
lpadmin: can't proceed - scheduler running"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2005 10:02 PM
03-06-2005 10:02 PM
Re: problrm - add local printer
I will try to address both your questions/issues
add a new printer it give the following error
"PalEC1:/:>>lpadmin -xlp1
lpadmin: destination "lp1" non-existent"
and when i use the command to an excessting printer it give me the following error
"PalEC1:/:>>lpadmin -xlp0
lpadmin: can't proceed - scheduler running"
Issue#1 - Adding a printer
--------------------------
"lpadmin: destination "lp1" non-existent"
The destination printer you specified i.e lp1 as an argument to lpadmin command is not a valid destination name
Make sure you specify a valid destination name in your lpadmin command
Issue#2 - Deleting/Removing printer
------------------------------------
"lpadmin: can't proceed - scheduler running" "
Many of the lpadmin command options cannot be executed while the scheduler is running. Stop the scheduler using the lpshut command and then try again
regards
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2005 10:30 PM
03-06-2005 10:30 PM
Re: problrm - add local printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2005 10:49 PM
03-06-2005 10:49 PM
Re: problrm - add local printer
Whats the printer that you are trying to add ? Does it have a DNS ?
rgds
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2005 10:50 PM
03-06-2005 10:50 PM
Re: problrm - add local printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2005 10:57 PM
03-06-2005 10:57 PM
Re: problrm - add local printer
Could you please follow the setup of the printer exactly as mentioned in the steps below and let us know what you see
http://docs.hp.com/en/B2355-90053/ch07s03.html
Note:- Looks like you would need to shutdown the scheduler as mentioned in my previous post. But before doing that, pls try to follow the steps listed in the url above and let me know.
regards
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2005 11:01 PM
03-06-2005 11:01 PM
Re: problrm - add local printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2005 11:16 PM
03-06-2005 11:16 PM
Re: problrm - add local printer
Now please look at this
http://docs.hp.com/en/B2355-90053/ch07s02.html#d0e19613
Also take note of the printer type you are trying to connect
rgds
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2005 11:20 PM
03-06-2005 11:20 PM
Re: problrm - add local printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2005 11:40 PM
03-06-2005 11:40 PM
SolutionThe following are the steps i typically follow, these are from my archives
Adding a Local Printer
----------------------
1. Physically connect the printer(s) to your system. Refer to the instructions shipped with your printer. You should always shut down your system and turn off the power when you are changing the hardware configuration of your system.
2. Gather the following information:
. The name you are giving to this printer or plotter. Printer names can be up to 14 characters in length, and the characters must be alphanumeric (A-Z, a-z, 0-9) or an underscore (_).
. The name of the device file that the printer or plotter will use. SAM creates the device file for you. SAM uses the default device file named lp_printer-name. You can override the default device file name by specifying your device file name when filling in the printer information.
. The model script from the /usr/spool/lp/model directory, for example, laserjetIIISi for an HP LaserJet IIISi.
3. The print request priority for this printer. The default is zero (0).
4. The class to which the printer or plotter will be added (optional). Printer class names can be up to 14 characters in length, and the characters must be from the set (A-Z, a-z, 0-9). The underscore (_) character is allowed in printer class names.
5. In addition, decide whether to make this device your system's default printer.
6. Run SAM.
Highlight Peripheral Devices and activate the Open control button.
Highlight Printers and Plotters and activate the Open control button.
Highlight Printers/Plotters and activate the Open control button.
Choose Add a Local Printer/Plotter > and the menu item associated with the printer interface type from the Actions menu.
NOTE: The printer driver must be part of the kernel to add the printer to the lp spooler. If the printer driver is not currently configured into the kernel, SAM prompts you to add the driver(s) and reboot the system.
7. Highlight the interface to which you connected the printer and fill in and additional information (port number or bus address) and activate the OK control button. If an interface entry is not listed, activate the Diagnose Missing Card control button.
8. Fill in the printer interface dialog box fields, choose from the menu button values, and turn on and off check box values.
9. Activate the OK control button.
As for the question you posed...what next ... if i am not using SAM, i will use the following HP-UX commands
1. Ensure that a device file exists for the printer
2. Stop the spooler using /usr/lib/lpshut command
3. Now add the printer to the spooler using lpadmin command as follows
/usr/lib/lpadmin -ppname -vdevfile -mmodel
where pname = printer name
devfile = device file
model = script file you would like to
use to model your printer
after
4. Allow prin requests to enter the request
directory using
/usr/lib/accept pname
5. Enable the newly added printer to process
print requests using
/usr/bin/enable pname
6. Finally start the line printer scheduler
/usr/lib/lpsched
Note:- Since you have been having problems, i would suggest that you check after everything to make sure that the scheduler is running using the command
/usr/bin/lpstat -r
I am sorry for the long post
regards
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2005 12:02 AM
03-07-2005 12:02 AM
Re: problrm - add local printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2005 12:08 AM
03-07-2005 12:08 AM
Re: problrm - add local printer
lpadmin -dprintername
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2005 12:09 AM
03-07-2005 12:09 AM
Re: problrm - add local printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2005 12:10 AM
03-07-2005 12:10 AM
Re: problrm - add local printer
You can do this by specifying in your spooler
Please see below
System Default Printer (Destination)
You can appoint one of the print destinations in your lp spooler to be the system default printer. It is not necessary to have a system default printer, but it is recommended. A system default printer receives any print requests that are not sent to a specific print destination. You can have only one system default printer.
In addition to, or instead of, a system default printer, you can assign each user a default printer to use. To do this, simply set the user's LPDEST shell environment variable to the name of the system default printer. If LPDEST is set and a user does not specify a different printer to use, the printer referenced by LPDEST will be used. If LPDEST is not set for a user, and the user does not specify a printer, the system default printer (if one is set) will be used. If neither LPDEST or the system default printer is set, a user must specify a printer (or printer class).
regards
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2005 12:47 AM
03-07-2005 12:47 AM