From owner-freebsd-questions Fri Oct 29 3:45:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from zeus.dnt.md (zeus.dnt.md [195.138.124.37]) by hub.freebsd.org (Postfix) with ESMTP id B0C8E15556 for ; Fri, 29 Oct 1999 03:45:15 -0700 (PDT) (envelope-from sl@zeus.dnt.md) Received: from localhost (sl@localhost) by zeus.dnt.md (8.9.3/8.9.3) with ESMTP id NAA79552 for ; Fri, 29 Oct 1999 13:45:13 +0300 (EEST) Date: Fri, 29 Oct 1999 13:45:13 +0300 (EEST) From: slava revutchi To: freebsd-questions@freebsd.org Subject: samba printing, need a hint 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 Hello, I am trying to print from my FreeBSD box to a wondows attached printer using smbclient. All goes well except for a little problem. If the file I send to the printer is less then a page it will not be printed out untill I send some more stuff to fill up the page. So what I do now is send the desired file and then send another blank file so that the first one gets printed out. Can anyone suggest a better workaround? My printer is a HPLJ4M. Here is my smbprint script. #!/bin/sh ( echo translate echo "print -" cat ) | /usr/local/bin/smbclient //poseidon/hplj4m -d1 -N -P exit 0 Thanks to any replys. slava revutchi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message