Re: Printing to a Lanier LD160c does not work

2008-10-24 Thread ajphanks



- "Warren Block" <[EMAIL PROTECTED]> wrote:

> On Fri, 17 Oct 2008, [EMAIL PROTECTED] wrote:
> 
> > I have tried the reccomendations that you guys have suggested with
> no luck.
> 
> > Here is my current printcap.
> 
> > admincolor|LANIER LD160c RPCS:\
> >     :lp=\
> >     :mx#0:\
> >     :sd=/var/spool/output/admincolor:\
> >     :rm=admincolor:\
> >     :lf=/var/log/lpd-errs:\
> >     :if=/usr/local/libexec/crfilter:\
> >     :sh:\
> >     :tr=\f:
> 
> Please trim your responses and don't top-post, as it makes responding
> to 
> your messages difficult.
> 
> The printcap still has no :rp=lp: line.  HP printers aren't picky
> about 
> that, but other brands sometimes are.
> 
> You've also added a filter and kept the multiple printer names. 
> Things 
> like that make more complexity to debug.  Wait until you have basic 
> communication working.  The exact suggested printcap entry:
> 
> admincolor:\
>       :lp=:\
>       :sh:\
>       :mx#0:\
>       :rm=admincolor:\
>   :rp=lp:\
>       :sd=/var/spool/output/admincolor:\
>       :lf=/var/log/lpd-errs:
> 
> Note: one printer name (who needs more than one, really?).  rm= and
> rp= 
> entries.  No filter; I think that printer can handle PostScript and
> PCL.
> 
> Put that printcap entry in /etc/printcap, then send a PostScript test
> to 
> the printer (all one line):
> 
> printf "%%\!PS\n/Courier findfont 20 scalefont setfont 72 72 moveto
> (Test!) show showpage\f" | lpr -P admincolor
> 
> -Warren Block * Rapid City, South Dakota USA

I tried to reply to this email, but it never got posted.

After doing some more troubleshooting I found out the generic error message was 
indicating an authentication error.  By default the printer assumes color 
print, but the printer was setup to require a userid from the driver to allow 
color printing.  When the autherntication feature is disabled the printer now 
works.  My next step is to see what and how I can supply that info in the 
printcap.

 

Thanks for all the suggestions and guidance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Printing to a Lanier LD160c does not work

2008-10-23 Thread Martin Alejandro Paredes Sanchez
El Jue 23 Oct 2008, Jeremy Chadwick escribió:
> On Thu, Oct 23, 2008 at 09:42:41PM -0700, Martin Alejandro Paredes Sanchez 
wrote:
> > El Jue 16 Oct 2008, Jeremy Chadwick escribió:
> > >
> > > If this printer is hooked up on the network (e.g. via Ethernet), I
> > > believe you need to set the lp variable to the hostname or IP address
> > > of the printer, e.g.:
> > >
> > > admincolor|hp|laserjet|LANIER LD160c RPCS:\
> > >
> > >   :lp=192.168.1.100\
> > >   :sd=/var/spool/output/admincolor:rm=admincolor:\
> > >   :lf=/var/log/lpd-errs:
> >
> > Negative, leave the lp capability blank, explicitly (:lp=:).
> >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-advanc
> >ed.html#PRINTING-ADVANCED-NETWORK-RM
>
> Then the printcap(5) man page should reflect this; the existing
> explanations for both fields are painfully terse.
>
> lp str   /dev/lpdevice name to open for
> output, or [EMAIL PROTECTED] to
> open a TCP socket
> rm str   NULL   machine name for remote
> printer
>
> I can file a PR (to doc) on this if recommended.

if you are printing to a remote LPD system, you should use:

:lp=:\
:rm=hostname-or-ip:\
:rp=printer-name:\

If you use [EMAIL PROTECTED], then you should not use rp and rm, but in the 
port 
of the machine should be a program that undestand LPD/LPR protocol.

The printcap(5) man page has a section "REMOTE PRINTING".

maps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Printing to a Lanier LD160c does not work

