Re: Printing on win95

1999-01-14 Thread tko
Brant Wells writes:
> Howdy all...
> 
> I've got samba set up to where I can print to a shared printer... But 
> the files have to be text files, and I have to do it manually from the 
> smb:> prompt :(
> 
> WP8 will go through the motions, but will not print to the printer...
> 
> I created a script for this, /usr/bin/netprint  it looks like this:
> 
> *
> #!/bin/sh
> smbclient dahouse\\hpdeskje shadowgate.com -U BW07442 -P -c 'print'
> *
> My /etc/printcap file looks like this:
> *
> 
> lp1?Deskjet:\ 
> :lp=/dev/null:\ 
> :sd=/var/spool/lpd/lp:\ 
> :if=/usr/bin/netprint:\  
> :df=/etc/filter.ps:\

Did you edit /etc/filter.ps and insure the PCL conversion is enabled?

>  :tf=/etc/filter.pcl:\ 
> :af=/var/log/lp-acct:\ 
> :lf=/var/log/lp-errs:\ 
> :pl#66:\ 
> :pw#80:\ 
> :pc#150:\ 
> :mx#0:\ 
> :sh:
> 
> Anyone see anything wrong??
> 
> Thanks a plenty,
> Brant
> 
> __
> Get Your Private, Free Email at http://www.hotmail.com
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 


-- 
-= Sent by Debian 1.3 Linux =-
Thomas Kocourek  KD4CIK 
@[EMAIL PROTECTED]@westgac3.dragon.com Remove @_@ for correct Email address
--... ...-- ...  -.. .  -.- -.. - -.-. .. -.-


Re: Printing on win95

1999-01-10 Thread Carey Evans
"Brant Wells" <[EMAIL PROTECTED]> writes:

> I've got samba set up to where I can print to a shared printer... But 
> the files have to be text files, and I have to do it manually from the 
> smb:> prompt :(
> 
> WP8 will go through the motions, but will not print to the printer...
> 
> I created a script for this, /usr/bin/netprint  it looks like this:
> 
> *
> #!/bin/sh
> smbclient dahouse\\hpdeskje shadowgate.com -U BW07442 -P -c 'print'

Shouldn't that be 'print -'?  Is "shadowgate.com" really the password?

> lp1¦Deskjet:\ 
 ^

That should be an ASCII "VERTICAL LINE" "|", not an ISO-8859-1 "BROKEN
BAR".

Try the script from the command line, i.e.

netprint < printme.txt

Once that works, try it with lpr:

   lpr -Plp1 printme.txt

_Then_ work on WP8.

-- 
 Carey Evans  http://home.clear.net.nz/pages/c.evans/

  Larry froze.  Was the bag a trap?
  He could see the way in, but the other end appeared to be sealed.


Printing on win95

1999-01-10 Thread Brant Wells
Howdy all...

I've got samba set up to where I can print to a shared printer... But 
the files have to be text files, and I have to do it manually from the 
smb:> prompt :(

WP8 will go through the motions, but will not print to the printer...

I created a script for this, /usr/bin/netprint  it looks like this:

*
#!/bin/sh
smbclient dahouse\\hpdeskje shadowgate.com -U BW07442 -P -c 'print'
*
My /etc/printcap file looks like this:
*

lp1¦Deskjet:\ 
:lp=/dev/null:\ 
:sd=/var/spool/lpd/lp:\ 
:if=/usr/bin/netprint:\  
:df=/etc/filter.ps:\
 :tf=/etc/filter.pcl:\ 
:af=/var/log/lp-acct:\ 
:lf=/var/log/lp-errs:\ 
:pl#66:\ 
:pw#80:\ 
:pc#150:\ 
:mx#0:\ 
:sh:

Anyone see anything wrong??

Thanks a plenty,
Brant

__
Get Your Private, Free Email at http://www.hotmail.com