If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From: "Brian K. White" <linut@squonk.net>
Subject: Re: Samba and HP Laserjet III's
References: <slrn94fe2c.bmu.dpuryear@localhost.localdomain> <3A487CB1.4A544942@aplawrence.com> <slrn94qpa6.12l.dpuryear@localhost.localdomain> <G6E166.G7F@wjv.com> <slrn96bpbd.187.dpuryear@localhost.localdomain>
Date: Wed, 17 Jan 2001 21:04:01 GMT
Dustin Puryear wrote:
>
> On Sat, 30 Dec 2000 15:46:54 GMT, Bill Vermillion <bill@wjv.com> wrote:
> >>My question: if the "dumb" print filter doesn't add or remove any
> >>formatting codes to the print job why is this not working?
> >
> >How about using the HP Laserjet III 'filter' and use the -o raw
> >option? Since you say it's a graphics printing problem, that's
> >what you typically use 'raw' for.
>
> I am not sure how to do this. I ran 'scoadmin printer' and didn't see the
> option to use "raw" printing. I also viewed /etc/printcap and viewed it's
> manpage for any OSR5-specific extensions.
all you do in scoadmin is select the model "HPLaserJet" (or whatever other
model you see there that you want to try out)
to use the "-oraw" (not "raw", and not "-raw", do not presume we made
typos until you try it exactly as stated and it doesn't work) in smb.conf
where it says "lp <some stuff>" insert "-oraw" into the <some stuff>
here is a sample from my smb.conf on my linux box...
[global]
...
print command = lpr -r -P%p %s
...
here is the equivalent for osr5
[global]
...
print command = lp -d%p -oraw %s
...
note 2 things:
this print command can be added to to indavidual shares sections too, so
you can have something like:
[NEC P1200]
comment = NEC PinWriter P1200
path = /var/spool/samba
writeable = Yes
guest ok = Yes
printable = Yes
printer = nec
print command = lp -d%p -oraw,nff,b,12cpi,lq %s
and also the "print command =" line doesn't even show up by default
anywhere in smb.conf in some cases unless you want to modify it from it's
default behaviour.
I highly recommend enabling swat.
I've already regurgitated enough stuff that you could have read for
yourself by typing in "samba configuration" into any search engine, so I
leave it to you to do that and find out how one enables and uses swat.
--
Brian K. White http://www.squonk.net/users/linut
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani
Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)
| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 1 | 4 | 3 | 185 | 1,326 |
/Bofcusm/968.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Add your comments
comment on this page here