2008-10-23 Thread Jeremy Chadwick
On Thu, Oct 23, 2008 at 09:42:41PM -0700, Martin Alejandro Paredes Sanchez 
wrote:
> El Jue 16 Oct 2008, Jeremy Chadwick escribió:
> > On Thu, Oct 16, 2008 at 08:36:42PM +, [EMAIL PROTECTED] wrote:
> > > I am trying to setup a Lanier LD160c (admincolor) that has a network
> > > interface.  I am new to FreeBSD and tried to follow the handbook.  I am
> > > able to print to a HP 5SI (corp-admin) with no problems.  There are no
> > > errors in the lpd-errs and the file is drained from the queue, but the
> > > printer does not print anything.  And this is a working printer to
> > > Windows. lpr -P admincolor testfile.txt
> > >
> > > printcap:
> > > corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\
> > >
> > >         :lp=\
> > >         :sd=/var/spool/output/corp-admin:rm=corp-admin:\
> > >         :lf=/var/log/lpd-errs:\
> > >         :if=/usr/local/libexec/crlfilter:sh:tr=\f:mx#0:
> > >
> > > admincolor|hp|laserjet|LANIER LD160c RPCS:\
> > >
> > >         :lp=\
> > >         :sd=/var/spool/output/admincolor:rm=admincolor:\
> > >         :lf=/var/log/lpd-errs:
> >
> > If this printer is hooked up on the network (e.g. via Ethernet), I
> > believe you need to set the lp variable to the hostname or IP address of
> > the printer, e.g.:
> >
> > admincolor|hp|laserjet|LANIER LD160c RPCS:\
> >
> >   :lp=192.168.1.100\
> >   :sd=/var/spool/output/admincolor:rm=admincolor:\
> >   :lf=/var/log/lpd-errs:
> >
> 
> Negative, leave the lp capability blank, explicitly (:lp=:).
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-advanced.html#PRINTING-ADVANCED-NETWORK-RM

Then the printcap(5) man page should reflect this; the existing
explanations for both fields are painfully terse.

lp str   /dev/lpdevice name to open for
output, or [EMAIL PROTECTED] to
open a TCP socket
rm str   NULL   machine name for remote
printer

I can file a PR (to doc) on this if recommended.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Printing to a Lanier LD160c does not work

2008-10-23 Thread Martin Alejandro Paredes Sanchez
El Jue 16 Oct 2008, Jeremy Chadwick escribió:
> On Thu, Oct 16, 2008 at 08:36:42PM +, [EMAIL PROTECTED] wrote:
> > I am trying to setup a Lanier LD160c (admincolor) that has a network
> > interface.  I am new to FreeBSD and tried to follow the handbook.  I am
> > able to print to a HP 5SI (corp-admin) with no problems.  There are no
> > errors in the lpd-errs and the file is drained from the queue, but the
> > printer does not print anything.  And this is a working printer to
> > Windows. lpr -P admincolor testfile.txt
> >
> > printcap:
> > corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\
> >
> >         :lp=\
> >         :sd=/var/spool/output/corp-admin:rm=corp-admin:\
> >         :lf=/var/log/lpd-errs:\
> >         :if=/usr/local/libexec/crlfilter:sh:tr=\f:mx#0:
> >
> > admincolor|hp|laserjet|LANIER LD160c RPCS:\
> >
> >         :lp=\
> >         :sd=/var/spool/output/admincolor:rm=admincolor:\
> >         :lf=/var/log/lpd-errs:
>
> If this printer is hooked up on the network (e.g. via Ethernet), I
> believe you need to set the lp variable to the hostname or IP address of
> the printer, e.g.:
>
> admincolor|hp|laserjet|LANIER LD160c RPCS:\
>
>   :lp=192.168.1.100\
>   :sd=/var/spool/output/admincolor:rm=admincolor:\
>   :lf=/var/log/lpd-errs:
>

Negative, leave the lp capability blank, explicitly (:lp=:).

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-advanced.html#PRINTING-ADVANCED-NETWORK-RM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Printing to a Lanier LD160c does not work

2008-10-22 Thread Martin Alejandro Paredes Sanchez
El Mar 21 Oct 2008, [EMAIL PROTECTED] escribió:
>
> I took your block above and replaced my block in the printcap, then sent
> the exact command above with the same failure. The queue is drained and the
> printer's log has a generic message "The job was reset." message. 
>
> My current printcap file.
>
> admincolor:\
>     :lp=:\
>     :sh:\
>     :mx#0:\
>     :rm=admincolor:\
>     :rp=lp:\
>     :sd=/var/spool/output/admincolor:\
>     :lf=/var/log/lpd-errs:
>

it sounds like LPD is working OK (send the job to the printer), the problem is 
the print job (the language PS/PCL) or in the printer (no configured).

how do you configure this printer in windows (LPR port)?

can you print to a file in windows, bring that file to FreeBSD and send it 
with lpr -P admincolor FileInWindows.bin

did you check the next URL?
http://www.linuxprinting.org/show_printer.cgi?recnum=Lanier-LD160c

maps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Printing to a Lanier LD160c does not work

2008-10-21 Thread ajphanks



