Re: Samba printing, OpenBSD client to Windows server

2008-11-30 Thread Alexander Hall

Ed Ahlsen-Girard wrote:

Alexander Hall wrote:

Ed Ahlsen-Girard wrote:
   OK, I've installed Samba, and gotten printcap set such that I 
printed a straight text fire, but nothing else works now that I tried 
to print other formats through gv and open-office.


Perhaps Samba is not the way to go?  Printcap below.

#$OpenBSD: printcap,v 1.4 2003/03/28 21:32:30 jmc Exp $

#lp|local line printer:\
#:lp=/dev/lp:sd=/var/spool/output:lf=/var/log/lpd-errs:

#rp|remote line printer:\
#:lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs:
lp|hpoffice:rp=hpoffice:rm=192.168.1.100:sd=/var/spool/lpd/hpoffice:af=/var/spool/lpd/hpoffice/acct:if=/usr/local/bin/smbprint:mx=0:lp=/dev/null: 




For local printing, samba does nothing. Unless your printer supports 
postcsript natively (most cheap printers don't) you need some kind of 
converting filter. For my canon i550, i'm using apsfilter combined 
with ghostscript, both available as packages/ports.


Dont know if /usr/local/bin/smbprint in your printcap is some filter 
like that or where it comes from. Can't find it in any port.


/Alexander

It's not local printing.  It's an HP OfficeJet hung on a Windows XP 
machine.


Ok, so your machine is a samba client. That explains the if=... part. :)

Anyway, if I'm not terribly mistaken, samba or that XP host will not 
help you convert from postscript (or whatever the program printing from 
is delivering) to the printers native language, so if your printer does 
not grok postscript you still need some kind of filter. However, most 
printers, if not all, can print normal ascii text.


I have no idea what capabilities the HP OfficeJet has, but to me it 
still seems like ghostscript or something else is needed to convert your 
output to a suitable format for the printer.


/Alexander



Re: Samba printing, OpenBSD client to Windows server

2008-11-30 Thread Mike Swanson

Ed Ahlsen-Girard wrote:
   OK, I've installed Samba, and gotten printcap set such that I 
printed a straight text fire, but nothing else works now that I tried 
to print other formats through gv and open-office.


Perhaps Samba is not the way to go?  Printcap below.

#$OpenBSD: printcap,v 1.4 2003/03/28 21:32:30 jmc Exp $

#lp|local line printer:\
#:lp=/dev/lp:sd=/var/spool/output:lf=/var/log/lpd-errs:

#rp|remote line printer:\
#:lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs:
lp|hpoffice:rp=hpoffice:rm=192.168.1.100:sd=/var/spool/lpd/hpoffice:af=/var/spool/lpd/hpoffice/acct:if=/usr/local/bin/smbprint:mx=0:lp=/dev/null: 




Personally, I've found it easier to just install an LPR daemon
on Windows itself.  I had a similar problem of trying to print
to a printer connected to a Windows box, and I have yet to find
any solution with, eg Samba or otherwise, to print to it over SMB.
At least on Windows XP, there is a Add/Remove Windows Components in
the control panel that allows you to install an LPR daemon (which is
not installed by default), and pretty much anything can print to it
after that.  Maybe the situation will work better if you run Windows
2003 or 2008, but I'm not familiar with that case.



Re: Samba printing, OpenBSD client to Windows server

2008-11-29 Thread Ed Ahlsen-Girard

Alexander Hall wrote:

Ed Ahlsen-Girard wrote:
   OK, I've installed Samba, and gotten printcap set such that I 
printed a straight text fire, but nothing else works now that I tried 
to print other formats through gv and open-office.


Perhaps Samba is not the way to go?  Printcap below.

#$OpenBSD: printcap,v 1.4 2003/03/28 21:32:30 jmc Exp $

#lp|local line printer:\
#:lp=/dev/lp:sd=/var/spool/output:lf=/var/log/lpd-errs:

#rp|remote line printer:\
#:lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs:
lp|hpoffice:rp=hpoffice:rm=192.168.1.100:sd=/var/spool/lpd/hpoffice:af=/var/spool/lpd/hpoffice/acct:if=/usr/local/bin/smbprint:mx=0:lp=/dev/null: 



For local printing, samba does nothing. Unless your printer supports 
postcsript natively (most cheap printers don't) you need some kind of 
converting filter. For my canon i550, i'm using apsfilter combined 
with ghostscript, both available as packages/ports.


Dont know if /usr/local/bin/smbprint in your printcap is some filter 
like that or where it comes from. Can't find it in any port.


/Alexander


It's not local printing.  It's an HP OfficeJet hung on a Windows XP machine.



Re: Samba printing, OpenBSD client to Windows server

2008-11-29 Thread Stuart Henderson
On 2008-11-29, Ed Ahlsen-Girard [EMAIL PROTECTED] wrote:
 Alexander Hall wrote:
 Ed Ahlsen-Girard wrote:
OK, I've installed Samba, and gotten printcap set such that I 
 printed a straight text fire, but nothing else works now that I tried 
 to print other formats through gv and open-office.

 Perhaps Samba is not the way to go?  Printcap below.

 #$OpenBSD: printcap,v 1.4 2003/03/28 21:32:30 jmc Exp $

 #lp|local line printer:\
 #:lp=/dev/lp:sd=/var/spool/output:lf=/var/log/lpd-errs:

 #rp|remote line printer:\
 #:lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs:
 lp|hpoffice:rp=hpoffice:rm=192.168.1.100:sd=/var/spool/lpd/hpoffice:af=/var/spool/lpd/hpoffice/acct:if=/usr/local/bin/smbprint:mx=0:lp=/dev/null:
  


 For local printing, samba does nothing. Unless your printer supports 
 postcsript natively (most cheap printers don't) you need some kind of 
 converting filter. For my canon i550, i'm using apsfilter combined 
 with ghostscript, both available as packages/ports.

 Dont know if /usr/local/bin/smbprint in your printcap is some filter 
 like that or where it comes from. Can't find it in any port.

 /Alexander

 It's not local printing.  It's an HP OfficeJet hung on a Windows XP machine.



Unless your printer supports postsript natively (most cheap printers
don't) you need some kind of converting filter.



Re: Samba printing, OpenBSD client to Windows server

2008-11-29 Thread raven

Stuart Henderson ha scritto:

On 2008-11-29, Ed Ahlsen-Girard [EMAIL PROTECTED] wrote:
  

Alexander Hall wrote:


Ed Ahlsen-Girard wrote:
  
   OK, I've installed Samba, and gotten printcap set such that I 
printed a straight text fire, but nothing else works now that I tried 
to print other formats through gv and open-office.


Perhaps Samba is not the way to go?  Printcap below.

#$OpenBSD: printcap,v 1.4 2003/03/28 21:32:30 jmc Exp $

#lp|local line printer:\
#:lp=/dev/lp:sd=/var/spool/output:lf=/var/log/lpd-errs:

#rp|remote line printer:\
#:lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs:
lp|hpoffice:rp=hpoffice:rm=192.168.1.100:sd=/var/spool/lpd/hpoffice:af=/var/spool/lpd/hpoffice/acct:if=/usr/local/bin/smbprint:mx=0:lp=/dev/null: 

For local printing, samba does nothing. Unless your printer supports 
postcsript natively (most cheap printers don't) you need some kind of 
converting filter. For my canon i550, i'm using apsfilter combined 
with ghostscript, both available as packages/ports.


Dont know if /usr/local/bin/smbprint in your printcap is some filter 
like that or where it comes from. Can't find it in any port.


/Alexander

  

It's not local printing.  It's an HP OfficeJet hung on a Windows XP machine.





Unless your printer supports postsript natively (most cheap printers
don't) you need some kind of converting filter.
  
You can install on Windows XP a LPR support and on OpenBSD you try in 
that way  else you must have to install CUPS.


Francesco



Re: Samba printing, OpenBSD client to Windows server

2008-11-29 Thread Stuart Henderson
On 2008-11-29, raven [EMAIL PROTECTED] wrote:
 Stuart Henderson ha scritto:
 On 2008-11-29, Ed Ahlsen-Girard [EMAIL PROTECTED] wrote:
   
 Alexander Hall wrote:
 
 Ed Ahlsen-Girard wrote:
   
OK, I've installed Samba, and gotten printcap set such that I 
 printed a straight text fire, but nothing else works now that I tried 
 to print other formats through gv and open-office.

 Perhaps Samba is not the way to go?  Printcap below.

 #$OpenBSD: printcap,v 1.4 2003/03/28 21:32:30 jmc Exp $

 #lp|local line printer:\
 #:lp=/dev/lp:sd=/var/spool/output:lf=/var/log/lpd-errs:

 #rp|remote line printer:\
 #:lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs:
 lp|hpoffice:rp=hpoffice:rm=192.168.1.100:sd=/var/spool/lpd/hpoffice:af=/var/spool/lpd/hpoffice/acct:if=/usr/local/bin/smbprint:mx=0:lp=/dev/null:
  
 
 For local printing, samba does nothing. Unless your printer supports 
 postcsript natively (most cheap printers don't) you need some kind of 
 converting filter. For my canon i550, i'm using apsfilter combined 
 with ghostscript, both available as packages/ports.

 Dont know if /usr/local/bin/smbprint in your printcap is some filter 
 like that or where it comes from. Can't find it in any port.

 /Alexander

   
 It's not local printing.  It's an HP OfficeJet hung on a Windows XP machine.


 

 Unless your printer supports postsript natively (most cheap printers
 don't) you need some kind of converting filter.
   
 You can install on Windows XP a LPR support

Unless your ** printer ** supports postscript natively (most
cheap printers don't) you need some kind of converting filter.



Re: Samba printing, OpenBSD client to Windows server

2008-11-29 Thread raven

Stuart Henderson ha scritto:

On 2008-11-29, raven [EMAIL PROTECTED] wrote:
  

Stuart Henderson ha scritto:


On 2008-11-29, Ed Ahlsen-Girard [EMAIL PROTECTED] wrote:
  
  

Alexander Hall wrote:



Ed Ahlsen-Girard wrote:
  
  
   OK, I've installed Samba, and gotten printcap set such that I 
printed a straight text fire, but nothing else works now that I tried 
to print other formats through gv and open-office.


Perhaps Samba is not the way to go?  Printcap below.

#$OpenBSD: printcap,v 1.4 2003/03/28 21:32:30 jmc Exp $

#lp|local line printer:\
#:lp=/dev/lp:sd=/var/spool/output:lf=/var/log/lpd-errs:

#rp|remote line printer:\
#:lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs:
lp|hpoffice:rp=hpoffice:rm=192.168.1.100:sd=/var/spool/lpd/hpoffice:af=/var/spool/lpd/hpoffice/acct:if=/usr/local/bin/smbprint:mx=0:lp=/dev/null: 


For local printing, samba does nothing. Unless your printer supports 
postcsript natively (most cheap printers don't) you need some kind of 
converting filter. For my canon i550, i'm using apsfilter combined 
with ghostscript, both available as packages/ports.


Dont know if /usr/local/bin/smbprint in your printcap is some filter 
like that or where it comes from. Can't find it in any port.


/Alexander

  
  

It's not local printing.  It's an HP OfficeJet hung on a Windows XP machine.





Unless your printer supports postsript natively (most cheap printers
don't) you need some kind of converting filter.
  
  

You can install on Windows XP a LPR support



Unless your ** printer ** supports postscript natively (most
cheap printers don't) you need some kind of converting filter.
  
exactly, using *cups* as i write in my last post, you have a converting 
filter...

Francesco



Re: Samba printing, OpenBSD client to Windows server

2008-11-29 Thread Girish Venkatachalam
On 20:33:56 Nov 29, Stuart Henderson wrote:
 
 Unless your printer supports postsript natively (most cheap printers
 don't) you need some kind of converting filter.
 

You mean like a2ps?

/usr/ports/print/a2ps

-Girish



Samba printing, OpenBSD client to Windows server

2008-11-28 Thread Ed Ahlsen-Girard
   OK, I've installed Samba, and gotten printcap set such that I 
printed a straight text fire, but nothing else works now that I tried to 
print other formats through gv and open-office.


Perhaps Samba is not the way to go?  Printcap below.

#   $OpenBSD: printcap,v 1.4 2003/03/28 21:32:30 jmc Exp $

#lp|local line printer:\
#   :lp=/dev/lp:sd=/var/spool/output:lf=/var/log/lpd-errs:

#rp|remote line printer:\
#   :lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs:
lp|hpoffice:rp=hpoffice:rm=192.168.1.100:sd=/var/spool/lpd/hpoffice:af=/var/spool/lpd/hpoffice/acct:if=/usr/local/bin/smbprint:mx=0:lp=/dev/null: