apple / cups

Apple CUPS Sources
https://www.cups.org
Apache License 2.0
1.85k stars 452 forks source link

Can we print out to IPv6 printer with CUPS1.2.7 ? #2234

Closed michaelrsweet closed 17 years ago

michaelrsweet commented 17 years ago

Version: 1.2.7 CUPS.org User: haginaka

We'd like to print out from Redhat to the printer(has IPv6 link local address) on IPv6 network.

Our environment: network: shared with both IPv4 and IPv6 How to get address: DHCP Which distribution Redhat Linux Enterprise WS4(have been changed to IPv6) CUPS version into Redhat 1.2.7 *browser to check CUPS status Konqueror

We had confirmed followings for check that our network is OK.

---- our try and issue ----

---- Question ----

  1. How should we add printer with LPD and IPv6 address ? We had tried this line

    lpd://[fe80::xxxx:xxxx:xxxx:xxxx]/q

  2. We got CUPSver1.2.7 source code from cups.org site. and compiled, install. (./configure ->> make ->> make install) Can we print out with IPv6 without special setting of build before compile ?
  3. If our build process is correct, How to be available IPv6 into CUPS ?
  4. Should we change cupsd.conf file for printing out to IPv6 printer ?
michaelrsweet commented 17 years ago

CUPS.org User: mike

[In the future, please post questions like this to the cups.general group; the bug database is not provided for general support...]

I have had sporatic problems with IPv6 on RHEL4, but not on FC5 or FC6. Make sure you have all of the current updates installed.

For link-local addresses, you must include the interface name in the URI; for IPv6 addresses this means:

lpd://[fe80:xxxx:xxxx:...:xxxx+IFNAME]/q

where "IFNAME" is the name of the interface. Without the interface name, there is no way to determine which interface to use when connecting to the printer...

talhamughal10 commented 4 years ago

Hi can i am working on printing document using printer with socket communication in java android studio. i have printer which has link local address and i am stuck to give it a print command using in link local address. when i use its ipv4 address it prints. how to use ipv6 address to print using socket communication.