Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Connecting Gentoo (cups) to a xerox 7225

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
turtles
Veteran
Veteran
User avatar
Posts: 1713
Joined: Fri Dec 31, 2004 7:30 am

Connecting Gentoo (cups) to a xerox 7225

  • Quote

Post by turtles » Fri Jun 10, 2022 3:48 pm

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: Select all

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
9.2.2 rp
This key is used to specify the queue name.
and running the command

Code: Select all

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.
Last edited by turtles on Mon Jun 13, 2022 2:40 pm, edited 4 times in total.
Donate to Gentoo
Top
Mistwolf
Apprentice
Apprentice
Posts: 189
Joined: Wed Mar 07, 2007 2:06 am
Location: Edmonton, AB

  • Quote

Post by Mistwolf » Sat Jun 11, 2022 2:46 pm

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?
Top
turtles
Veteran
Veteran
User avatar
Posts: 1713
Joined: Fri Dec 31, 2004 7:30 am

  • Quote

Post by turtles » Sat Jun 11, 2022 3:43 pm

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
Top
Mistwolf
Apprentice
Apprentice
Posts: 189
Joined: Wed Mar 07, 2007 2:06 am
Location: Edmonton, AB

  • Quote

Post by Mistwolf » Sat Jun 11, 2022 5:32 pm

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
Top
turtles
Veteran
Veteran
User avatar
Posts: 1713
Joined: Fri Dec 31, 2004 7:30 am

  • Quote

Post by turtles » Mon Jun 13, 2022 2:37 pm

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
Top
Post Reply

5 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic