You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to use your Script in a way that was probably not intended, but seemed to work just fine:
My University has a CUPS-Server with some printers attached. We can ssh into the university network and tunnel a port to the cups-server to print from home.
I used the following steps:
Create an SSH tunnel that links my local port 6631 to the remote port 631 on the CUPS server
Add "BrowsePoll localhost:6631" to the /etc/cups/cupsd.conf file, restarted cups
Checked that the printers are recognized correctly (they are)
Downloaded your Script and ran it with the following parameters:
-H localhost -P 6631 -u [my_username_on_the_server]
The script created the .service-files just fine. I moved them to /etc/avahi/services and restarted the avahi-daemon
All WLAN devices lost internet access, trying to connect to the WLAN yielded error messages stating that the device was unable to join the network
I removed all AirPrint-*.service-Files from the directory, restarted the avahi-daemon and everything was fine again.
I am using the latest version of avahi that is available on the ubuntu repos. Other version information:
OS: Linux Mint 12 (latest version)
Router: TP-Link TL-WR841N
Devices I have tried to connect:
iPad 3
Laptop with Linux Mint 12
Google Nexus S
A sample .service file the script generated looks like this:
AirPrint r135_hp @ %h_ipp._tcp_universal._sub._ipp._tcp631txtvers=1qtotal=1Transparent=TURF=nonerp=printers/r135_hpnote=r135_hp SW-Laserdrucker in R135 (KogS)product=(GPL Ghostscript)printer-state=3printer-type=0x90d4pdl=application/octet-stream,application/pdf,application/postscript,image/gif,image/jpeg,image/png,image/tiff,text/html,text/plain,application/mozilla-ps,application/netscape-ps,application/vnd.cups-postscript,application/vnd.cups-raw
(no line breaks)
I don't know if this is a bug in Avahi, my Router or your script, but since everything is running fine while I am not using the script, I thought I'll report that bug here first and see what you can make of it.
If you need any more version information, ask.
Sincerely,
Malexmave
The text was updated successfully, but these errors were encountered:
Hello,
I was trying to use your Script in a way that was probably not intended, but seemed to work just fine:
My University has a CUPS-Server with some printers attached. We can ssh into the university network and tunnel a port to the cups-server to print from home.
I used the following steps:
-H localhost -P 6631 -u [my_username_on_the_server]
I am using the latest version of avahi that is available on the ubuntu repos. Other version information:
OS: Linux Mint 12 (latest version)
Router: TP-Link TL-WR841N
Devices I have tried to connect:
iPad 3
Laptop with Linux Mint 12
Google Nexus S
A sample .service file the script generated looks like this:
AirPrint r135_hp @ %h_ipp._tcp_universal._sub._ipp._tcp631txtvers=1qtotal=1Transparent=TURF=nonerp=printers/r135_hpnote=r135_hp SW-Laserdrucker in R135 (KogS)product=(GPL Ghostscript)printer-state=3printer-type=0x90d4pdl=application/octet-stream,application/pdf,application/postscript,image/gif,image/jpeg,image/png,image/tiff,text/html,text/plain,application/mozilla-ps,application/netscape-ps,application/vnd.cups-postscript,application/vnd.cups-raw(no line breaks)
I don't know if this is a bug in Avahi, my Router or your script, but since everything is running fine while I am not using the script, I thought I'll report that bug here first and see what you can make of it.
If you need any more version information, ask.
Sincerely,
Malexmave
The text was updated successfully, but these errors were encountered: