From owner-freebsd-questions Mon Aug 24 21:16:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA27365 for freebsd-questions-outgoing; Mon, 24 Aug 1998 21:16:16 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from thelab.hub.org (nat0118.mpoweredpc.net [142.177.188.118]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA27358 for ; Mon, 24 Aug 1998 21:16:15 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.9.1/8.8.8) with SMTP id BAA04429; Tue, 25 Aug 1998 01:15:18 -0300 (ADT) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Tue, 25 Aug 1998 01:15:17 -0300 (ADT) From: The Hermit Hacker To: samba@samba.anu.edu.au, freebsd-questions@FreeBSD.ORG Subject: /etc/printcap for samba-shared printer... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Morning... Just spent this evening getting printing setup off my FreeBSD machine (oh, how I love Solaris at these times *groan*)...got it now so that I can print directly from Netscape, color and graphics and all. The printer is an HP 560c. Now, I want to be able to print from my Windoze95 machine, and have samba setup for that, as well as file sharing. If I setup my Windoze machine such that my printer is \\thelab\deskjet, which is the same printer (in /etc/printcap) that I use for Netscape under Unix, the test page gets sent across, but it isn't correct (graphic is all skewed). I'm figuring that there is something different that I must do with my printcap for a samba-shared printer vs local, but looking through the archives, can't find anything other then "use samba", so I ask here. My current entry is: deskjet:ps:PS:S:lp:HP DeskJet Printer:\ :sh:sd=/var/spool/lpd/deskjet:\ :lp=/dev/lpt0:\ :if=/usr/local/libexec/ifhp:\ :lf=/var/log/log.printer: The if filter is the /usr/share/examples/hpif file, for piping postscript through ghostscript. On the Windoze side, I have the HP 560c drivers loaded, and a friend mentioned something about just wanted to pass it through straight, but getting rid of the if= line doesn't appear to help, so that's not doing it right :( What am I overlooking? Thanks... Marc G. Fournier Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message