Home > in solaris > lpadmin error fix

Lpadmin Error Fix

Contents

tool used to configure printer and class queues provided by CUPS. A system running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer configuration in solaris 10 printer. It can also be used to set the server default printer or class. how to enable printer in solaris 10 This tutorial explains how to add a new printer, setup printer options, and manage printers on Linux environment using lpadmin command examples. solaris lpstat 1. Adding a New Printer To add a new network printer with the name “HPLaserJetP3015” use the lpadmin command with -p option as shown below: # lpadmin -p HPLaserJetP3015 -v socket://19.86.82.172 -P /usr/share/cups/model/HP/LaserJet_P3005-Postscript.ppd # lpstat -v how to check print queue in solaris device for HPLaserJetP3015: socket://19.86.82.172 To verify if the printer is configured currently, you can use the command as shown in the below example: # lpstat -p HPLaserJetP3015 -l printer HPLaserJetP3015 is idle. enabled since Sun Jan 11 16:11:41 2015 2. PPD and Log Files In the above example, PPD files (is also known as PostScript Printer Description) are created by vendors to describe the entire set of features and capabilities available for their

Solaris 10 Printing

PostScript printers and they are usually located under /usr/share/cups/model/ directory. If you have any problems with configuring the printer, then please verify the logs at the below location for any error messages. This location may change depending upon the different distribution of Linux. # ls -l /var/log/cups/* -rw-r--r-- 1 root lp 6851 Jan 11 16:19 /var/log/cups/access_log -rw-r--r-- 1 root lp 13207 Jan 11 16:19 /var/log/cups/error_log 3. Configure Printer on Parallel Port In order to configure the printer on the parallel port (/dev/lp0), use the lpadmin command as shown in this example: # lpadmin -p HPDESKJET882 -v parallel:/dev/lp0 -m /usr/share/cups/model/HP/DeskJet_882C-cdj880.ppd 4. View All Available Ports for Printer Setup Also to list all the available ports or interfaces available to configure the printer can be displayed using lpinfo command, # lpinfo -v network socket direct hp network http network ipp network lpd direct parallel:/dev/lp0 direct scsi network tpvmgp network tpvmlp network smb 5. Multiple Printer Classes CUPS always checks for an available printer in the order in which printers were added to a class. You can add 1 or more printers to a class and when one of the printers becomes unavailable, the other printer defined in the class handles the print job requests. It is not mandatory to add printers in classes. One printer class can themsel

ProblemsNext: Appendix A Using the Internet Printing ProtocolTroubleshooting Printing Problems This section contains step-by-step instructions that explain: How to troubleshoot no output How to troubleshoot incorrect output How to unhang the lp

Solaris List Printers

commands How to troubleshoot an idle (hung) printer How to resolve conflicting solaris printer configuration files status messages Troubleshooting No Printer Output This task includes the following troubleshooting procedures to try when you lp stat submit a print request to a printer and nothing prints: Check the hardware (How to Check the Printer Hardware). Check the network (How To Check the Printer Network Connections). http://www.thegeekstuff.com/2015/01/lpadmin-examples/ Check the LP print service basic functions (How to Check the Basic Functions of the LP Print Service). Check printing from a Solaris print client to a Solaris print server (How to Check Printing From a Solaris Print Client to a Solaris Print Server). Try the first three procedures in the order in which they are listed, https://docs.oracle.com/cd/E19120-01/open.solaris/819-7761/tsprint-38200/index.html before going to the print client/server section. However, if the banner page prints, but nothing else does, turn to the instructions under How to Troubleshoot Incorrect Output. How to Check the Printer Hardware Check that the printer is plugged in and turned on. Check that the cable is connected to the port on the printer and to the port on the system or server. Make sure that the cable is the correct cable and that it is not defective. Refer to the manufacturer`s documentation. If the printer is connected to a serial port, verify that the cable supports hardware flow control. A NULL modem adapter supports this. The following table shows the pin configuration for NULL modem cables. Host Printer Mini-Din-8 25-Pin D-sub 25-Pin D-sub - 1 (FG) 1(FG) 3(TD) 2(TD) 3(RD) 5(RD) 3(RD) 2(TD) 6(RTS) 4(RTS) 5(CTS) 2(CTS) 5(CTS) 4(RTS) 4(SG) 7(SG) 7(SG) 7(DCD) 6(DSR), 8(DCD) 20(DTR) 1(DTR) 20(DTR) 6(DSR), 8(DCD) Check that any hardware switches for the ports are set properly. See the printer documentation for the

