[Samba] Win2K. Raw CUPS printing, driver download
Indiana Epilepsy and Child Neurology
BrainChild at Skyler.com
Tue Jan 18 01:11:50 GMT 2005
On Mon, 17 Jan 2005 00:43:24 -0700, you wrote:
>On Sun, 2005-01-16 at 19:35 -0500, Indiana Epilepsy and Child Neurology
>wrote:
>> Does anyone have a suggestion?
>>
>> The only replies I got were automated vacation responses.
>>
>> On Wed, 12 Jan 2005 10:27:52 -0500, you wrote:
>>
>> >Using Debian Sarge, samba, CUPS, and an HP G85 mutifunction with HPOJ
>> >to use the G85 USB connection, I've been able to get raw printing to
>> >work, and Point 'n' Print driver download to work, but not at the same
>> >time.
<snip>
>> >If I use the driver download, the output from a WordPad document with
>> >just the word "test" spits out multiple pages, each being either blank
>> >or just one line of garbage. The first page has a line which begins
>> >with @ and character like a capital C with a tail, then the printer
>> >URL in the form \\server\printer, cut off near the end by a smiley
>> >face and various other odd characters. The URL appears to repeat near
>> >the end of the line but is cut off when the printer runs out of room
>> >on the right.
<snip>
>The first page with @PJL etc.
Not seeing anything like "PJL". Most are foreign characters or
symbols, except for the printer UNC, which appears twice.
> is HP's page description language coming
>through and the rasterizer
Raw queue; doesn't that mean no rasterizer? Bytes go in, same bytes
go out? Maybe that's the problem: maybe queue is not so raw (slightly
cooked, perhaps? ;) )
>not knowing how to deal with it. My
>understanding is that Samba doesn't do much with printing other than
>apply ACL's and pass through to the cups facility. In fact, I'm not sure
>that this is a samba question/problem at all.
>
>Craig
Samba shouldn't do anything much (other than reassembling the data
after decoding the smb), and neither should CUPS when configured with
a raw queue. Since the raw queue works with a manually installed
Windows driver, but not with the one uploaded to Windows by Samba, my
thinking is Samba is doing something wrong, either in how it supports
the driver upload, or how it handles the smb. I know little about
smb, but being a network protocol, it is the logical place to expect a
printer UNC to be removed.
Here's the difference between what works and what doesn't:
Right click the shared printer and choose connect, and a printer
appears in the local machine's "Printers" folder. Use it and you get
garbage out. Look at its Properties page, Ports tab, you see "Samba
Printer Port". Of course to do this I had to first configure Samba to
provide the driver upload.
Install the same printer driver using the local "Printers" folder's
"Add Printer" wizard, then in its Properties page, Ports tab, choose
"Add Port", click "Local Port", then "New Port", then enter the
printer UNC and OK everything. Use it and it works.
So what exactly is the difference between these two ways of using the
same Samba share?
--
Don Stauffer, Office Manager
Indiana Epilepsy and Child Neurology, Inc.
More information about the samba
mailing list