- "Warren Block" <[EMAIL PROTECTED]> wrote: 
> On Fri, 17 Oct 2008, [EMAIL PROTECTED] wrote: 
> > I have tried the reccomendations that you guys have suggested with no luck. 
> > Here is my current printcap. 
> > admincolor|LANIER LD160c RPCS:\ 
> >     :lp=\ 
> >     :mx#0:\ 
> >     :sd=/var/spool/output/admincolor:\ 
> >     :rm=admincolor:\ 
> >     :lf=/var/log/lpd-errs:\ 
> >     :if=/usr/local/libexec/crfilter:\ 
> >     :sh:\ 
> >     :tr=\f: 
> Please trim your responses and don't top-post, as it makes responding to 
> your messages difficult. 
> The printcap still has no :rp=lp: line.  HP printers aren't picky about 
> that, but other brands sometimes are. 
> You've also added a filter and kept the multiple printer names.  Things 
> like that make more complexity to debug.  Wait until you have basic 
> communication working.  The exact suggested printcap entry: 
> admincolor:\ 
>   :lp=:\ 
>   :sh:\ 
>   :mx#0:\ 
>   :rm=admincolor:\ 
>           :rp=lp:\ 
>   :sd=/var/spool/output/admincolor:\ 
>   :lf=/var/log/lpd-errs: 
> Note: one printer name (who needs more than one, really?).  rm= and rp= 
> entries.  No filter; I think that printer can handle PostScript and PCL. 
> Put that printcap entry in /etc/printcap, then send a PostScript test to 
> the printer (all one line): 
> printf "%%\!PS\n/Courier findfont 20 scalefont setfont 72 72 moveto (Test!) 
> show showpage\f" | lpr -P admincolor 
> -Warren Block * Rapid City, South Dakota USA 


I took your block above and replaced my block in the printcap, then sent the 
exact command above with the same failure. The queue is drained and the 
printer's log has a generic message "The job was reset." message.  

My current printcap file. 

corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\ 
    :lp=\ 
    :sd=/var/spool/output/corp-admin:\ 
    :rm=corp-admin:\ 
    :lf=/var/log/lpd-errs:\ 
    :if=/usr/local/libexec/crlfilter:\ 
    :sh:\ 
    :tr=\f:\ 
    :mx#0: 

admincolor:\ 
    :lp=:\ 
    :sh:\ 
    :mx#0:\ 
    :rm=admincolor:\ 
    :rp=lp:\ 
    :sd=/var/spool/output/admincolor:\ 
    :lf=/var/log/lpd-errs: 

Queue status after print job is sent.
# lpc status all 
corp-admin: 
    queuing is enabled 
    printing is enabled 
    no entries in spool area 
    printer idle 
admincolor: 
    queuing is enabled 
    printing is enabled 
    no entries in spool area 
    printer idle 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Printing to a Lanier LD160c does not work

2008-10-17 Thread Warren Block

On Fri, 17 Oct 2008, [EMAIL PROTECTED] wrote:


I have tried the reccomendations that you guys have suggested with no luck.



Here is my current printcap.



admincolor|LANIER LD160c RPCS:\
    :lp=\
    :mx#0:\
    :sd=/var/spool/output/admincolor:\
    :rm=admincolor:\
    :lf=/var/log/lpd-errs:\
    :if=/usr/local/libexec/crfilter:\
    :sh:\
    :tr=\f:


Please trim your responses and don't top-post, as it makes responding to 
your messages difficult.


The printcap still has no :rp=lp: line.  HP printers aren't picky about 
that, but other brands sometimes are.


You've also added a filter and kept the multiple printer names.  Things 
like that make more complexity to debug.  Wait until you have basic 
communication working.  The exact suggested printcap entry:


admincolor:\
     :lp=:\
     :sh:\
     :mx#0:\
     :rm=admincolor:\
 :rp=lp:\
     :sd=/var/spool/output/admincolor:\
     :lf=/var/log/lpd-errs:

Note: one printer name (who needs more than one, really?).  rm= and rp= 
entries.  No filter; I think that printer can handle PostScript and PCL.


Put that printcap entry in /etc/printcap, then send a PostScript test to 
the printer (all one line):


printf "%%\!PS\n/Courier findfont 20 scalefont setfont 72 72 moveto (Test!) show 
showpage\f" | lpr -P admincolor

-Warren Block * Rapid City, South Dakota USA___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Printing to a Lanier LD160c does not work

2008-10-17 Thread Wojciech Puchar

If this printer is hooked up on the network (e.g. via Ethernet), I
believe you need to set the lp variable to the hostname or IP address of
the printer, e.g.:

