http://www.linuxprinting.org/foomatic2.9/show_printer.cgi?recnum=328553

Laura West wrote on Samba-Digest:

Date: Sat, 08 Mar 2003 17:36:11 -0800
From: Laura West <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Samba] Samba config for Windows XP Printer
Message: 27

Hello,
My Samba installation seems to be going pretty smoothly thanks to this list. One thing left to do and that is to be able to have my Redhat 8.0 box print to my Lenmark z52 printer, connected ( and shared ) on my XP Professional machine. I am wondering whether this is possible at all....The Lenmark drivers I found were for Redhat 6.x and I couldn't find any for Redhat 8.0. Tried to install the drivers, but it depends on an old rpm. ( I tried to intall that even, but no success. ) I've been reading the Samba documentation, but it does not mention XP.


Anyone have any hints on how to get my Linux box to print to the XP printer?

Laura



Hi, Laura,

have a look at http://www.linuxprinting.org/ website for all printing
related matters first.

To learn about linux printing in general, please look at

  http://www.linuxprinting.org/kpfeifle/LinuxKongress2002/Tutorial/
  http://www.linuxprinting.org/foomatic2.9/cups-doc.html
  http://www.linuxprinting.org/foomatic2.9/CUPS-Filter-Chart.html

I'd suggest you use CUPS for your printing subsystem. It is the most
flexible and powerful one out there now. (You may use another one too,
but then you will have to rely on other advice.)

To get your WinXP-attached Z52 to work via Samba, you first must make
sure, that it prints as a Linux-attached printer too. Z52 is supported
perfectly thru the "Gimp-Print" drivers.

To make z52 print from Linux with CUPS, follow the steps described at:

http://www.linuxprinting.org/foomatic2.9/cups-doc.html

(To make it print with LPRng, read

http://www.linuxprinting.org/foomatic2.9/lpd-doc.html)

The driver description for the z52 is here:

http://www.linuxprinting.org/foomatic2.9/show_printer.cgi?recnum=328553

(Please note, that the latest stable Gimp-Print release is 4.2.5 -- not
4.1.99 as mentioned on above noted website).

You should install:

* CUPS-1.1.18
  (Source code is at ftp://ftp.easysw.com/pub/cups/1.1.18/cups-1.1.18-source.tar.bz2,
  in case you don't find pre-compiled binaries)

* ESP Ghostscript-7.05.6
  (http://sourceforge.net/project/showfiles.php?group_id=18073)

* Gimp-Print-4.2.5 (the IJS-supporting version)
  (http://sourceforge.net/project/showfiles.php?group_id=1537)

* foomatic-rip
  (http://www.linuxprinting.org/foomatic2.9/download.cgi?filename=foomatic-rip&show=0)

* the z52-PPD-file
  
(http://www.linuxprinting.org/foomatic2.9/ppd-o-matic.cgi?driver=gimp-print&printer=328553&show=0)

to get it printing perfectly from Linux.

Then, make sure you have the "smb" backend in your "/usr/lib/cups/backend/"
directory. If it is not there, ask your root user to issue the command

"ln -s `which smbspool` /usr/lib/cups/backend/smb"

for you. Then, the installation of the printer is done with

lpadmin -p z52onXP -v smb://[winXP-netbiosname]/[z52-sharename] -E -P /path/to/the/z52-PPD-file


Sounds complicated? Yes, I know. Because it still *is* kind of complicated. But in the end it works.

Ciao,
Kurt

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to