Need Help Adding Network Printer
I am trying to add a network printer on a Solaris (Sun OS 5.6) system. I am doing this using lpadmin as outlined in volume 2 of the system admin guide.
The printer appears on the system, but when I try sending a print job, I get the message 'Segmentation error - core dumped' and nothing prints on the printer.
I have added the printer to the etc/hosts and can ping it o.k.
Any ideas would be greatly appreciated.
Thanks
There is info missing from your post that I like to have when considering these issues, so here is what I'm assuming:
You used the command:
lpadmin -p printername -v /dev/null -m netstandard -o dest=printerhostname -I contentype -T printertype
(note: I like -m netstandard instead of
-i /usr/lib/lp/model/netstandard because I'm lazy! they mean and do the same.)
You have the latest version of patch 106235 for lp, which I believe is -09
This is perhaps not the first printer or first attempt at adding a printer on this host.
Possibly this machine was upgraded from a previous version of Solaris?
If you can find the core file (it may be where you issue the lp command or in the /var/spool/lp/tmp directory), you can use the adb command to at least extract the name of the binary that is coring:
adb core
This could be several things that could require anything from a spool clean to an remove and reinstall of the print packages. Any more details you can provide? Perhaps the output of lpstat -p printername -l? Does this happen with any printer you create?
Similar Messages
-
I need help adding my printer to my home wireless network
My printer was shut down for several months. When i turned it on it was not longer connected to my wireless network. It recognizes my SSID and that of other wireless networks in the area. But I cannot get it connected to my home wireless network.
When I enter my passphrase it returns error "passphrase invalid." If I use the Push Button or PIN set-up I get the error message "WPS timed out."
I have followed the instructions useing the HP Printer set-up disc. It worked on one computer today (it printed a wireless network test report). But, then I could not find the printer on the network later. I also noticed the report does not show a IP address for the printer.
I have also been online with my internet provider and we changed my passphrase 11 times and the printer never recognized any of them. I am operating another printer wirelessly on the same system. By the way, shutting the other printer down did not seem to work. But, they both worked on the network previously.I have also added and deleted the printer several times.
The printer I am trying to add is a HP Photosmart Premium Web C309n-s
I am using a Windows 7 Operating System 64-bit on my laptop and Windows XP 32 bit on the other computers on my home wireless network,
Please help.Does this help? http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03112838&tmp_task=solveCategory&cc=us&dlc=en&la...
Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
I am employed by HP -
I need help for network printer installation.
Hi, I want to install Konica bizhub 7228 network copier in Mac v10.6.2. I have some trouble please advise the mathod of installation.
The only printer driver I see for that is a Postscript driver at http://onyxftp.mykonicaminolta.com/download/SearchResults.aspx?productname=7228.
Are you able to define your printer to the network? Can your MacPro see it? Can you describe what you've done and the nature of the trouble ...
Also ... you posted in the iMac discussion ... you might post in the MacPro discussion at https://discussions.apple.com/community/desktop_computers/mac_pro -
I need help getting my printer to work
I need help getting my printer to work
http://h30434.www3.hp.com/t5/Printer-Networking-and-Wireless/Want-Good-Answers-Ask-Good-Questions/td...
Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
I am employed by HP -
I need help adding a mouse motion listner to my game. PLEASE i need it for
I need help adding a mouse motion listner to my game. PLEASE i need it for a grade.
i have a basic game that shoots target how can use the motion listner so that paint objects (the aim) move with the mouse.
i am able to shoot targets but it jus clicks to them ive been using this:
public void mouse() {
dotX = mouseX;
dotY = mouseY;
int d = Math.abs(dotX - (targetX + 60/2)) + Math.abs(dotY - (targetY + 60/2));
if(d < 15) {
score++;
s1 = "" + score;
else {
score--;
s1 = "" + score;
and here's my cross hairs used for aiming
//lines
page.setStroke(new BasicStroke(1));
page.setColor(Color.green);
page.drawLine(dotX-10,dotY,dotX+10,dotY);
page.drawLine(dotX,dotY-10,dotX,dotY+10);
//cricle
page.setColor(new Color(0,168,0,100));
page.fillOval(dotX-10,dotY-10,20,20);
please can some1 help meplease can some1 help meNot when you triple post a question:
http://forum.java.sun.com/thread.jspa?threadID=5244281
http://forum.java.sun.com/thread.jspa?threadID=5244277 -
Need help adding schedule to xcode 4
I need help adding a tour schedule for an iphone app building an app for 13 djs and they want thier tour schedules added these need to be updated monthly is there a way to add this????
I don't know if this is the easiest way but it works for me. I connect the DVD player to my camcorder (so it's the 3 plugs yellow/red/white on one end and a single jack into the camera). Then I connect my camcorder to the computer (I think it's through a firewire port). Then I just play the DVD and the footage is digitized via the camcorder and I import it into iMovie 4 as it's playing. I believe the camcorder is just in VCR mode.
I have also used this method to transfer VHS tapes onto DVDs via the camera by connecting the VCR to the camera.
I haven't had much luck with movies over about 40 minutes on iMovie. But if it's home movies, there may be a logical break. Do maybe 20 minute segments (it's also really easy on iMovie to add a soundtrack if these are OLD films with no sound.
As you can see, I'm low tech!
Good luck!
Powerbook G4 Mac OS X (10.3.9) -
Need help getting new printer hp deskjet 3520 setup for eprint and wireless
need help getting new printer hp deskjet 23520 stup for eprint and wireless
Hi Pastorlee7,
I see that you're having problems setting up your printer. I would take a look at the document below.
Hp deskjet 3520
Let me know how it goes. -
Need help with duplicate print jobs over network that I can't cancel
I have the Photosmart Premium All-in-One on my home network. My kids who each have laptop running Windows 7 and are connected via wireless to the printer via a DLINK DIR-655.
They hit the print button too many times and it keeps printing over and over again.
Is there a way to get the printer to stop printing these duplicates. I tried turning off/on but they just keep printing.
We're wasting paper/ink and I need help with a solution.
Please let me know. Thanks.
AngeloThere should be a button with a red 'X' on it on the front of the printer. This is the print cancel button.
Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
I am employed by HP -
Need help, trying to print strings backwards while ignoring certain things.
To clarify the topic what I mean is I want to spell the words the user inputs backwards while skipping over certain characters. Here's my code:
import javax.swing.*;
import java.util.*;
import java.text.*;
import java.io.*;
class SConvert{
private static final char BLANK = ' ';
private static final String stop = "STOP";
public static void main(String[] args){
char[] ignore = new char[21];
ignore[0] = '.';
ignore[1] = '/';
ignore[2] = '>';
ignore[3] = '<';
ignore[4] = ',';
ignore[5] = '?';
ignore[6] = '-';
ignore[7] = '~';
ignore[8] = '!';
ignore[9] = '@';
ignore[10] = '#';
ignore[11] = '$';
ignore[12] = '*';
ignore[13] = '&';
ignore[14] = '^';
ignore[15] = '%';
ignore[16] = '`';
ignore[17] = '_';
ignore[18] = '+';
ignore[19] = '=';
ignore[20] = '|';
String word, statement, append;
boolean go = true;
int i, numOfchar, index;
char[] chr;
index = 0;
word = " ";
statement = " ";
append = " ";
Scanner scanner = new Scanner(System.in);
while (go){
System.out.println("Enter a word");
word = scanner.next();
chr = word.toCharArray();
numOfchar = word.length();
if (word.equals(stop)){
break;
else if (index < numOfchar && word.charAt(index) == BLANK + BLANK){
index = BLANK;
else if (index < numOfchar && word.charAt(index) == (int)ignore[19]){ //Trying to range for entire array, I don't know how.
index++;
else
for (i = word.length() - 1; i >= 0; i--)
statement = statement + chr;
append = append + " " + statement;
System.out.print(append + " ");
What's messing me up is the fact that whenever I try to enter words into the program, printing append only repeat EVERY occurance of statement. For example, say I type in "Ham with gravy." I get "maH htiwmaH yvarghtiwmaH".
That's not what I want. Also, I don't know how to make the entire array of ignore available to the program, anyway to do that?Wow. What's with the hostility? Even I was in error of detecting anything that could have solve the problem completely there's no need to use such a negative tone, epsecaility with someone who is learning to program in OOP, let alone the syntax of Java. Also, no your program did not solve all of my problems in it's original form. Let's take a look at it.
Here's your code:
import java.lang.String;
import java.util.*;
public class ReverseString {
public void ReverseString(){
public void printReverse(String s){
int i;
String noPrint = "no print'";
char ch = '*';
if(s.length()>1) printReverse(s.substring(1));
ch = s.charAt(0);
if (!noPrint.contains(ch + " ")) System.out.print(ch);
return;
public static void main(String[] args) {
String myString = Here is my String.;
System.out.print("My String: " + myString + " Reverse: ");
new ReverseString().printReverse(add);
System.out.println();
}In it's original state the program doesn't allow for any user input, which is something I needed (and added on my own), it doesn't convert the ignore[] I had in my original code to anything readable (however this can be done in the noprint String quite easy as someone else mentioned earlier.) the if command does in fact ignore the special characters in noprint String HOWEVER it doesn' t not print those characters as they would appear in the myString String in the position that it original appeared in (which is the primary problem I am having.) That is the problem with your code and why it is not the complete to soultion to my homework problem. I've modified your code to satisifed all but one of the problems.
Modified:
import java.lang.String;
import java.util.*;
public class ReverseString {
public void ReverseString(){
public void printReverse(String s){
int i;
String noPrint = "~`!@#$%^&()-=+[{]}\':;?/>.<,'";
char ch = '*';
if(s.length()>1) printReverse(s.substring(1));
ch = s.charAt(0);
if (!noPrint.contains(ch + " ")) System.out.print(ch);
return;
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String myString;
String add = " ";
while (true) {
System.out.println("Please input String.");
myString = scanner.next();
add = add + myString;
if (myString.equals("STOP")){
break;
System.out.print("My String: " + add + " Reverse: ");
new ReverseString().printReverse(add);
System.out.println();
}If you run this code you'll see what am talking about. The only remaining problem, which I am about to restate if you are still unclear of it, is that the noprint String contents are ignored but not printed in the original position. If you are still having trouble understanding what I am talking about then let me show what I got by running the program.
String: Ham with grav?y
Reverse: yvarg htiw maH. [Note the ? is missing.]
By removing the ! in the if command I get:
Reverse: y?varg htiw maH. [Now the ? is in the wrong position.]
It's suppose to be:
String: Ham with grav?y
Reverse: yvarg htiw ma?H.
Secondly, I understand that you are frustrated with my apparent lack of understanding of proper Java tems and syntax but you must keep in mind I am student thus I am not fully aware of java as you are. With that one would expect you to act with a bit more patience, yet you not only took offense to an innocent comment you choose to slander my name and intelligence by erasing your code and calling my understanding of Java, ?ignorant.? I may be less than careful with my choice of words concerning Java but I do understand enough code to know the inner workings of a typical program, so please refrain from calling me ignorant or any variant of this in the future.
I merely asked for help from general populous, do not think I owe you any particular praise for your code even if I find it is not exactly what I desired. I may be new to java but I am not new the message boards. With that said I find your response awfully rude and ask if you to refrain from do so in the future. I'm assuming you are an adult so act least act like someone with a bit of civility. If you were so committed to believing your code was the de facto solution to this problem then you could have simply asked why I say what I said, if had done so and shown me the error of my statement I would have not taken offense. Instead you choose to throw a fit and deleted your code. I do not know if you are like this around other board members but you should at least show courtesy to all members of this forum regardless of their time here.
With that said, I think I've all ready found a solution to this problem I've had. I'll just tell the program to simply count over the position the character is in. That way it will stay in the same position. -
[Solved] Adding Network Printer Arch+Openbox
I've Arch with openbox installed. I need to add the network printer so I can print stuff at my university without switching to windows (hate windows :S). I went to IT guys at my school and they gave me printer queue information and they have no clue how to install network printers on Linux. This is the instruction file they gave me:
To add printer support, from the console type "printtool". You have to be in X-windows to use this application, it does not run in the console.
Click on "Remote Unix (lpd) Queue".
Names = $$$$
Spool Directory = /var/spool/lpd/lp0
Remote Host = $$$$
Remote Queue = $$$$
Above instructions are for Red Hat Linux and I do not have printtool. I was reading about cups, lpd, lpr and but I'm confused, I do not want to setup network printer I just need to print documents from the network printer that has been already setup in my uni network. Any help would be appreciated.
Last edited by shivamkalra (2013-10-07 17:55:02)1) Your printer already has a cups server. Edit your client.conf and be happy.
2) Your printer allows remote lpd and you want to print without cups. Use LPRng instead (install from AUR). Since most applications are preconfigured for CUPS this will be more work and you'll have to know what you are doing.
3) Your printer allows remote lpd and/or some other protocol. Install and start the cups server, add the network printer and start printing. I already mentioned this in my previous post.
By the way, the wiki mentions this (except for the unsupported LPRng)
https://wiki.archlinux.org/index.php/CU … g_workflow
There are two ways to setup a printer.
* If there's a CUPS server running in your network and sharing a printer you only need to install the client package.
* If the printer is connected directly to your system or you have access to an IPP network printer then setup a local CUPS server.
Last edited by progandy (2013-10-03 20:24:21) -
I have a macbook pro. I am trying to add my network printer from work (HP LaserJet 5000 Series PCL) so I can print from my desk. The problem is that I have not been able to do it. I did some reasearch and I downloaded the HP drivers. I typed in the IP address and nothing??
I am not sure what I am doing wrong?
The only thing I can think of is that the network printer is attached to my work computer, I'm using Windows 2000, and I don't have administrator privilages? Not sure if this is even a factor when I am trying to connect my macbook pro.
Any help would be appreciated.
mac book pro Mac OS X (10.4.9)Ok, so to confirm, the printer is not "attached (directly) to your computer" but is connected to the network?
When you say everything grayed out, you mean on the Sharing tab? If so, that's not a privilage issue, as I have admin rights on my work PC and it's grayed out for me too. But on mine, the radio button for Share this printer is active - is yours?
Also, click on the Ports tab, and confirm that it's an IP address and a Standard TCP/IP port that's checked. If there's a Windows network address (e.g. letters+numbers, no periods), then that's what you need to enter as the location in printer setup on your mac. -
Need help to find printer setup utility
I recently bought my first Mac and have slowly been adding to it over the last couple of weeks. Today I added a new printer that I wish to connect wirelessly. The printer is a Brother MFC-3360. I installed the software that came with the printer and had the printer connected directly to the Mac Book. It printed just fine.
I then disconnected the USB cable and plugged it into the Extreme Base station. It failed to print. According to the Extreme manual, I need to open printer setup utility, located in the utilities folder in the applications folder. Then from there I need to add the printer.
The problem is, I have no printer setup utility. Is there another place where it might be located?
Any other ideas will be much appreciated. Thank you!Found problem. Went to Sys prefs -> Printers and Fax -> removed my printer and re-installed. Works like a charm.
-
can anyone give me to some advice. I was using an older version of photoshop elements where i could position the image i wanted to print on the page. I could resize it, move it around and add more photo's. I print small images that I cut out for jewelry making and need to be able to add 12 small images to a 4x6 print size page. My new elements is not allowing me to do that! I'm frustrated and need help!! thanks!
It should work just the same as before: create a blank document, place your images on it, then print it. The only difference is that you can't change the position of the image in the print window anymore.
-
I am trying to dual boot Arch Linux and Ubuntu. When I try to boot there is no option for Arch. I have added it to the menu.lst file in ubuntu. Arch is installed on sdb1 according to sudo fdisk -l I need help!
Fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb38ab38a
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9544 76662148+ 83 Linux
/dev/sda2 9545 9729 1486012+ 5 Extended
/dev/sda5 9545 9729 1485981 82 Linux swap / Solaris
Disk /dev/sdb: 40.9 GB, 40992473088 bytes
255 heads, 63 sectors/track, 4983 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0002eb1f
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 4891 39286926 83 Linux
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000ea9be
Device Boot Start End Blocks Id System
/dev/sdc1 1 30401 244196001 7 HPFS/NTFS
I think Arch is on the 40GB partition
Menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 0
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
# examples
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=ce3a864f-3f72-480b-96b3-54516b307170 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=ce3a864f-3f72-480b-96b3-54516b307170
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 9.04
uuid ce3a864f-3f72-480b-96b3-54516b307170
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=ce3a864f-3f72-480b-96b3-54516b307170 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
#title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
#uuid ce3a864f-3f72-480b-96b3-54516b307170
#kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=ce3a864f-3f72-480b-96b3-54516b307170 ro single
#initrd /boot/initrd.img-2.6.28-11-generic
#title Ubuntu 9.04, memtest86+
#uuid ce3a864f-3f72-480b-96b3-54516b307170
#kernel /boot/memtest86+.bin
#quiet
# (0) Arch Linux
title Arch Linux
root (hd1,0)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26.img
### END DEBIAN AUTOMAGIC KERNELS LIST
title Arch
rootnoverify (hd0,1)
chainloader +1 -
Downloaded Epsom printer app need help to set printer up on iPad 3
Need help to set up Epsom printer to ipad3 downloaded Epsom app can find the printer but don't know where to set up
It's Epson, not epsom. Epsom refers to epsom salt (magnesium sulfate).
... Anyway, iPads don't have printers directly set up. You might interface with a printer over a WiFi. That could be done either using Apple's AirPrint (if the printer is new enough) or maybe you have Epson's iPrint utility.
If you have the iPrint utility, you simply open the utility, click the "maintenance" button in the lower left, and select the "Printer" on the top and set it up there.
Maybe you are looking for
-
When I turn on my Ipad2 it won't scroll in any direction and there is a voice explaining everything you do. How do get it to scroll again and turn off the voice. I have tried to reset it both ways and when I go to settings > general I don't see a res
-
Another BPM question... SOAP-XI-IDOC with ALEAUD Idoc
Hi, Have a few problems with this BPM. 1- I'm testing my scenario with XMPSpy and when I look at my message in SXMB_MONI, I see the inbound message with the SOAP envelop in one long string. Usually I don't see it and I think this is why my mapping
-
Does the Z77MA-G45 support SLI?
I'm building a mATX PC and have two graphics cards that I would like to run in SLI, I've found this motherboard but the information listed doesn't say whether it does or doesn't support SLI. I've found conflicting information elsewhere.
-
My daughter is taking a physics course. How does one type X to the power of 2 when using word or numbers? I tired to find it with search but to no avail. Thanks.
-
Why Is The Menu On The Master Page BELOW The Objects In Other Pages?
I added a menu on the master page using the Composition widget called featured news and it stays behind the other objects on normal pages. How do I fix this? Here are the pictures of the menu when it's closed and when it's open.