Strange, the LP print service took the request to delete printer or class "localdumb" but the disk c opy http://www.verycomputer.com/168_cb62b87b0013da8b_1.htm can't be deleted. (File exists) solved it by rm -rf /etc/lp/printers/* (there was only one printer installed) will patch http://cups.gcsysw.narkive.com/ehHf8IZs/socket-doesnt-exist-cannot-create-a-printer 101317-04 help? -- Brad Wilson Network Administrator 716-388-3475 [phone] in solaris 716-377-6332 [fax] Top 1. lpadmin errors when running as root on OpenServer 5 We are getting errors reported from lpadmin and other lp utilities on OpenServer 5 when we run as "root" rather than "lp". When attempting to either create or destroy a print queue while executing as "root", the following message is issued: in solaris 10 UX:lpadmin: ERROR: Received unexpected status 14 in a reply from the LP print service. TO FIX: It's likely there is an error in this software. Please get help from your system administrator. When attempting to set the state of a print queue via the "accept" command and when shutting down lp with "lpshut", we get: UX:accept: ERROR: You aren't allowd to do that. TO FIX: You must be logged in as "lp" or "root". (lpshut issues the message as a WARNING). We are running as "root" as our extensive scripts need root privileges. We get these messages whether we have "su'd" or logged in directly as "root". Does anyone have any insight into this? /Jeff ------------------------------------------------------------- Underscore, Inc. | ..uunet!mv.com!uscore!jds 41-C Sagamore Park Rd | Voice: (603) 889-7000 Hudson, NH 03051-4915 | Fax: (603) 889-2699 ------------------------------------------------------------- 2. errors when trying to start SunNet manager 2.2 discover 3. lp / lpadmin options ignored in Solaris 2.5 and cause error in 2.6 4. Chat and simple dialing of mod

been assigned to me. I cant get sockets to work.***@usclsmcq003/> lpadmin -p plyadm3 -v socket://172.16.1.34:9100 -P plyadm3.ppdUX:lpadmin: ERROR: "socket://172.16.1.34:9100" doesn't exist.TO FIX: Create the file, special device, or FIFOfor the -v option before running thiscommand.***@usclsmcq003/>I also tried ipp just for the insight. no dice.***@usclsmcq003/>***@usclsmcq003/> lpadmin -p plyadm3 -v ipp://172.16.1.34:9100 -P plyadm3.ppdUX:lpadmin: ERROR: "ipp://172.16.1.34:9100" doesn't exist.TO FIX: Create the file, special device, or FIFOfor the -v option before running thiscommand.There is a firewall between the server and the printers, but port 9100 is open both dirs, and I have had the firewall people monitor the FW when I attempt to create the printer and they do not see an attempt to trespass. I am wondering if cups ever really took hold of this server.cupsd and lpsched are up. what did I forget? haven't encounterd this before. what did I miss? I am under extreme deadline in mfg environment. help!Thanks!Ed Smith ed smith 2008-08-05 14:00:25 UTC PermalinkRaw Message Post by ed smithBinaries for Cups 1.1.21 was recently installed on a solaris 10 server. Config of cups has been assigned to me. I cant get sockets to work.UX:lpadmin: ERROR: "socket://172.16.1.34:9100" doesn't exist.TO FIX: Create the file, special device, or FIFOfor the -v option before running thiscommand.I also tried ipp just for the insight. no dice.UX:lpadmin: ERROR: "ipp://172.16.1.34:9100" doesn't exist.TO FIX: Create the file, special device, or FIFOfor the -v option before running thiscommand.There is a firewall between the server and the printers, but port 9100 is open both dirs, and I have had the firewall people monitor the FW when I attempt to create the printer and they do not see an attempt to trespass. I am wondering if cups ever really took hold of this server.cupsd and lpsched are up. what did I forget? haven't encounterd this before. what did I miss? I am under extreme deadline in mfg environment. help!Thanks!Ed SmithPS Forgot to include lpinfo -v***@usclsmcq003/opt/sfw/cups/sbin> ./lpinfo -vnetwork socketnetwork httpnetwork ippnetwork lpdserial serial:/dev/cua/a?baud=115200direct u

 

