LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-27-2004, 11:45 AM   #1
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
FC2: add AppleTalk printer


Dear All,

I can print to the AppleTalk printer fine using pap, but I'd like it to appear in the normal printer menu and print manager (i.e. system-config-printer).

I assume that I have to make the printer known to CUPS to achieve this. How?

Thanks,

Samsara

Edit: I am trying to print _from_ the Linux box (most of the documentation I found refers to the opposite direction of doing things), i.e. not provide AppleTalk access to a printer locally connected to the Linux box.

Edit2: Currently installing netatalk 2.0, which, according to developers, has "CUPS support compiled in by default". Hopefully, it will also be easy to configure - some TUI to do this, perhaps?

Last edited by Samsara; 09-27-2004 at 01:45 PM.
 
Old 09-29-2004, 07:59 PM   #2
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Original Poster
Rep: Reputation: 32
I can now print using the cups backend papwrap.pl, but only manually:

Code:
[xxxx@xxxx work]$ export
DEVICE_URI="pap://ICAPB_EXT1B"
[xxxx@xxxx work]$ /usr/lib/cups/backend/papwrap.pl 11 phil stephan 1 A4 dateien/ideas/brainstorm/soc.ps
Maybe someone can tell me where I go wrong here:
Code:
[root@xxxx work]# /usr/sbin/lpadmin -p ICAPB_EXT1B -v  pap://ICAPB_EXT1B -m laserjet.ppd
lpadmin: add-printer (set model) failed:
server-error-internal-error
Thanks!

http://www.linuxquestions.org/questi...postid=1200199
is a duplicate of this.
 
Old 10-01-2004, 01:23 PM   #3
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Original Poster
Rep: Reputation: 32
Resolved.

If there's demand, I'll write a howto. PM me if you want one.
 
Old 10-06-2004, 02:31 AM   #4
minimal-ist
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
hi samsara,

im currently concerned with the same problem.
got cups running and able to print form the linux machine.
i can also see the pinter on the mac but sending a printjob doesn´t effect the printer neither the printer queue on the linux machine in any way!

i´m actually using netatalk 1.6.0.
i´m confused by the release notes ('cups support compiled in by default') of version 2.0. does this mean that cups is never supported by netatalk versions <2.0??

tried to configure the papd.conf as described in the cups 2.0 manual but this, not really surprisingly, doesn´t work.

would you be so nice to send the me your documentation (if you´ve written one)

what experiences did you make regarding the netatalk update!? i fear of updating our system because...you know: never change a running system...

thx in advance and best regards,

carsten
 
Old 10-06-2004, 06:10 PM   #5
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Original Poster
Rep: Reputation: 32
1) Use backend from http://marc.theaimsgroup.com/?l=neta...3016107821&w=2

As root,
2) Save papwrap.pl to /usr/lib/cups/backend/
3) "mv papwrap.pl pap" (this step is not strictly necessary, but avoids confusion later)
4) "chmod +x pap"
5) Start atalkd
6) Restart cups
7) Execute "system-config-printer" aka "redhat-config-printer"
8) Add a printer on IPP protocol, using path "pap://printername"
9) Edit /etc/cups/printers.conf: find your printer, delete "ipp://" and "/printers/queue1"
10) You may need to restart cups.

HTH,

Samsara
 
Old 11-09-2004, 09:00 AM   #6
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Original Poster
Rep: Reputation: 32
To avoid having to start atalkd manually after every boot, in two steps, do

1) make a script in /etc/init.d/, called, for example, netatalk:
Code:
#! /bin/bash
atalkd
(simple, but will do)

2) go to /etc/rc5.d (if you only want to print at runlevel 5, i.e. graphical mode);
you'll find a symlink called S55CUPS; we want atalkd to start before cups, so we do

ln -s /etc/init.d/netatalk S53netatalk

Enjoy!

Samsara
 
Old 11-13-2004, 04:07 PM   #7
michaelthoward
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
I tried this out and it worked fine for me:

Fedora Core 3

install netatalk rpm from disc 4

In the previous message Samsara recommends running atalkd in the login script or by manually setting the link in the startup system. I recommend using the GUI to configure the atalk service

Applications -> System Settings -> Server Settings -> Services

- check the checkbox for atalk
- save
- Edit Runlevel -> 3
- check the checkbox for atalk
- save
- select atalk
- start the service
- wait a while ... starting atalk is slow
- exit

My LaserWriter IIg is named 'Laser'

Use 'papstatus -p Laser' to confirm that your printer is visble.

Then, follow the instructions above to get the cups backend script from

http://marc.theaimsgroup.com/?l=net...6107821&w=2

Instructions given above by Samsara are correct.

For clarification ... after step 9) the line in your /etc/cups/printers.conf should say

DeviceURI pap://Laser

(Again, my printer is named Laser and it does not have a zone)
 
Old 11-15-2004, 01:41 PM   #8
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by michaelthoward
Use 'papstatus -p Laser' to confirm that your printer is visble.
Also, "lpinfo -v" will list the printers if you are not sure of the name.

Regards,

Samsara
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE and XP, OK--Like to add FC2 herkdrvr SUSE / openSUSE 2 10-14-2004 09:38 AM
Can FC2 Add/Remove application use ISO images? Pisces107 Fedora 1 09-21-2004 10:01 PM
Can't add menu item in FC2 Pontius Linux - Software 2 09-04-2004 01:31 PM
AppleTalk Share Printer RanmaPhreak79 Linux - Networking 1 02-10-2004 10:47 AM
how can i add a printer that is not listed in the "Red Hat Printer Config?" kublador Linux - Newbie 2 03-05-2003 08:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration