Date: Tue, 10 Dec 2002 16:35:05 -0500 From: Andrew Y Ng <ayn@andromeda.68k.org> To: JL Kottal <jlkottal@pcisys.net> Cc: alane@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: FreeBSD Port: cups-base-1.1.15.1_4 Message-ID: <20021210213505.GA1682@AndrewNg.com> In-Reply-To: <3DF65529.1060008@pcisys.net> References: <3DF65529.1060008@pcisys.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable cvsup your port tree, and do a make install in ports/print/cups I just inst= alled and configured CUPS last Saturday and I was able to print to both of = my USB printers. I also installed gimp-print as one of the printers wasn't = supported in ghostview-gnu. =20 also, in #2, looks like you don't have permission to write to the device as= a regular user, try printing as root. you probably want to give write perm= ission to at least the group and add the users who wants to print in that g= roup.=20 I have a brief writeup with some useful links at: http://andrewng.com/modules.php?name=3DNews&file=3Darticle&sid=3D22&mode=3D= thread&order=3D1&thold=3D0 let me know if you have more questions... /ayn On 0, JL Kottal <jlkottal@pcisys.net> wrote: > I am completely at my wit's end in trying to get CUPS up and running=20 > under FreeBSD 4.7. I am running a standalone workstation with a HP=20 > Laserjet 4 attached to the parallel port. >=20 > Here are the problems: >=20 > 1. If I try and install CUPS as a package from the 4.7 commercial CD=20 > set, it installs only the base. When I try to access it through the web= =20 > interface, it fails saying that it cannot find the resource. >=20 > 2. If I try and install CUPS (base, lpr, and pstoraster) as packages=20 > using /stand/sysinstall from ftp.freebsd.org, when I try to access it=20 > from the web interface, there is no choice for a parallel device in the= =20 > device dropdown box. On my system, under /dev, there is a device for=20 > lpt0, having permissions crw------. If I use the following configuration= =20 > file (which I caged from another computer that did work under FreeBSD=20 > 4.7) for /usr/local/etc/cups/printers.conf, I can add the printer from=20 > the command line. It will show up under the command "lpadmin -p -d",=20 > accept print jobs that can be seen using "lpq" but nothing ever prints=20 > at the printer. >=20 > # Printer configuration file for CUPS v1.1.15 > # Written by cupsd on Tue Nov 19 20:05:40 2002 > <DefaultPrinter lj4> > Info laserjet 4 > DeviceURI parallel:/dev/lpt0 > State Idle > Accepting Yes > JobSheets none none > QuotaPeriod 0 > PageLimit 0 > KLimit 0 > </Printer> >=20 > 3. If I try to install CUPS from /usr/ports/print/cups, it fails with=20 > the following messages: >=20 > In file included from ./src/sdctc.c:20: > obj/jpeglib_.h:1: jpeglib.h: No such file or directory > In file included from ./src/sdctc.c:24: > src/sdct.h:61: field `err' has incomplete type > src/sdct.h:73: field `err' has incomplete type > src/sdct.h:75: field `cinfo' has incomplete type > src/sdct.h:76: field `destination' has incomplete type > src/sdct.h:87: field `err' has incomplete type > src/sdct.h:90: field `dinfo' has incomplete type > src/sdct.h:91: field `source' has incomplete type > gmake: *** [obj/sdctc.o] Error 1 > *** Error code 2 >=20 > Stop in /usr/ports/print/cups-pstoraster. > *** Error code 1 >=20 > Stop in /usr/ports/print/cups. >=20 > This file is on my system at /usr/local/include/jpeglib.h. >=20 >=20 > This printer can set up either as a PCL and a PS printer. It works as=20 > either without problem under Red Hat Linux 7.3 on the same computer, usin= g=20 > the same hardware configuration, so I am pretty sure that the problem lie= s=20 > in CUPS. >=20 > Any suggestions or advice would be appreciated, as I have tried everythin= g=20 > that I can think of. >=20 > JL Kottal II >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message --=20 andrew y ng <ayn@andrewng.com> http://andrewng.com fingerprint : 46a1 29ff 893a 0381 dc81 1e1e bed8 e882 9bfc 594c --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAj32XgkACgkQvtjogpv8WUxQ5gCgrTIN4uQPzeJpD/6mS7I0DE2G iDkAnjlO3A3IjEIXIaQM386p3ZEnGMHw =CBKY -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021210213505.GA1682>