Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 1999 13:45:13 +0300 (EEST)
From:      slava revutchi <sl@zeus.dnt.md>
To:        freebsd-questions@freebsd.org
Subject:   samba printing, need a hint
Message-ID:  <Pine.BSF.4.05.9910291335230.77652-100000@zeus.dnt.md>

next in thread | raw e-mail | index | archive | help

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




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