admincolor|hp|laserjet|LANIER LD160c RPCS:\
:lp=192.168.1.100\
:sd=/var/spool/output/admincolor:rm=admincolor:\
:lf=/var/log/lpd-errs:

I think this also makes the assumption that the printer knows how to
speak the LPR protocol.  If it listens on a custom port, you can use
[EMAIL PROTECTED] instead.  See the printcap(5) man page, I guess.


he said that lpd queue gets drained. so printer DO accept the data.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Printing to a Lanier LD160c does not work

2008-10-17 Thread Wojciech Puchar

lpr -P admincolor testfile.txt

printcap:
corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\
   :lp=\
   :sd=/var/spool/output/corp-admin:rm=corp-admin:\
   :lf=/var/log/lpd-errs:\
   :if=/usr/local/libexec/crlfilter:sh:tr=\f:mx#0:

admincolor|hp|laserjet|LANIER LD160c RPCS:\
   :lp=\
   :sd=/var/spool/output/admincolor:rm=admincolor:\
   :lf=/var/log/lpd-errs:


i have no idea what does

:lp=\

do.

my setup is like yours for network printers except of that.

anything else is fine.



is your printer "printer compatible" i mean can it get textfiles? or maybe 
it'spostscript only or whatever?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Printing to a Lanier LD160c does not work

2008-10-17 Thread ajphanks
I have tried the reccomendations that you guys have suggested with no luck.  Is 
there a site that I could get some sample filters I could try?  I have tried a 
few that were in the freebsd corporate guide.  This printer will work from 
Windows printer spooler and this BSD box can print to a HP just fine.

Here is my current printcap.
corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\
:lp=\
:sd=/var/spool/output/corp-admin:\
:rm=corp-admin:\
:lf=/var/log/lpd-errs:\
:if=/usr/local/libexec/crlfilter:\
:sh:\
:tr=\f:\
:mx#0:
admincolor|LANIER LD160c RPCS:\
:lp=\
:mx#0:\
:sd=/var/spool/output/admincolor:\
:rm=admincolor:\
:lf=/var/log/lpd-errs:\
:if=/usr/local/libexec/crfilter:\
:sh:\
:tr=\f:

And here is the filter
#!/bin/sh
# /usr/local/libexec/crlfilter
#
# simple parlor trick to add CR to LF for printer
# Every line of standard input is printed with CRLF
# attached.
#
awk '{printf "%s\r\n", $0}' -



-- Original message -- 
From: Warren Block <[EMAIL PROTECTED]> 

> On Thu, 16 Oct 2008, [EMAIL PROTECTED] wrote: 
> 
> > I am trying to setup a Lanier LD160c (admincolor) that has a network 
> > interface. I am new to FreeBSD and tried to follow the handbook. I 
> > am able to print to a HP 5SI (corp-admin) with no problems. There are 
> > no errors in the lpd-errs and the file is drained from the queue, but 
> > the printer does not print anything. And this is a working printer to 
> > Windows. lpr -P admincolor testfile.txt 
> > 
> > printcap: 
> > corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\ 
> > :lp=\ 
> > :sd=/var/spool/output/corp-admin:rm=corp-admin:\ 
> > :lf=/var/log/lpd-errs:\ 
> > :if=/usr/local/libexec/crlfilter:sh:tr=\f:mx#0: 
> > 
> > admincolor|hp|laserjet|LANIER LD160c RPCS:\ 
> > :lp=\ 
> > :sd=/var/spool/output/admincolor:rm=admincolor:\ 
> > :lf=/var/log/lpd-errs: 
> 
> Note here that in the second entry you don't have the :sh: and :mx#0: 
> entries. No :if=: either, but maybe that's because you don't need an 
> input filter for this printer. 
> 
> At first guess, this printer may be touchy about the print queue name. 
> That's the :rp=: parameter, which is not here at all. There are a 
> couple of KB entries on the Lanier site that say to use "lp". 
> 
> printcap entries are easier to read if you put one option per line: 
> 
> admincolor:\ 
> :lp=:\ 
> :sh:\ 
> :mx#0:\ 
> :rm=admincolor:\ 
> :rp=lp:\ 
> :sd=/var/spool/output/admincolor:\ 
> :lf=/var/log/lpd-errs: 
> 
> -Warren Block * Rapid City, South Dakota USA 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Printing to a Lanier LD160c does not work

2008-10-16 Thread Warren Block

On Thu, 16 Oct 2008, [EMAIL PROTECTED] wrote:

