almost printing
Gary Ferrer
gary at ferrer.yi.org
Sun Dec 9 20:26:02 GMT 2001
That doesn't work. From the UNIX box, the printer is defined as to be able
to print ASCI or raw only. I can print ASCI fine (cat ASCI-file >
/dev/lp0). The printer is just a deskjet, not a postscript printer. If I
connect the printer to the Windows box printing is great.
Gary.
----- Original Message -----
From: "Joel Hammer" <Joel at HammersHome.com>
To: "Gary Ferrer" <gary at ferrer.yi.org>; <samba at lists.samba.org>
Sent: December 9, 2001 12:52 PM
Subject: Re: almost printing
> No. You can use local drivers. That is what I do.
> When I say dump the file, I mean print the job to a file. Then, on the
> server, try cat file > /dev/lp0 or whatever. (I am not at home right now
and
> can't try this out, but it should work. Try echo Hello > /dev/lp0 first,
as
> root. This assumes that lp0 is your printer port.
> Is your printer a postscript printer?
> Can you hook up the windows box to the printer directly? How does printing
> go then?
> Joel
>
>
> On Sun, Dec 09, 2001 at 12:28:56PM -0800, Gary Ferrer wrote:
> > You're right, I don't think the switch over did it. I'm not sure where
I
> > screwed things up. Now in 2.0.7, I created the printer definition file
and
> > copied the relevant printer driver files onto the Samba server. My
> > understanding is that I don't do this anymore with 2.x. So I removed
all
> > those files/directories, re-created a printer (lpadmin -p ...) then went
> > into swat to make that printer a share. On the Win98 client, I added
the
> > printer, whose printer drivers came from the Win98 CDROM. Everything
went
> > smoothly so far.
> > Are you saying I need to install printer drivers (as per the old 2.0.x
> > PRINTER_DRIVER.txt file) on the Samba server? When you suggest dumping
a
> > print file to a printer do you mean just dragging the file onto the
printer
> > icon?
> >
> > Thank so far.
> > Gary.
> >
> > ----- Original Message -----
> > From: "Joel Hammer" <Joel at HammersHome.com>
> > To: "Gary Ferrer" <gary at ferrer.yi.org>; <samba at lists.samba.org>
> > Sent: December 9, 2001 6:46 AM
> > Subject: Re: almost printing
> >
> >
> > > You haven't gotten any responses yet, so I'll put in my two cents.
> > > I do not know how switching to a new version of samba would affect
your
> > > printing output like this. Did you reinstall your print drivers?
> > > This sounds like a problem with how you have configured your printer
> > queues
> > > and drivers, not a samba issue.
> > > Have you tried just printing to a file from windows and dumping that
print
> > > file to your printer?
> > > Joel
> > >
> > >
> > >
> > > On Sat, Dec 08, 2001 at 01:25:28PM -0800, Gary Ferrer wrote:
> > > > Ok, I've managed to print to my HPDeskjet 694c attached to a Solaris
8
> > box
> > > > running samba 2.2.2 from Win98. Problem is with the left margin,
there
> > are
> > > > these little lines (garbage) running down the 1st column on the left
> > side
> > > > of the page. Also, when I print a page from Word 97, the whole page
> > doesn't
> > > > print (about 95% of it) and starts a little too far down the page.
> > Printing
> > > > was perfect with Samba 2.0.7 so it did work before.
> > > >
> > > > Can someone help me?
> > > >
> > > > ps: I created the printer deskjet on solaris as follows:
> > > >
> > > > lpadmin -p deskjet -I Simple,ESC
> > > > enable deskjet
> > > > accept deskjet
> > > >
> > > >
> > > > Thanks a lot.
> > > >
> > > > # Samba config file created using SWAT
> > > > # from gary (192.168.0.4)
> > > > # Date: 2001/12/06 11:00:24
> > > >
> > > > # Samba config file created using SWAT
> > > > # from gary (192.168.0.4)
> > > > # Date: 2001/12/06 11:00:24
> > > >
> > > > # Global parameters
> > > > [global]
> > > > workgroup = VANCOUVER
> > > > interfaces = iprb1
> > > > bind interfaces only = Yes
> > > > encrypt passwords = Yes
> > > > update encrypted = Yes
> > > > unix password sync = Yes
> > > > local master = No
> > > > printer admin = @gary
> > > > hosts allow = melody gary linuxbox sunbox
> > > > printing = bsd
> > > > print command = lp -o nobanner -c -d%p %s; rm %s
> > > >
> > > > [root]
> > > > comment = Root
> > > > path = /
> > > >
> > > > [Pron]
> > > > comment = Private
> > > > path = /var/pron
> > > >
> > > > [sun-printer]
> > > > path = /tmp
> > > > printer admin = gary
> > > > guest ok = Yes
> > > > printable = Yes
> > > > printer name = deskjet
> > > > printer driver file =
> > > >
> > > > Gary Ferrer
> > > > gary at ferrer.yi.org
> > > >
> > > >
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions: http://lists.samba.org/mailman/listinfo/samba
> > >
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: http://lists.samba.org/mailman/listinfo/samba
>
More information about the samba
mailing list