From owner-freebsd-questions@FreeBSD.ORG Mon Apr 23 12:17:38 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4EC6016A40A for ; Mon, 23 Apr 2007 12:17:38 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id C4F0E13C43E for ; Mon, 23 Apr 2007 12:17:37 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so1960511muf for ; Mon, 23 Apr 2007 05:17:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ua1XwYGpfPx1sPW6AFHVGV/U5FO5D+ZGrsKPEaVbSOXFy17xm683Bt5bFyRTz6MFavKN/D5Cn27FXV52CPqa+vwQzuutlvw2tZ7g7KJFYFDyHxDRZ8AoR6HKpT2utmIf/I0zm89d3sK6E4da9brFOqc7GnbIfaQxe6Gt6qLA2QY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rBynBMDAT2EgzvkbGQvlmCaSLjKDYHf9ssOY0s79HaKfSid8GkwxEk22VDbkRzf6CYj8CMojNYPHZOqKpYZCSfyistcFr+ROG11Cfp95JWBv8nibr4cwsk93RP8BqYEA/l51z+MZ30cUrD6ergeez46XSIMFZM212w8F2F+WxAw= Received: by 10.82.191.3 with SMTP id o3mr9006086buf.1177330656091; Mon, 23 Apr 2007 05:17:36 -0700 (PDT) Received: by 10.82.191.16 with HTTP; Mon, 23 Apr 2007 05:17:36 -0700 (PDT) Message-ID: <80f4f2b20704230517t69e9fc31v97451e40abe9dcec@mail.gmail.com> Date: Mon, 23 Apr 2007 08:17:36 -0400 From: "Jim Stapleton" To: mailinglists@bsdcertification.com In-Reply-To: <462BE82E.7080601@bsdcertification.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20704201508x457f947ck203a9266eb51f157@mail.gmail.com> <462BE82E.7080601@bsdcertification.com> Cc: freebsd-questions@freebsd.org Subject: Re: CUPS + FreeBSD 6.2 + HP Laserjet 5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2007 12:17:38 -0000 Thanks. My printer is attached straight to the network (RJ-45), but I check /var/db/pkg, and saw no mention of cups-pdf or cups-pstoraster, so I am installing those... I'll try setting up my printer when I get home. Thanks, -Jim Stapleton On 4/22/07, Jared Barneck wrote: > Jim Stapleton wrote: > > I'm trying to print a test page for my printer using cups and I get > > the following error: > > Unsupported format 'application/postscript'! > Funny you should post about this problem... I have an HP Laserjet 5L. > It connects via parallel port to my wifes windows XP box. I was trying > to point to it and I kept getting that same error. > > I only had cups-base installed and no other cups ports. > > To attempt to fix it I did the following: > > 1. I made sure these three ports were installed. > > cups-base-1.2.2 The Common UNIX Printing System > cups-pdf-2.4.5 A virtual printer for CUPS to produce PDF files > cups-pstoraster-8.15.4 Postscript interpreter for CUPS printing to > non-PS printers > > 2. I added the windows box to the host file > > 3. I restarted cupsd. > > 4. Deleted the printer and readded it. > > It started working. I am not sure which step fixed it. > > > > I couldn't find anything when googling with FreeBSD in my search. When > > I took out FreeBSD, I got something for debian referencing lines 103 > > and 109 in the config being uncommented to get it to work. 103 in the > > default is blank, 109 is blank except for teh '#'. > > > > I uncommented this line, and restarted CUPS: > > application/vnd.cups-postscript application/vnd.cups-raster > > 100 pstoraster > > > > It didn't fix anything. > > I added this line, and restarted: > > application/postscript application/vnd.cups-raster 100 > > pstoraster > > > > And I still get the same error. > > > > I know CUPS worked fine from an install maybe 6 months ago (it had a > > completely different printer setup than now, it wasn't as easy to > > setup, but at least it worked). > > > > My question > > (1) Anyone know how to fix this issue with the current version > > (cvsup'ed and built today via 'sudo portupgrade -f > > print/cups-pstoraster print/cups-base print/ghostscript-gnu* > > print/ghostscript-gpl*' > > (2) How do I get csup/cvsup to match one port or a group of ports by > > name? I put *default date=2006.08.01.00.00.00 in my supfile > > (etc/supfile-ports) and tried: > > sudo csup -i '*cups*' -L 2 /etc/supfile-ports > > sudo csup -i 'print/cups*' -L 2 /etc/supfile-ports > > sudo cvsup -g -i '*cups*' -L 2 /etc/supfile-ports > > sudo cvsup -g -i 'print/cups*' -L 2 /etc/supfile-ports > > > > and none of the above updated any files according to the output (I > > usually see a list of files updated). Since ports were updated this > > morning, without the date line (so to today's ports layout), I should > > have seens something. > > > > Thanks, > > -Jim Stapleton > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > > >