Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Printing from Gentoo to a shared Windows XP printer via Cups
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
mafe
n00b
n00b


Joined: 18 Dec 2003
Posts: 38

PostPosted: Fri Feb 27, 2004 4:30 am    Post subject: Reply with quote

Code:


http://chrishiller.net/archives/misc_tech/index.php

Broken CUPS

If you get a CUPS error message (generally in /var/log/cups/error_log ) which looks like:

PID #### stopped with status 22!

Go into your CUPS config (usually /etc/cups/cupsd.conf ), and set LogLevel to debug. Restart the CUPS server (on Redhat, usually done by /etc/rc.d/init.d/cups restart ). Try to print again, and then examine the error log.

If you see this:

/usr/lib/cups/filter/foomatic-rip: No such file or directory

Then you should download, compile and install the foomatic-filters. It will help you.


IT worked for me.
Back to top
View user's profile Send private message
lambo
n00b
n00b


Joined: 20 Dec 2003
Posts: 11

PostPosted: Fri Mar 19, 2004 3:32 am    Post subject: Cups Printing Reply with quote

Just want to say thanks, I spent several days trying to print to my XP box, trying to follow the instructions on other posts. I'm surprised Samba is still working with all of the changes I made. Following your instructions I was able to get this up in 10 minutes. :D
Back to top
View user's profile Send private message
kpitty
n00b
n00b


Joined: 10 Mar 2004
Posts: 9

PostPosted: Sun Mar 21, 2004 8:11 am    Post subject: Reply with quote

Thanks for your guide. It was just what I needed. :D
Back to top
View user's profile Send private message
Propagandhi
n00b
n00b


Joined: 09 Jul 2003
Posts: 27

PostPosted: Mon Mar 22, 2004 8:18 am    Post subject: Reply with quote

Good guide. Just what i needed after several painful hours of trying to get the printer work on gentoo and share the printer to windows.
Easier this way, works like a charm. (and besides, my missus with her win-comp mostly uses the printer anyways)
Back to top
View user's profile Send private message
Shrekkie
n00b
n00b


Joined: 22 May 2003
Posts: 64
Location: Belgium

PostPosted: Mon Mar 29, 2004 11:27 am    Post subject: Reply with quote

Hulk !!!

Thnx alot man ! I had a problem, but your tip , adding user and pass to the URI did it ...

:D

Gentoo Forums pWn them all !!!!
_________________
irc.michiels.nu #lobby if you wanna talk to me.
Back to top
View user's profile Send private message
thechosen0ne
n00b
n00b


Joined: 23 Jan 2004
Posts: 36

PostPosted: Wed Mar 31, 2004 1:20 am    Post subject: Reply with quote

This was exactly what I needed!!!

I could NOT get the IP address to work. I hadn't even thought of adding an entry to the /etc/hosts file. This stopped my "Unable to connect to SAMBA host" problems. This seems like maybe it's a problem with samba or cups as I would think it should work using ip's and not rely on name resolution...

Thanks!

[EDIT]

Nooo! I'm so close... Windows says it's printing and the printer sounds like it's getting ready to print but the little light on the printer just blinks... :(
http://www.linuxprinting.org/pipermail/samsung-list/2002q4/000378.html
this looks like it's close to the problem I'm having, but with RH... not Gentoo... any ideas? BTW I am using an HP PSC 1210

http://www.linuxprinting.org/pipermail/hp-list/2003q4/004324.html
This is another good description of my problem, same printer, mandrake

[EDIT]

OMG OMG OMG I can't believe it works...

The solution is insanely simple. Go into your printer properties in Windows. Under the Ports tab, disable Bidirectional Support. Apparantely the printer is waiting for some sort of confirmation before starting to print.

I have never been so happy to see a printer test page in all my life.

Let me know if this helps anyone else.
Back to top
View user's profile Send private message
smukec
n00b
n00b


Joined: 06 Dec 2003
Posts: 59
Location: Slovenia

PostPosted: Tue Apr 06, 2004 5:51 pm    Post subject: Reply with quote

I bumped into a samba problem solving printing.

It seems I'm having problems with samba in first place.
In the network there are 5 PCs(3xWin + 2xgentoo). I can't any share info from the Win boxes(XP and 2k). And one of those win boxes is sharing the printer (because it is a HP PSC and they want to scan in windows) - previously we run the printer on a gentoo box with no problems.
From the 'smbclient PRNBOX' I can see that it tries to access IP:139 which is (apparently) not listening on any of those win machines. I suppose the problem is on the win side.
Whan would you propose, how to proceed now.
Back to top
View user's profile Send private message
flashingcurser
n00b
n00b


Joined: 25 Mar 2004
Posts: 34

PostPosted: Wed Apr 07, 2004 4:16 am    Post subject: Reply with quote

Ya, me too.


ERROR:

client-error-not-possible

Any new thoughts on this problem?
Back to top
View user's profile Send private message
fop
n00b
n00b


Joined: 19 Mar 2004
Posts: 24

PostPosted: Sun Apr 25, 2004 11:29 am    Post subject: Reply with quote

Same error as flashingcurser and a bunch of other people...

EDIT:
https://forums.gentoo.org/viewtopic.php?t=133668
This post helped me. However, since the Windows machine with the printer uses DHCP, the IP changes every once in a while. I have to change the IP in /etc/hosts accordingly. Is there a way around this?
Back to top
View user's profile Send private message
ender.wiggin
n00b
n00b


Joined: 28 Apr 2004
Posts: 2

PostPosted: Wed Apr 28, 2004 9:54 am    Post subject: cups Reply with quote

hi, cool guide :)
e.
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Wed May 05, 2004 6:00 pm    Post subject: Reply with quote

When I arrive to where you specify the URI, there is no WINDOWS SHARE printer listed.

EDIT: I mistakenly thought that the samba server was unneeded for cups to use a windows shared printer. :oops:
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
brain salad surgery
Apprentice
Apprentice


Joined: 21 Apr 2004
Posts: 216

PostPosted: Fri May 21, 2004 3:56 pm    Post subject: good guide Reply with quote

i tried from gentoo to a windows XP pro printer share:

won't work using guest account
won't work using administrator account

gotta use a normal account + passwd
as mentionned
Back to top
View user's profile Send private message
brain salad surgery
Apprentice
Apprentice


Joined: 21 Apr 2004
Posts: 216

PostPosted: Fri May 21, 2004 3:57 pm    Post subject: good guide Reply with quote

i tried from gentoo to a windows XP pro printer share:

won't work using guest account
won't work using administrator account

gotta use a normal account + passwd
as mentionned
Back to top
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Wed May 26, 2004 3:29 pm    Post subject: Reply with quote

RedNeckCracker wrote:
Just my two cents, i had to install ijs for my epson EPL 5900L to make it working

(here http://epsonepl.sourceforge.net/ )


And I had to emerge foomatic to get my Xerox Docuprint M750 working... 8)
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
brasuca
n00b
n00b


Joined: 25 May 2004
Posts: 22

PostPosted: Thu May 27, 2004 9:49 am    Post subject: Reply with quote

i'm trying to use a hppsc700 connected to a xp box, trying to use it with samba. I configure it, but when I try to print a test page, it used to say "host not found". Now it says connection refused.
Back to top
View user's profile Send private message
fuhreal
n00b
n00b


Joined: 29 Apr 2004
Posts: 66
Location: Toronto

PostPosted: Sat May 29, 2004 7:33 pm    Post subject: Reply with quote

THANK YOU !!! Worked like a charm !!

Only had to use the computers name as the IP wouldn't work for some reason.. oh well, i don't change my coputers names so i need not worry. Just hope i can remember this in case i have to print while on-site ;)
Back to top
View user's profile Send private message
m9dhatter
n00b
n00b


Joined: 30 Nov 2003
Posts: 37
Location: philippines

PostPosted: Tue Jun 01, 2004 7:53 am    Post subject: Reply with quote

i managed to get the shared printer working. i have a lexmark optra t612. my problem is that the printer seems to squeeze two pages in a single sheet although everything in the config shows up as normal and intended ( single sheet, landsacape view ). even the test page shows up in only one side. how do i resolve this?
Back to top
View user's profile Send private message
L.U.
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2004
Posts: 119
Location: North Carolina, U.S.

PostPosted: Thu Jul 08, 2004 3:05 pm    Post subject: Reply with quote

Just another thank you post. Spent over a day trying to get my particular printing set-up working before I found this post. Once I did find it, I was done in 20 minutes. :D
_________________
In linux, getting your computer to do what you want is a science. In windows, it's an art form...
Back to top
View user's profile Send private message
makzu
n00b
n00b


Joined: 28 Jun 2004
Posts: 42

PostPosted: Mon Jul 19, 2004 4:54 am    Post subject: Reply with quote

Worked perfectly for me. Thanks!

TheWart wrote:
I am going to print this out, cause when I go home for vacation, I am going to have to do this.


Ha ha, I get it, you're printing out the printer setup guide. It's a catch-22!
_________________
'Twas brillig, and the slithy toves
Did gyre and gimble in the wabe.
All mimsey were the borogroves,
And the mome raths outgrabe.
Back to top
View user's profile Send private message
Stormy
n00b
n00b


Joined: 04 Aug 2004
Posts: 20

