Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Connecting Gentoo (cups) to a xerox 7225
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1655

PostPosted: Fri Jun 10, 2022 3:48 pm    Post subject: Connecting Gentoo (cups) to a xerox 7225 Reply with quote

Greetings all I am attempting to connect my minimal gentoo setup to a xerox 7225 (large office printer / copier)
I grabbed the .deb package and manually installed the ppd in a folder in /usr/share/ppd/xerox and cups and see the ppd and configures the printer.
however I can't seem to connect to it. I am on the same lan network as the printer and there are no special rules on the printer as other boxes connect.
nmap showes me the following ports on the printer:
Code:
PORT     STATE SERVICE
80/tcp   open  http
443/tcp  open  https
515/tcp  open  printer
631/tcp  open  ipp
9100/tcp open  jetdirect


port 80 and 443 are web interfaces to the printer where you can upload a file to print manually or do scanning, so I imagine cups needs to use 515, 631, or 9100.
However when I try ipp://192.168.0.10, http://192.168.0.10:631 http://192.168.0.10:9100 http://192.168.0.10:515 etc I can't print a test page.
I checked a working ubuntu box's config and its using a bla.bla.bla.ipp._tcp.local address which I also tried and does not work.
Error logs dont give a clue either
And advice on connecting to these huge office printers would be appreciated
Thanks in advance

EDIT looking at the specs for the bonjour protocol
Quote:
9.2.2 rp
This key is used to specify the queue name.

and running the command
Code:
avahi-browse --all -t -r | grep -ne 'rp='

I was able to discovered "rp=ipp/print"
so with socket://192.168.0.10/ipp/print and the generic Generic PCL Laser Printer I can print a test page.
So now I just need to figure out whats wrong with their ppd file so I can print in color.
_________________
Donate to Gentoo


Last edited by turtles on Mon Jun 13, 2022 2:40 pm; edited 4 times in total
Back to top
View user's profile Send private message
Mistwolf
Apprentice
Apprentice


Joined: 07 Mar 2007
Posts: 189
Location: Edmonton, AB

PostPosted: Sat Jun 11, 2022 2:46 pm    Post subject: Reply with quote

If you look at the ppd file, it references 2 xerox cups filters (which are included in the .deb file). Did you install them too?
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1655

PostPosted: Sat Jun 11, 2022 3:43 pm    Post subject: Reply with quote

Well with some fiddling around I got color working with a cups ppd named drvless.ppd I also switched from socket:// to http:// and since this printer is at a static ipV4 I got http://192.168.0.10/ipp/print to work, instead of all that dnssd avhai tcp.local garbage.
The key thing for printing to a xerox office printer from linux is having that ipp/print uri.
hope this helps save someone else some time.
Also it turns out the .deb was not needed.
Cheers
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
Mistwolf
Apprentice
Apprentice


Joined: 07 Mar 2007
Posts: 189
Location: Edmonton, AB

PostPosted: Sat Jun 11, 2022 5:32 pm    Post subject: Reply with quote

Actually, if your 7225 has the Postscript option, you can use a generic PS driver instead of the PCL driver. That is what I use for my Xerox printer that has the Postscript option, works just fine.

To see if your copier has the PS option installed, print a configuration page, and at the bottom of the page, if it has the PS option, there will be a PS icon. No PS option, no PS icon.

And for the port, use socket://<IP ADDRESS>:9100
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1655

PostPosted: Mon Jun 13, 2022 2:37 pm    Post subject: Reply with quote

Mistwolf wrote:
Actually, if your 7225 has the Postscript option, you can use a generic PS driver instead of the PCL driver. That is what I use for my Xerox printer that has the Postscript option, works just fine.

Oddly the xerox I am working with does not have postscript. Seems like a strange thing to charge extra for when it can just be connected to a cups server that supports postscript and it has so many other features.

Mistwolf wrote:

And for the port, use socket://<IP ADDRESS>:9100

That port did not fully work for me, It did not return messages from the printer.
http://<IP ADDRESS>/ipp/print
does work fine

Cheers
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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