Related content

error could not create solaris disk label vtoc

Error Could Not Create Solaris Disk Label Vtoc table id toc tbody tr td div id toctitle Contents div ul li a href How To Create Ldom In Solaris a li li a href Ldom Creation In Solaris a li li a href Ldm List Vdisk a li li a href Ldm Add-vdsdev a li ul td tr tbody table p guest domain fails with the disk label error Virtual disk is a file image on a zfs file system Checking rules ok relatedl file Using profile disk ldom flar Executing JumpStart preinstall phase Searching for how to configure ldom

error cpu red-state exception reset recovery

Error Cpu Red-state Exception Reset Recovery table id toc tbody tr td div id toctitle Contents div ul li a href Why Do You Think Being Familiar With All Steps In The Boot Process Is Useful a li li a href How To Check Hardware Details In Solaris a li ul td tr tbody table p Join INTELLIGENT WORK FORUMSFOR COMPUTER PROFESSIONALS Log In Come Join Us Are you aComputer IT relatedl professional Join Tek-Tips Forums Talk With Other Members Be Notified how to check hardware error in solaris Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums

fsck fatal error

Fsck Fatal Error table id toc tbody tr td div id toctitle Contents div ul li a href Fsck Example a li li a href Fsck Unix a li li a href Fsck Command In Solaris a li li a href Fsck Ufs a li ul td tr tbody table p Expert Users Expert-to-Expert Learn advanced UNIX UNIX commands Linux Operating Systems System Administration Programming Shell Shell Scripts Solaris Linux HP-UX relatedl AIX OS X BSD Search Forums Show Threads Show p h id Fsck Example p Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to

hardware error logs in solaris

Hardware Error Logs In Solaris table id toc tbody tr td div id toctitle Contents div ul li a href Fmadm Faulty Command In Solaris a li li a href Solaris Check Hardware a li li a href Explain Directx a li li a href Solaris Syslog a li ul td tr tbody table p Commands Managing User Accounts and Groups Overview Managing User Accounts and relatedl Groups Tasks Booting and Shutting Down an Oracle p h id Fmadm Faulty Command In Solaris p Solaris System Working With Oracle Configuration Manager Managing Services how to check hardware error in solaris

mountd daemon.error no default domain set

Mountd Daemon error No Default Domain Set table id toc tbody tr td div id toctitle Contents div ul li a href Solaris Nfs Mount Options a li ul td tr tbody table p FORUMSFOR COMPUTER PROFESSIONALS Log In Come Join Us Are you aComputer IT professional Join Tek-Tips Forums Talk With relatedl Other Members Be Notified Of ResponsesTo Your Posts Keyword nfs server and client daemons in solaris Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All nfs daemons in solaris It's Free Join Us Tek-Tips's functionality depends on members receiving e-mail By joining you

mountd id daemon.error no default domain set

Mountd Id Daemon error No Default Domain Set table id toc tbody tr td div id toctitle Contents div ul li a href Nfs Server And Client Daemons In Solaris a li li a href Solaris Nfs Mount Options a li ul td tr tbody table p is NEXT WEEK In reply to linolil mountd - No default domain Next in thread linolil Re relatedl mountd - No default domain Reply linolil Re nfs daemons in solaris mountd - No default domain Messages sorted by date p h id Nfs Server And Client Daemons In Solaris p thread subject author