Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question - printing #143

Closed
ygowayed opened this issue May 9, 2013 · 21 comments
Closed

Question - printing #143

ygowayed opened this issue May 9, 2013 · 21 comments
Labels

Comments

@ygowayed
Copy link

ygowayed commented May 9, 2013

How can I install a network printer in raring with xfce desktop in crouton on acer-c7?

@musical-chairs
Copy link

I'm using lxde (raring) on a Samsung series 3, but the process should be the same.

  1. Install the needed packages: cups, system-config-printer-gnome, and hplip (if it's an HP printer).
  2. init scripts don't work right in crouton so we need to start cups somehow. One way is to edit /etc/rc.local and add:
    /usr/sbin/cupsd
  3. Add your username to the lpadmin group:
    sudo adduser username lpadmin
  4. Finally, log out and back in for these settings to take effect.
    You should now be able to go into Preferences / Printers and set up your network printer. I had to point it at the ip address of the printer host (I haven't gotten smb browsing to work yet but that's another issue), but from there everything just worked.

@dnschneid
Copy link
Owner

Thanks for that, @trulanm. You may want to add to the wiki.

@pradacr
Copy link

pradacr commented Oct 7, 2013

Is it possible to install a local USB printer?

@dnschneid
Copy link
Owner

If it doesn't require a kernel driver, sure.

@pradacr
Copy link

pradacr commented Oct 8, 2013

How do I know?
What are other users doing?
Is this the same for Ubuntu Unity?
Thanks a lot

@dnschneid
Copy link
Owner

Not sure; I haven't tried it, and the wiki only refers to network printers...

@pradacr
Copy link

pradacr commented Oct 8, 2013

I rarely print but I can't do without printing sometimes, I don't have the expertise to solve this problem, I think I'll have to go back to Chrubuntu :0( thanks a lot anyway

@dnschneid
Copy link
Owner

Sorry about that. Some of these things require a trailblazer to step up. I take it the wiki's instructions didn't work for USB?

@pradacr
Copy link

pradacr commented Oct 8, 2013

These are the screenshots of what I get after following the instructions abobe except for the hp driver, but I only get network printers:

crouton printing
crouton new printer

@dnschneid
Copy link
Owner

Could you post the output of croutonversion and what kind of printer you're using?

@pradacr
Copy link

pradacr commented Oct 8, 2013

Its a scanner/printer Epson Stylus TX130, on Linux Mint I open "Printers", plug it and in a minute its working. For the scanner I go to avasys.jp to download the iscan stuff and works very well.

(precise)julio@localhost:$ croutonversion
crouton: version 0-20131001173116
master:d511b339
release: precise
architecture: i386
host: version 4319.96.0 (Official Build) stable-channel parrot

@dnschneid
Copy link
Owner

Does /usr/lib/cups/backend/usb exist inside the chroot?

@pradacr
Copy link

pradacr commented Oct 12, 2013

Yes, it says it is a shared library 30kb file

@dnschneid
Copy link
Owner

Then it's possible your printer isn't supported in the cups in precise; have you tried a newer release such as raring? You can install it alongside your current chroot as a trial.

@barbarianeggplant
Copy link

Similar issue, different printer
I'm trying to connect an acer c7 to an HP Officejet 6800. I don't think it's a release issue, as my other laptop, which is running precise as its primary os, has no trouble connecting to it.
When I enter the device URI to add it, it seems to recognize the printer immediately, but any job I send is held and unable to be released and if I run hp-probe, it doesn't turn up any printers connected.

Here's the output of croutonversion, if it's useful:
crouton: version 0-20131014202043~master:b3d31b47
release: precise
architecture: i386
host: version 4319.96.0 (Official Build) stable-channel parrot

@pradacr
Copy link

pradacr commented Oct 30, 2013

I made a guest account for a friend and when she gave my Chromebook it back to me it was reset with no crouton, not even the boot "scary screen", I'll try to re-install crouton next week and continue trying to install a printer.

@aryanvahedi
Copy link

  1. init scripts don't work right in crouton so we need to start cups somehow. One way is to edit /etc/rc.local and add:
    /usr/sbin/cupsd

Can someone please explain to me how to perform this step? Where do I add this line?

It seems I do not have permissions to edit this file either.

@pradacr
Copy link

pradacr commented Nov 5, 2013

Hi Aryanvahedi, I gess you have to use the sudo command to get the permission.

Find out which text editor you have (pluma, gedit, etc) and use it in the following command:

sudo pluma /etc/rc.local

The contents of rc.local may be like:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

exit 0

Copy the following line before "exit 0" and save it

/usr/sbin/cupsd

Hope it helps

@pradacr
Copy link

pradacr commented Nov 5, 2013

Does anyone know how to avoid formatting? When I copy the rc.local text it adds a line after each # sign and make the font big.
:0(
Its hard to try help if you're not an expert...

@dnschneid
Copy link
Owner

ftfy :)

@pradacr
Copy link

pradacr commented Nov 5, 2013

Thanks David!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants