Re: LaserWriter printing problems


Subject: Re: LaserWriter printing problems
From: Nico De Ranter (nico@sonycom.com)
Date: Mon Jan 24 2000 - 02:32:28 EST


We have a few LaserWriter 16/600 printers in our network (SUN/SGI/NT/Linux).
The entry in my printcap for that printer looks like:

lp5
        :lp=laserwriter5
        :bq=lp@laserwriter5.sonytel.be
        :cm=Johan's printer
        :sd=/var/spool/LPRng/laserwriter5
        :lf=/var/log/LPRng/laserwriter5
        :if=/usr/local.host/LPRng/bin/lpf
        :mx#0
        :sh
        :sf

(note: this is from an SGI but that shouldn't make much difference). To print
to it through samba I use the following config file:

[global]
...
        printing = bsd
        printcap name = /etc/printcap
...
[printers]
   comment = All Printers
   browseable = no
   printable = yes
   public = no
   writable = no
   create mode = 0700

Why are you trying to print through appletalk? The LaserWriter 16/600 PS does
support bsd printing.

Nico

On Fri, 21 Jan 2000, Steve Cullingworth wrote:

> We have just replaced our useless NT server with a Linux server running
> Samba and Netatalk. So far everything is great, but I can't get the Linux
> server to print to our LaserWriter 16/600 PS printer. It has no problem
> seeing the printer, but after connecting, we get an error as follows:
>
> [root@fileserver2 /etc]# pap -p "LaserWriter 16/600 PS" hosts
> Trying 65280.129:129 ...
> status: idle
> Connected to LaserWriter 16/600 PS:LaserWriter@*.
> %%[ Error: undefined; OffendingCommand: 127.0.0.1 ]%%
> %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
> Connection closed.
> [root@fileserver2 /etc]#
>
> Any suggestions? Also, I would like to set up this Linux box with Samba so
> that the PC clients can print to the AppleTalk printer. How do I setup my
> /etc/printcap file to automatically use pap to print to the LaserWriter? Is
> there a FAQ about this setup?
>
> Many thanks,
> Steve
>
>

--------------------------------------------------------
 "It has been said that there are only two businesses
  refer to customers as users: illegal drug trade and
               the computer industry."
--------------------------------------------------------
Nico De Ranter
Sony Service Center (SUPC-E/DME-B)
Sint Stevens Woluwestraat 55 (Rue de Woluwe-Saint-Etienne)
1130 Brussel (Bruxelles), Belgium, Europe, Earth
Telephone: +32 2 724 86 41 Telefax: +32 2 726 26 86
e-mail: nico.deranter@sonycom.com



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:29:53 EST