Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2000 12:00:43 -0400 (EDT)
From:      Jim Sander <jim@federation.addy.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Perplexing Printer and Printing Prioblems
Message-ID:  <Pine.BSF.4.10.10005241114510.8746-100000@federation.addy.com>
In-Reply-To: <001101bfc591$6ff46280$020710ac@greenwich>

next in thread | previous in thread | raw e-mail | index | archive | help
   Greetings, here's the situation- haven't been able to find usefull
documentation anywhere so I'm hoping someone can point me in the right
direction, or at least put some semi-usefull text into the list archives
in case someone else is looking for what little I already puzzled out.

   I have a 4.0R box that I'm running as a print server. I have a SIIG
Parallel Pro Dual (model IO1828) - I'm hoping to add a second card in the
near future to handle (duh) two more printers, but am having quite a time
of actually getting things to work with the existing printers.

   Here's a boatload of info for you to peruse. If I'm missing something,
please let me know and I'll make amendmends as needed.

==========================================================================
uname: FreeBSD 4.0-RELEASE FreeBSD 4.0-RELEASE #2: 

parallel related kernal configs...
--------------------------------------------------------------------
# Parallel port
device          ppc0    at isa? irq 7
device          ppc1    at isa? irq 9
device          ppc2    at isa? irq 12
device          ppc3    at isa? irq 15
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port interface device
#device         vpo             # Requires scbus and da


dmesg | grep ^pp
----------------------------------------------------------
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: IEEE1284 device found /NIBBLE/ECP/ECP_RLE
ppbus0: <XEROX Document WorkCentre XD/201.10> RASTER
ppi0: <Parallel I/O> on ppbus0
ppc1: <Parallel port> at port 0x278-0x27f irq 9 on isa0
ppc1: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus1: IEEE1284 device found /NIBBLE/ECP
ppbus1: <HEWLETT-PACKARD HP 2000C> PCL,MLC,PML
ppi1: <Parallel I/O> on ppbus1
ppc2: parallel port not found.
ppc3: parallel port not found.

dmesg | grep ^lp
-----------------------------
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
lpt1: <Printer> on ppbus1
lpt1: Interrupt-driven port


/etc/printcap 
------------------------------------------
xerox:\
        :sh:\
        :lp=/dev/lpt0:\
        :sd=/var/spool/output/lpt0:\
        :lf=/var/log/xerox-errs:\
        :if=/var/spool/output/filter:
color:\
        :sh:\
        :lp=/dev/lpt1:\
        :sd=/var/spool/output/lpt1:\
        :lf=/var/log/color-errs:\
        :if=/var/spool/output/filter:


the filter
--------------------------------------------------------------------------
#!/bin/sh
#
# Simply copies stdin to stdout.  Ignores all filter arguments.
# Tells printer to treat LF as CR+LF. Writes a form feed character
# after printing job.

printf "\033&k2G" && cat && printf "\f" && exit 0
exit 2

==========================================================================

   The printers I currently have attatched are an HP-2000C (color inkjet)
and a Xerox-XD130df (copier/printer) which may be most of the problem. The
Xerox seems to imply that it requires bidirectional support to function.
(which makes little sense, but that's nothing new in the windows world)
The HP seems to recommend not using NT's LPR-Port support. (they don't
have anything to say about LPR in general though) Their manuals are even
less clear, and of course the web site doesn't have anything except "Click
on 'Add Printer' and follow the directions."

   I can echo directly to the device and print to the color, but not the
xerox. There is definitely some sort of "issue" with the filter I'm using,
but I'm having bigger problems than can be explained that way. Anyone have
any insight for me here? I've also been playing with printer support under
SAMBA, but that doesn't seem to be getting me any further. (which isn't
terribly surprising since lpr in general isn't working)

   Thanks for your time and effort.

-=Jim=-



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10005241114510.8746-100000>