Ubuntu :: Parallel To USB Printer Cable - Shell Command To "mount" It At Startup
May 5, 2011
what shell command I should look into that will "mount" a printer that is present in lsusb output, but not present in /dev/usb/? I have a working printer connected with a Parallel to USB printer cable, but after I reboot the machine the printer is not "mounted" (for lack of the correct term?) at /dev/usb/lp0 until I unplug the USB cable and plug it back in lsusb sees it always though.
I'd like to connect a parallel port printer to my new desktop and have got a Connectland C36 cable that shows up as: Bus 003 Device 002: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port.I've tried the URI /dev/usb/lp0 but I don't mange to set the printer working. May I need any driver?
I have been trying to install an old HP Laserjet 4100 printer using an USB to Parallel Cable (Cables Limited USB IEEE 1284 printer cable). The driver provided with the cable worked on windows XP and I was able to print. The cable is also sold as supporting Linux but it seems that is was tested for fedora core 4 and Moschip Support Team wrote me that ubuntu 9.04 was not supported. When trying to install the driver (makefile) I got a lot of errors (see annex) . I have a System 76 PC with ubuntu 9.04, kernel 2.6.28-17-generic, intel(R) Core(TM). Whwn connected the printer is not recognized.
How to install the cable ? Or any trade / model of printer cable really able to work with ubuntu ?
Additional information: lsusboutput, linux dirver file list, errors whwn carrying out the make and dmesg output
Additional information: lsusb indicates Bus 002 Device 002: ID 9710:7705 MosChip Semiconductor Printer USB to Parallel
I am trying to print to an HP LaserJet 6L via a USB->parallel printercable, from a CentOS 5.3 machine using CUPS 1.3.7, but I cannot get itto work.When I plug the cable into the USB port on the CentOS computer, I seethat the following devices are created:
crw------- 1 root root 442, 6145 Aug 13 08:28 /dev/usbdev4.2_ep00 crw------- 1 root root 442, 6145 Aug 13 08:28 /dev/usbdev4.2_ep02 crw------- 1 root root 442, 6145 Aug 13 08:28 /dev/usbdev4.2_ep81
My new Shuttle runs Debian fine, but like most new systems, the old serial and parallel ports are long gone. I have no problems with the serial port - there is a Sourceforge driver to use with most PL-2303 type USB to Serial adapter cables. But, I am having trouble googling up the USB to Parallel connection. There are no lack of USB/Parallel cables, but all that I have found come with canned software for Windows and only for connecting a printer. I have several non-printer devices that connect via the P-Port that I access using a Perl driver from CPAN. Anybody know of an open source *nix driver for any particular USB/PP cable? Or had any experience in moving from the straight PP to a USB/PP connection to a non-printer device?
I like the way 10.04 lts is running on my old PC, except I can't seem to install my HP 895C. This printer worked on previous releases on Ubuntu. The printer is local and cabled to the PC's parallel port. But "Add" under printing doesn't show any parallel printers under local printers. Only shows serial port, other, and network printers. Is this because 10.04 is beta? "Troubleshooting printers" doesn't have a list of printers. Is the lpt1 in PC speak /dev/lp0 in Linux? Should that be the printer URI?
I have a parallel printer working on a desktop. I want to share it with my laptop, but I don't want to have to use samba. Both have ubuntu 10.04 installed.
I'm sure it can be done, but I'll be darned if I can find anything in the skimpy admin. tools.
When I boot fc14 with an already defined printer connected on the parallel port, then I can use the printer. The printer appears on parallel:/dev/lp0. But, if the printer is not connected during startup, when I connect the printer I cannot use it. Nothing happens. I have no corresponding message using "dmesg" command when I connect the printer.
I cannot make cups see that the printer is connected, using "localhost:631" in firefox. Is it possible to "mount" the printer manually? Using "system-config-printer", the printer has to be "activated", even though it is not used or even connected. Then "parport" module is installed during boot (with other related modules: "ppdev" and "parport_pc").
Then, when the printer is connected, "dmesg" shows : lp0: using parport0 (interrupt-driven). lp0: console ready And, of course, it is now OK to use the printer.
It's some years since I last used Fedora. I'm looking at Fedora 14 KDE spin and trying to figure out how to install my old HP Laserjet parallel port printer. In the printer configuration utility I can only find options for network printers. I can't find any option to add a local printer.
i want to know whether we can write a shell script which can utilize 2 CPU's of a cluster...I heard its possible through C Shell [URL] But im familiar with bourne shell only....So is there a possibility to write Parallel Scripts.
I currently cannot get my printer to work (nothing ever get's printed) even though CUPS seems to be correctly configured and reports all jobs as "completed" without any errors. As I know that my printer works (I can print from my laptop on it) I currenty suspect my new PC's parallel port to maybe have a hardware issue. My question is now is there any way to check the parallel port?
Here are some details: from dmesg: lp0: using parport0 (interrupt-driven). from lsmod: parport 27954 3 ppdev,lp,parport_pc
In the BIOS the mode is set to EPP. So as far I can see (I am not really an expert) the kernel-modules are there, /dev/lp0 exists and has the proper permissions. Yet doing 'echo -en " Hello f" >/dev/lp0' does not produce any Putout on my printer that is connected via the parallel port.
I use (open) SUSE since version 7.1 and never had any trouble using my HP Laserjet 4L. So I hardly paid any attention to the installation after installing OpenSuse 11.2. Until I tried to print something from OpenOffice.org and my printer started printing empty pages with a first page with some garbage. It looked like a wrong driver. Suse recognized the printer without any trouble and installed - what seemed the correct - driver. I tried several other drivers from the list but they all gave the same result.
Something wrong with the printer - which functions already more than ten years? I tried it on Windows Vista (dual boot on the same computer) and Vista printed without any problem a correct test page. So nothing wrong with the printer. I tried a live CD with Ubuntu 9.10. And Ubuntu gave the same problem as OpenSuse: printing a line with garbage and empty pages. Is something wrong with the kernel?
After a fresh install of suse 11.4, Yast cannot configure my local printer (Epson Epl-5700) because there is no parallel port available. How can I make parallel ports work?
I have a printer that is not getting a device node assigned at boot.The printer is attached with a USB to Parallel (IEEE-1284) adapter cable.When I plug in the usb cable when the machine is running, the printer is assigned the device node: /dev/usb/lp0
I am guessing that during startup, the printer device is not detected since it is plugged in over an adapter cable which may be considered a device in itself?This is for a retail store, and we rely on the printer to pop the cash drawer open, so it kinda has to work without a "secret handshake".Unfortunately our workstations do not have Parallel ports. I would be happy to share terminal output, udev info, I'll write you a poem but I could sure use a helping hand- I'm stumped!
I just installed a Brothers HL2170W printer on my desktop which is running Ubuntu 1004 I had no problem with the install and it is working. The problem is when I send a page to print it takes 5 minutes before it prints. if this is normal or if there is a fix. I have the printer connected with a USB cable.
I have upgraded from 9.04 to 10.04. 9.04 found my usb connected printer ( LaserJet 6MP) with no problems. But 10.04 will not find the usb port to which my printer is connected. I have searched for a solution on the forum, and others seem to have a similar problem, but not recognized it. For some it seemed to have self corrected, but I am having no such luck. I have downloaded hplip from [URL]
Following their instructions, I have run "hp-setup" in Terminal. This gives the following output: Code: cs@cs-desktop:~$ hp-setup HP Linux Imaging and Printing System (ver. 3.10.5) Printer/Fax Setup Utility ver. 9.0 Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with absolutely No warning. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. Searching... (bus=usb, search=(None), desc=0) error: No devices found on bus: usb After disconnecting and reconnecting the printer cable, I used the command "dmseg| tail"
Terminal output: Code: s@cs-desktop:~$ dmesg | tail [263.646972] Buffer I/O error on device fd0, logical block 0 [301.759023] end_request: I/O error, dev fd0, sector 0 [301.759033] Buffer I/O error on device fd0, logical block 0 [339.871189] end_request: I/O error, dev fd0, sector 0 [339.871199] Buffer I/O error on device fd0, logical block 0 [349.600055] usb 2-1: USB disconnect, address 2 [349.600258] usblp0: removed [361.712024] usb 2-1: new full speed USB device using uhci_hcd and address 3 [361.869251] usb 2-1: configuration #1 chosen from 1 choice [ 361.884062] usblp0: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 0x050D pid 0x0002
I interpret this to mean that the printer is seen from this command. Yet when I do the "lsusb" command, I get this output: Code: s@cs-desktop:~$ lsusb Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 003: ID 050d:0002 Belkin Components Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub This to me indicates that the printer is not seen by the "lsusb" command.
I would like to get my printer printing. I am trying to get hold of an older parallel Centronics printer cable with a DB25 at the other end to see if I can get the printer working with it. Have others done this with success?
This post is for an HP parallel printer but I think it should work for at least "some" other parallel printers.I am sure that someone smarter than me will follow up this post with a "well, just do this and that" and you will have your HP Laserjet 6P printer ready to go, but since questions litter the forums of MANY distros on how to get "at least" an HP parallel printer to work, I'll post this anyway.This may or may not work for you if you do not have an HP but you can try it.The install printer box will let you do an install for an HP Parallel and it asks for how it is to talk to it, through CUPS sock or "local host'. When we get through what I recommend you should chose "local host".
I installed SuSE 11.2 64-bit on a new computer without any printer attached. When I read the manual for the mainboard, I discovered to my delight that it actually has a parallel port, it's just not connected. I moved the cable from an old desktop and put it into my new desktop. After enabling the port in the BIOS setup, the Hardware Information dialog in yast correctly shows that I have a HP LaserJet 1100 (/dev/lp2).
How do I configure the printer? "Printer" in yast tells me "There is no print queue". When I click "Add" yast tries to detect a printer and gives up with the message "No connection selected". I can't add a selection, however. "More connections" gives me the exact same error message. The "Connection Wizard" allows me to select "Parallel Port", but then complains about missing connections again. The cups demon is running. I don't have /dev/lp2, is that the problem?
I am struggling with getting an sshfs mount mounted on system boot. I have a script that mounts the sshfs for "userA". When userA runs the script all is well - user A can access the remote filesystem, root user can't see it as expected. The basic command is: sshfs userA@remote host:/home/userA /home/userA/mountdir -p 21212 -o password_stdin < passwordfile. I can prepend the sshfs command in the script with su - userA -c and when I run this script logged in as root all is well, userA has access and all is well. If I then put this script in /etc/init.d and reference it properly in the rc. directories the mount doesn't happen. If I prepend the sshfs command with sudo, same thing. Logged in as root I can run the script and UserA has access. Run the script in /etc/init.d during startup and the mount doesn't happen. Echoing text to a log file shows that the script is being executed but no mount happens.
I just recently learned about the wonderful little lpr command- and using man -t (bash command) to beautifully print man pages for reference- but is there a way to print both sides of the paper using a printer so equipped?
how I could file share, or make the whole Hard Drive (HDD) accessible to another computer. The two other computers I have are a Toshiba Laptop with Ethernet and USB, and a iMac Intel with Firewire, USB, and Ethernet. Putting these to use along with:
Three Ethernet Cables Two Printer Peripheral USB Cables The Two Computers A 2GB Flash Drive
That is all I can think of right now. I do not want to use CDs. In a way, I would like to do a network boot. So, how do I get the whole HDD visible to the others computers (either/both) and be able to write to it? I want to put Xubuntu on it, and earse the rest of the Hard Drive. The computers getting this are the iMac G3s and the eMac G4. The eMac has 256MB RAM, 40GB HDD, and a 700MHz processor. Two iMacs have 128MB RAM, 40GB HDD, and a 600MHz Processor. The other iMac is the same as the rest but has a 500MHz processor.
I want to know any command which is equal to disconnecting and reconnecting lan cable. actually sometimes my router takes some time to connect to internet and when this happens my desktop shows network disconnected. but when router is connected system does no detect it and i have to manually disconnect and reconnect the cable which is not convenient.
I need to run a shell to enable pseudo-multitouch on my touchpad using a shell which automatically configs synclient.I put this file under /home/<username>/, and also put this to the Session manager under system menu. But it doesn't work. I've already used chmod command to make sure that the file is executable.
Using 10.04. I use one machine mostly as a printer server: If it goes down for whatever reason I want to restart without having to enter any password. Samba seems to start and allow file shares, but does not start the printer sharing so I must manually enter "sudo restart smbd" to allow the printer sharing. From reading the various threads I guess that the samba "start command" is before the printers are "initialized" and thus are not "setup". So how can I make the samba "startup" last after everything else? I am not enough familiar with all of the commands to understand the thread posting to make it work.
I'm looking to make a launching script which launches a program in one of the current directories that the user has open, the problem is I have no idea how to get info about all of the terminals open.I simply want to check which directories the user has open and do a pwd on the terminals, and then use that to cd into the dir before launching. I might be able to use a combo of who,tty, top, and pwd...but I don't know where to go.