I am trying to setup a Lanier LD160c (admincolor) that has a network 
interface.  I am new to FreeBSD and tried to follow the handbook.  I 
am able to print to a HP 5SI (corp-admin) with no problems.  There are 
no errors in the lpd-errs and the file is drained from the queue, but 
the printer does not print anything.  And this is a working printer to 
Windows. lpr -P admincolor testfile.txt


printcap:
corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\
   :lp=\
   :sd=/var/spool/output/corp-admin:rm=corp-admin:\
   :lf=/var/log/lpd-errs:\
   :if=/usr/local/libexec/crlfilter:sh:tr=\f:mx#0:

admincolor|hp|laserjet|LANIER LD160c RPCS:\
   :lp=\
   :sd=/var/spool/output/admincolor:rm=admincolor:\
   :lf=/var/log/lpd-errs:


Note here that in the second entry you don't have the :sh: and :mx#0: 
entries.  No :if=: either, but maybe that's because you don't need an 
input filter for this printer.


At first guess, this printer may be touchy about the print queue name. 
That's the :rp=: parameter, which is not here at all.  There are a 
couple of KB entries on the Lanier site that say to use "lp".


printcap entries are easier to read if you put one option per line:

admincolor:\
:lp=:\
:sh:\
:mx#0:\
:rm=admincolor:\
:rp=lp:\
:sd=/var/spool/output/admincolor:\
:lf=/var/log/lpd-errs:

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Printing to a Lanier LD160c does not work

2008-10-16 Thread Jeremy Chadwick
On Thu, Oct 16, 2008 at 08:36:42PM +, [EMAIL PROTECTED] wrote:
> I am trying to setup a Lanier LD160c (admincolor) that has a network 
> interface.  I am new to FreeBSD and tried to follow the handbook.  I am able 
> to print to a HP 5SI (corp-admin) with no problems.  There are no errors in 
> the lpd-errs and the file is drained from the queue, but the printer does not 
> print anything.  And this is a working printer to Windows. 
> lpr -P admincolor testfile.txt 
> 
> printcap: 
> corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\ 
> :lp=\ 
> :sd=/var/spool/output/corp-admin:rm=corp-admin:\ 
> :lf=/var/log/lpd-errs:\ 
> :if=/usr/local/libexec/crlfilter:sh:tr=\f:mx#0: 
> 
> admincolor|hp|laserjet|LANIER LD160c RPCS:\ 
> :lp=\ 
> :sd=/var/spool/output/admincolor:rm=admincolor:\ 
> :lf=/var/log/lpd-errs: 

If this printer is hooked up on the network (e.g. via Ethernet), I
believe you need to set the lp variable to the hostname or IP address of
the printer, e.g.:

admincolor|hp|laserjet|LANIER LD160c RPCS:\ 
:lp=192.168.1.100\
:sd=/var/spool/output/admincolor:rm=admincolor:\
:lf=/var/log/lpd-errs:

I think this also makes the assumption that the printer knows how to
speak the LPR protocol.  If it listens on a custom port, you can use
[EMAIL PROTECTED] instead.  See the printcap(5) man page, I guess.

P.S. -- I've never done this, it's just something I remember from
old days.  :-)

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Printing to a Lanier LD160c does not work

2008-10-16 Thread ajphanks
I am trying to setup a Lanier LD160c (admincolor) that has a network interface. 
 I am new to FreeBSD and tried to follow the handbook.  I am able to print to a 
HP 5SI (corp-admin) with no problems.  There are no errors in the lpd-errs and 
the file is drained from the queue, but the printer does not print anything.  
And this is a working printer to Windows. 
lpr -P admincolor testfile.txt 

printcap: 
corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\ 
:lp=\ 
:sd=/var/spool/output/corp-admin:rm=corp-admin:\ 
:lf=/var/log/lpd-errs:\ 
:if=/usr/local/libexec/crlfilter:sh:tr=\f:mx#0: 

admincolor|hp|laserjet|LANIER LD160c RPCS:\ 
:lp=\ 
:sd=/var/spool/output/admincolor:rm=admincolor:\ 
:lf=/var/log/lpd-errs: 

I have tried to edit the printcap file and change the 1st line to see if it has 
any difference, restarted the lpd.  chkprintcap does not generate any messages. 
 Any clues where I can start troubleshooting? 

/var/spool/output 
drwxrwx---  2 daemon  daemon  512 Oct 10 14:46 admincolor 
drwxrwx---  2 daemon  daemon  512 Oct 10 14:05 corp-admin 
drwxr-xr-x  2 rootdaemon  512 Oct 10 13:37 lpd 
-rw-rw-r--  1 rootdaemon5 Oct 10 14:28 lpd.lock 

I would appreciate any help on this.

Pat Hanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"