![]() With netatalk installed, run nbplkup to find the names of the AppleTalk printers on your network. The following may be needed if you have more than one AppleTalk Zone or are having general problems. You must restart netatalk and your printer should work again sudo /etc/init.d/netatalk restart NOTE: if you see a line that says "NBP Lookup failed" HP LaserJet 4050 Series NBP Lookup failed Restart cups and try to print another fileĪ sample log file should look like this +++++++++++++++++++++++++++++ (Delete the #'s on lines that contain "echo") ![]() If nothing is coming out of your printer, debug the pap backend and view the log to see where problems may be coming from.Īnd uncomment out the lines that write out to the log file. There's an open bug report documenting the problem with said order in /etc/hosts that is causing trouble with other programs, too. To remedy this, change the appropriate line in /etc/hosts and move the real hostname in front of 'localhost.localdomain', for example:ġ27.0.0.1 realname localhost.localdomain localhost This is due to 'hostname -s' returning localhost instead of using the real name (in /etc/init.d/netatalk). If you are having trouble finding the correct URI for your printer first call the backend without argument :Īn Ubuntu node will show up on the AppleTalk network as 'localhost'. Once completed, print a test page to see if it works. Select your printer Make and Model and whatever options it may have. Now, under Devices select "Other" and enter the device URI we just found.Ĭlick forward. Note that in this case there was a space after the word "Series". This is done by using the prefix "pap://" and converting any spaces into "%20". We want to take the device name and convert it into a pap address to use as the device URI. This should return something like network pap "HP LaserJet 4050 Series " "LaserWriter" Now, set up the printer by opening the Printing admin tool (System>Administration>Printing) and clicking the "New" button.īefore we go any farther we need to find the device URI, this can be accomplished by calling the backend without any arguments This should provide you with AppleTalk printing. Once you have that file, cd to where that file is stored and: Getting your Ubuntu installation to print to an AppleTalk printer is relatively easy.įirst, provide CUPS with a working PAP (the Netatalk printing methodology) backend. ![]() Then try adding your AppleTalk connected interface (eth0, eth1, wlan0 etc) to the end of /etc/netatalk/nfīy typing the appropriate interface at the end of the file and try starting the services: Underprocess post-installation script gav felkod 1Į: Sub-process /usr/bin/dpkg returned an error code (1) Starting Netatalk services (this will take a while): nbp_rgstr: Förbindelsen dog ut (timeout)Ĭan't register initscript netatalk, action "start" failed.ĭpkg: fel vid hantering av netatalk (-configure): Installation is easy, just use apt-get to install Netatalk.Īnd wait for netatalk to run. While the AppleTalk protocol suite is considered deprecated by Apple these days, the large number of legacy devices makes discarding the protocol unfeasible. Some people using AppleTalk printers or running Mac OS 9 still want to use AppleTalk.
0 Comments
Leave a Reply. |