[Samba] I've always HATED printing with Samba

Jim C jcllings at tsunamicomm.net
Fri Jul 25 05:03:30 GMT 2003


I get something similar:

[root at enigma root]# locate z53
/var/spool/lpd/z53-outfiles
/var/spool/lpd/lexmarkz53
/var/spool/lexmark/z53.conf
/usr/bin/lexmarkz53
/usr/local/bin/lexmarkz53
/usr/local/lexmark/z53
/usr/local/lexmark/z53/z53
/usr/local/lexmark/z53/LGPL
/usr/local/lexmark/z53/rmlp
/usr/local/lexmark/z53/lxacphal.out
...

I can print just fine from the machine in question, it is printing to 
that printer through Samba that I really have a problem with.

>This looks like you use cups, not lprng, so, I have no idea how much of what
>I said will apply. 
>
>Maybe you haven't the software from lexmark.
>
>Here is a part of what I see with:
>locate z53
>/mnt/hda4/usr/local/lexmark/z53
>/mnt/hda4/usr/local/lexmark/z53/A4.xpm
>/mnt/hda4/usr/local/lexmark/z53/A5.xpm
>/mnt/hda4/usr/local/lexmark/z53/A6_Card.xpm
>/mnt/hda4/usr/local/lexmark/z53/align.xpm
>/mnt/hda4/usr/local/lexmark/z53/alignz53
>/mnt/hda4/usr/local/lexmark/z53/B5.xpm
>/mnt/hda4/usr/local/lexmark/z53/Banner.xpm
>etc. etc.
>
>By point to I mean the "if" (input filter) paramter in /etc/printcap,
>which refers to the file z53.sh if you are using the lexmark supplied
>drivers.
>
>Joel
>
>On Thu, Jul 24, 2003 at 08:47:18PM -0700, Jim C wrote:
>  
>
>>>OK. Here is what works for me. As usual, your mileage may vary.
>>>I assume you have installed the software for the lexmarkz53 on your
>>>linux server. I assume you can print a test page. If you can't, likely
>>>you are not printing the testpage to a raw queue. The testpage goes to a
>>>raw queue while the real print jobs go to a filtered queue, in my setup.
>>>I assume you know how to run the lexmark setup program which generates the
>>>configuration file.
>>>
>>>lexmark supplies print filters that work fine in linux to drive the z53.
>>>I wrote a tutorial on print filters some time ago. I used this filter
>>>as part of that writeup. Here is part of that tutorial.
>>>============Start Tutorial=====================
>>>There is a shell script called z53.sh. This is what your printcap file
>>>should be pointing to.
>>>
>>>      
>>>
>>I'm not sure I know what you mean by "points to".
>>
>>[root at enigma z53]# man printcap
>>No manual entry for printcap
>>[root at enigma z53]# man -k printcap
>>printcap: nothing appropriate
>>
>>/etc/printcap says:
>># This file was automatically generated by cupsd(8) from the
>># /etc/cups/printers.conf file.  All changes to this file
>># will be lost.
>>LexmarkZ53|LexmarkZ53:rm=enigma.microverse.net:rp=LexmarkZ53:
>>
>>[root at enigma z53]# locate LexmarkZ53
>>/etc/cups/ppd/LexmarkZ53.ppd
>>/etc/foomatic/LexmarkZ53.ppd
>>/var/cache/samba3.BAK/samba3/printing/LexmarkZ53.tdb
>>/var/cache/samba3/printing/LexmarkZ53.tdb
>>/home/jcolling/.openoffice/user/psprint/driver/LexmarkZ53.PPD
>>
>>
>>
>>    
>>
>
>
>  
>






More information about the samba mailing list