PostPosted: Wed Aug 11, 2004 9:25 am    Post subject: What about domains? Reply with quote

Hi, I've been dealing with this for hours now, after working hard with smbclient to finally be able to mount the printer and put a text file there (it prints) to finally being about to actually mount the printer to a directory (/printer) i can't seem to get cups to grab on and print and I think I know why, the problem lays in the fact that we use a domain and that the printer is shared useing a local user/pass (we tryed domain/pass still same problem) i was able to get the previous two connects to the printer useing "austin\printer:printer" to connect to the bad boy, were talking standard laser printer supporting PCL 6 here, i've tryed to go into the cups web interface and tell it smb://austin\printer:printer@austin/Laser and it sits there and looks at me with a NT_STATUS_ACCESS_DENIED so i'm sure that this is comming from the fact that it's trying to ask about printer in the domain or whereever it is, in our smb.conf file we have specified that the workgroup='ed the domain, now we've tryed different logins on the cups side, and going as far as useing the local and the domain administrator user/password with still problems, my last guess is going to try and be useing the command line to do this and see if it comes up. If anyone else has seen this and found a good work around please let me know.

Update: I installed it off the command line and it worked fine!
_________________
"If you give up freedom for justice, you deserve neither" -- Thomas Jefferson
Back to top
View user's profile Send private message
olias2
Apprentice
Apprentice


Joined: 23 Aug 2003
Posts: 234
Location: CANADA

PostPosted: Mon Aug 16, 2004 12:09 am    Post subject: Reply with quote

Thanks for this guide. It worked great for me with the guest:@ and no password. I only had to emerge the following...
Code:
samba
cups
gnome-print

I left out psutils and ghostscript because I don't really know what they're for. :?:

Olias :D
_________________
A wise man realizes that he too is a fool and then humbles himself to learn that which is greater than he.
Back to top
View user's profile Send private message
bungernut
Apprentice
Apprentice


Joined: 24 Jan 2004
Posts: 173

PostPosted: Sat Sep 04, 2004 3:41 am    Post subject: Weird Windows Behavior Reply with quote

I believe that i have the Linux Side setup correctly, when i have the print manager in windows open and then sent the test page as a job i see it come up, spool then disapear without printing. The windows computer prints its jobs just fine. I am using a guest account without a password. Has anyone seen this before?
EDIT (SOLVED)
need to emerge pnm2ppa and configure /etc/pnm2ppa.conf correctly, that it. Found it in another forum but lost the link
_________________
Two idiots make a wrong
Back to top
View user's profile Send private message
matttions
Guru
Guru


Joined: 19 Jul 2004
Posts: 338

PostPosted: Tue Sep 07, 2004 3:12 pm    Post subject: Reply with quote

hi to every.body .. really cool guide ..
I can print from any application [more o less] but what about the € character? I can't print it out with Ximian-office 1.1.2 ..
Did you have my same problem?
[Driver of the printer [HP 5051]--> hpijs.
win2000 the printer server
my gentoo-box the client ...]
_________________
gentoo ... l'unico pinguino da corsa
Back to top
View user's profile Send private message
kaidon
n00b
n00b


Joined: 01 Nov 2003
Posts: 72

PostPosted: Sun Sep 26, 2004 10:15 pm    Post subject: Reply with quote

Nice guide, thanks alot.

A few tips for the paranoid Windows users (like me) who have locked down their boxes.

You'll have to enable/check the following settings:

Network device properties:
Client for Microsoft-Networks
File- and printer sharing for Microsoft-Networks
Internetprotocols (TCP/IP) > Properties > Extended > WINS > Activate Netbios over TCP/IP

Windows Services:
"Server" service must be running

I needed all the above to even be able to activate printer sharing.

Firewall configuration: (I'm using Sygate personal firewall)
allow connections:
host: <your linux ip here>
direction: both (in/out)
protocol: tcp
remote ports (linux): 1024-65535
local ports (windows): 445

[edit]
To configure cupsd to only listen on localhost open /etc/cups/cupsd.conf and change the following:
#Port 631 <-- default, comment this out
# 20040926/sa: listen only on localhost
Listen 127.0.0.1:631
[/edit]

[edit 2]
You can login to http://localhost:631/admin with any user that is in the group "lp". Like this you don't have to (ab)use your root account for that.
[/edit]

hth someone
cheers & thanks again
k
Back to top
View user's profile Send private message
Neonamu
n00b
n00b


Joined: 01 Oct 2004
Posts: 3

PostPosted: Wed Nov 17, 2004 9:34 pm    Post subject: Reply with quote

Thx for the guide. I'm trying to do all u say and it works perfectly.

Very good guide.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 3 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum