Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > updates > by-pkgid > 9f76d24be37ca2d6b601b0e9b5bc1cc7 > files > 349

printer-filters-1.0-138.2.100mdk.i586.rpm

DRV_X125_NETWORK
================

What is it?
-----------
THIS IS NOT A NORMAL PRINTER DRIVER, but rather a network filter for 
samba.  See drv_x125 for the Linux printer driver.

This is a samba network printer driver for the Lexmark X125 printer.  The
Windows driver sends raw data to a Samba share, which the X125 will not
accept.  The X125 needs the printer data encoded in small blocks, probably
because the Lexmark X125 is an all-in-one.

This program will encode the relayed information in small blocks, allowing
you to share your Lexmark X125 printer over a samba share.

Who did it?
-----------
Mark Roth

Disclaimer
----------
Copyright 2003-2004 by Mark Roth.  All rights reserved.

Redistribution and use in source and binary forms is covered by the GNU 
General Public Licsense (see LICENSE).

This software is provided *as is* and without any expressed or implied
warranties, including, without limitation, the implied warranties of
merchantibility and fitness for any particular purpose.

This program is not guaranteed to do anything. If if destroys your printer,
burns down your house, kills your cat or does something else wrong, I am not
responsible. The driver works ok for me though.

How
---
Lexmark has not released their printer protocol. It was reverse-engineered by
letting the original lexmark driver print to a file. The commands for changing
and aligning the cartridges were snooped from the USB.

Status
------
At the moment, this driver is working properly, except that in Windows you will
always see a status of "Error".  I am not aware of any other problems or 
limitations.  

Setup
-----
To set up this network printer driver, follow these steps:

1. Add the following to /etc/samba/smb.conf:

[x125]
   printable = yes
   print command = /usr/local/bin/x125_network /dev/usb/lp0 < %s
   printer = lp
   printing = BSD
   read only = yes
   guest ok = yes

2. Add the pcguest user to group lp or add write permission to /dev/usb/lp0
   to everybody.  (Note this may be a security hole and will allow anyone
   to send data to the printer).

3. Shut down your Windows box.

4. Restart the smb server (e.g. /etc/init.d/smb restart).  You may need
   to restart it twice.

5. Boot your windows box and browse your network.  Find the x125 printer
   and install the Windows Lexmark X125 driver if it's not already on
   your system.

6. Enjoy!


Contact
-------
This driver is maintained as a sourceforge project at:

    http://sourceforge.net/projects/x125-linux/

Please post your inquiries to the "Open Discussion" forum and feel free
to use the bug tracking, patch management and RFE features of sourceforge.
Be sure to specify you're talking about drv_x125_network and not the
printer driver drv_x125.

If you can't get your printer to work I suggest you visit
"www.linuxprinting.org". They have _excellent_ documentation available.
If you have trouble with USB, then check out "www.linux-usb.org".