lprng

Sean Roe sean at azbiz.net
Thu Feb 19 15:01:37 MST 2009


the combo of cups and samba wont print pdf correctly so I figure Id
try something else.  I can see the file getting to lprng from this
output:

   Status: IF filter 'foomatic-rip' filter msg - 'foomatic-rip version
$Revision$ running...' at 13:34:13.810
 Status: IF filter 'foomatic-rip' filter msg - 'called with arguments:
'-Asean at mustang+221', '-CA', '-D2009-02-19-13:34:13.530', '-Ff',
'-Hmustang.roehaus.net', '-Jsmbprn.00000009.8wgDOu', '-Lsean',
'-Nsmbprn.00000009.8wgDOu', '-Plp1', '-Qlp1', '-SCanon I560',
'-aacct', '-b688009', '-d/var/spool/lpd/lp0',
'-edfA221mustang.roehaus.net', '-fsmbprn.00000009.8wgDOu',
'-hmustang.roehaus.net', '-j221', '-l66', '-nsean', '-sstatus',
'-t2009-02-19-13:34:13.000', '-w80', '-x0', '-y0', 'acct'' at
13:34:13.810
 Status: IF filter 'foomatic-rip' filter msg - 'Parsing PPD file ...'
at 13:34:13.810
 Status: IF filter 'foomatic-rip' filter msg - '*cupsFilter:
"application/vnd.cups-postscript 100 foomatic-rip"' at 13:34:13.812
 Status: IF filter 'foomatic-rip' filter msg - '*cupsFilter:
"application/vnd.cups-pdf 0 foomatic-rip"' at 13:34:13.812
 Status: IF filter 'foomatic-rip' filter msg - 'Added option
ColorSpace' at 13:34:13.813
 Status: IF filter 'foomatic-rip' filter msg - 'Added option
Resolution' at 13:34:13.813
 Status: IF filter 'foomatic-rip' filter msg - 'Added option PageSize'
at 13:34:13.813
 Status: IF filter 'foomatic-rip' filter msg - 'Added option
PageRegion' at 13:34:13.818
 Status: IF filter 'foomatic-rip' filter msg - 'Added option
ImageableArea' at 13:34:13.830
 Status: IF filter 'foomatic-rip' filter msg - 'Added option
PaperDimension' at 13:34:13.830
 Status: IF filter 'foomatic-rip' filter msg - 'Added option Quality'
at 13:34:13.830
 Status: IF filter 'foomatic-rip' filter msg - 'Added option Font' at
13:34:13.830
 Status: IF filter 'foomatic-rip' filter msg - 'Parameter Summary' at
13:34:13.830
 Status: IF filter 'foomatic-rip' filter msg - '-----------------' at
13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg - 'Spooler: lprng' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg - 'Printer: lp1' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg - 'Shell: /bin/sh' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg - 'PPD file:
/usr/local/lib/bj8pa06n.ppd' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg - 'ATTR file: ' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg - 'Printer model: Canon
BJC-8200 Foomatic/bj8pa06n.upp (recommended)' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg - 'Options: ' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg - 'Job title:
smbprn.00000009.8wgDOu' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg - 'File(s) to be printed:
<STDIN>' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg -
'================================================' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg - 'File: <STDIN>' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg -
'================================================' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg - 'Reading PostScript
input ...' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg - 'Job does not start
with "%!", is it PostScript?' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg - 'Starting file
converter' at 13:34:13.831
 Status: IF filter 'foomatic-rip' filter msg - 'Starting converter for
non-PostScript files' at 13:34:13.832
 Status: IF filter 'foomatic-rip' filter msg - 'file converter PID
kid2=5230' at 13:34:13.832
 Status: IF filter 'foomatic-rip' filter msg - 'file converter
command: a2ps -1 --medium=Letterdj
--center-title="smbprn.00000009.8wgDOu" -o -' at 13:34:13.832
 Status: IF filter 'foomatic-rip' filter msg - 'Starting process 5231:
"a2ps -1 --medium=Letterdj --center-title="smbprn.00000009.8wgDOu" -o
-"' at 13:34:13.834
 Status: IF filter 'foomatic-rip' filter msg - '[stdin (binary):
ignored]' at 13:34:13.866
 Status: IF filter 'foomatic-rip' filter msg - '[No output produced]'
at 13:34:13.866
 Status: IF filter 'foomatic-rip' filter msg - 'Process 5231 ending:
"a2ps -1 --medium=Letterdj --center-title="smbprn.00000009.8wgDOu" -o
-"' at 13:34:13.867
 Status: IF filter 'foomatic-rip' filter msg - 'Job does not start
with "%!", is it PostScript?' at 13:34:13.868
 Status: IF filter 'foomatic-rip' filter msg - 'Starting file
converter' at 13:34:13.868
 Status: IF filter 'foomatic-rip' filter msg - 'Process dying with
"Caught termination signal: Job canceled", exit stat: 0' at
13:34:13.868
 Status: IF filter 'foomatic-rip' filter msg - ' error: Broken pipe
(32)' at 13:34:13.868
 Status: IF filter 'foomatic-rip' filter msg - 'Cleaning up ...' at 13:34:13.868
 Status: IF filter 'foomatic-rip' filter msg - 'KID1 finished' at 13:34:13.868
 Status: IF filter 'foomatic-rip' filter msg - 'Process dying with
"File conversion filter probably crashed", exit stat: 3' at
13:34:13.869
 Status: IF filter 'foomatic-rip' filter msg - ' error:  (0)' at 13:34:13.869
 Status: IF filter 'foomatic-rip' filter msg - 'Cleaning up ...' at 13:34:13.869
 Status: IF filter 'foomatic-rip' filter msg - 'Closing foomatic-rip.'
at 13:34:16.874
 Status: IF filter 'foomatic-rip' filter msg - 'File conversion filter
probably crashed' at 13:34:18.869
 Status: IF filter 'foomatic-rip' filter msg - 'Closing foomatic-rip.'
at 13:34:18.869
 Status: IF filter 'foomatic-rip' filter exit status 'JREMOVE' at 13:34:18.883
 Status: printing finished at 13:34:18.883


so I think it has to do with the print drivers on windows interacting
with the drivers on Linux.  My investigation continues.

Sean





On Thu, Feb 19, 2009 at 2:50 PM, Craig White <craigwhite at azapple.com> wrote:
> On Thu, 2009-02-19 at 11:59 -0700, Sean Roe wrote:
>> Hi All,
>>
>> has anybody got any experience with lprng and samba?  I have lprng
>> working so I can print from the localhost and samba is working as I
>> can attach shares and all. but when I try to setup a printer in samba,
>> I am having no real progress.  I am running LPRng-3.8.A and
>> samba-3.2.0-1 on Fedora core 9 machine.  The printer is printing fine
>> with lp.  here is the printcap entry:
>>
>>   lp1|printer \
>>   |lp \
>>   :force_localhost \
>>   :server \
>>   :cm=Canon I560 \
>>   :lp=/dev/lp0 \
>>   :ppd=/usr/local/lib/bj8pa06n.ppd \
>>   :if=/usr/bin/foomatic-rip \
>>   :sd=/var/spool/lpd/lp0 \
>>   :mx=0:sh:
>>
>> when I send a print job via samba I get the following info from lpq
>>
>> Printer: lp1 at mustang (originally lp) 'Canon I560'
>>  Queue: no printable jobs in queue
>>  Server: no server active
>>  Status: job 'sean at mustang+837' saved at 10:53:24.612
>>  Rank   Owner/ID               Pr/Class Job Files                 Size Time
>> error  sean at mustang+837             A   837 ERROR: too many errors
>>
>>
>> any ideas?
> ----
> what 'print' references to you have in smb.conf ? (i.e. printcap, lp*)
> What about the 'printers' share in smb.conf... does the path exist?
>
> Just out of curiousity, why don't you just use cups?
>
> Craig
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


More information about the PLUG-discuss mailing list