This was the answer to a question posed on the Samba list almost a year
ago. The following regarding Windows 98 printer names seemed to get
lost:
In windows 98, printer name:
----------------------------> 13 characters: printer offline
<= 13 but > 8: ppd doesn't download, can print with adobe drivers
<= 8: full functionality
I also tried an 8.3 printername: testtest.tst, which resulted in a ppd
of testtest.tst.ppd. Same problems as before...no download but limited
printing with adobe drivers. Thank you.
-Jeff
On Thu, 2003-04-17 at 12:34, Anonymous wrote:> Jeff Hardy wrote:
>
> > Thanks very much... that was exactly it. Here is a brief summary of
> > my situation for any other newbies (I myself am still very much
one):> >
> > In windows 98, printer name:
> > ----------------------------
> > > 13 characters: printer offline
> > < 13 but > 8: ppd doesn't download, can print with adobe
drivers
> > < 8: full functionality
> >
> > thanks again,
> > Jeff
>
>
> Hi, Jeff --
>
> -- could you please clarify that resolution of the problem at the
Samba> mailinglist over there, too, please? Since you posted there with
exactly> the same problem, and since you got a similar suggestion for remedy
there> too, it would be nice if not too many readers would remain in the dark
> about that issue, now that it is solved...
>
> Cheers,
> Kurt
>
>
> > On Wed, 2003-04-16 at 22:06, Jeff Hardy wrote:
> > > Thanks for the suggestion...I know Win98 just sees the printer as
> > > offline if you exceed 13 characters, so I thought I was safe if I
> > stayed
> > > below that. I'll give it a try.
> > >
> > >
> > > Hello,
> > >
> > > I had the same problem. Driver installation on Win 98 runs only
(my> > > experience) with queue names which are not longer than 8
characters. Try> > > a shorter queue name in cups like HP4050 instead of K100_HP4050
and> > > install this new queue with cupsaddsmb.
> > >
> > > regards
> > > A. Gabriel
> > >
> > > Jeff Hardy wrote:
> > > > Just wanted to say thanks to all on the list for all your
help.
And > > > > here is something else I hope someone can help with.
> > > >
> > > > red hat 8.0 (2.4.18-26.8.0)
> > > > cups-1.1.18
> > > > samba 2.2.8
> > > > netatalk-1.6.1
> > > >
> > > >
> > > > I have windows clients successfully installing and printing
to
> > > > printers over samba and macs over netatalk. My problem is
driver> > > > downloads over samba. Stock Adobe drivers. Windows 2000
and
Windows> > > > XP clients successfully grab drivers off of the print$ share
without a> > > > glitch. Windows 98 gets stuck partway. After it makes
progress
> > > > pulling the Adobe files off, it gets stuck on the actuall
ppd
for the > > > > printer.
> > > >
> > > >
> > > >
> > > > I get the following windows dialog box:
> > > >
----------------------------------------------------------------------> > > > -
> > > > The file 'K100_HP4050.PPD on Network printer driver
files cannot
be> > > > found. Setup had trouble copying a file. Click OK to try
copying the> > > > file again. If this message reappears, quit Setup and then
try
> > > > running Setup again.
> > > >
> > > > Copy files from:
> > > > \PRINTING2PRINT$WIN400
> > > >
----------------------------------------------------------------------> > > > -
> > > >
> > > >
> > > >
> > > > If I click on the "Details" button I get this
windows dialog:
> > > >
----------------------------------------------------------------------> > > > -
> > > > The following error occurred: 'No more files' (error
#12).
> > > >
> > > > Setup could not finish opening a file on the source disk.
> > > >
> > > > Source file: '\PRINTING2PRINT$WIN400K100_HP4050.PPD'
> > > > Destination file:
'C:WINDOWSSYSTEMK100_HP4050.PPD=K100_HP4050.PPD'> > > >
----------------------------------------------------------------------> > > > -
> > > >
> > > >
> > > > If I elect to skip this file, the rest of the Adobe files
come
off of > > > > the share. I can even print a test page at this point.
> > > > Then, if I look at the share \Printing2print$WIN400, I can
see
and> > > > manually copy the file down to the client.
> > > >
> > > >
> > > >
> > > > Here is my smb.conf:
> > > > #======================= Global
> > > > Settings==============================> > > >
[global]
> > > > workgroup = POTSDAM
> > > > netbios name = Printing2
> > > > server string = Print Server
> > > > security = domain
> > > > encrypt passwords = yes
> > > > password server = *
> > > > hosts allow = 137.143.
> > > > log level = 3
> > > > log file = /var/log/samba/log.samba
> > > > max log size = 50
> > > >
> > > > printing = cups
> > > > printcap name = cups
> > > > load printers = yes
> > > >
> > > >
> > > > #======================= Share
> > > > Definitions============================> > > >
[printers]
> > > > comment = All Printers
> > > > path = /var/spool/samba
> > > > browseable = no
> > > > public = yes
> > > > guest ok = yes
> > > > writable = no
> > > > printable = yes
> > > > printer admin = admin, root
> > > >
> > > > [print$]
> > > > comment = Printer Drivers for Windows
> > > > path = /etc/samba/drivers
> > > > browseable = yes
> > > > guest ok = yes
> > > > read only = yes
> > > > write list = admin, root
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > and here is the output of cupsaddsmb:
> > > >
----------------------------------------------------------------------> > > > -
> > > > [root@comp11704 samba]# cupsaddsmb -U admin -v K100_HP4050
> > > > Password for admin required to access localhost via SAMBA:
> > > > Running command: smbclient //localhost/print$ -N
-U'admin%secret'> > -c
> > > > 'mkdir W32X86;put /var/spool/cups/tmp/3e9c53a1477fa
> > > > W32X86/K100_HP4050.PPD;put
/usr/share/cups/drivers/ADOBEPS5.DLL
> > > > W32X86/ADOBEPS5.DLL;put /usr/share/cups/drivers/ADOBEPSU.DLL
> > > > W32X86/ADOBEPSU.DLL;put /usr/share/cups/drivers/ADOBEPSU.HLP
> > > > W32X86/ADOBEPSU.HLP'
> > > > added interface ip=137.143.110.107 bcast=137.143.111.255
> > > > nmask=255.255.240.0
> > > > Domain=[POTSDAM] OS=[Unix] Server=[Samba 2.2.8]
> > > > NT_STATUS_OBJECT_NAME_COLLISION making remote directory
W32X86
> > > > putting file /var/spool/cups/tmp/3e9c53a1477fa as
> > > > W32X86/K100_HP4050.PPD (15481.7 kb/s) (average 15482.4
kb/s)putting> > > > file /usr/share/cups/drivers/ADOBEPS5.DLL as
W32X86/ADOBEPS5.DLL
> > > > (5958.3 kb/s) (average 6205.7 kb/s)
> > > > putting file /usr/share/cups/drivers/ADOBEPSU.DLL as
> > > > W32X86/ADOBEPSU.DLL (10192.2 kb/s) (average 6781.6 kb/s)
> > > > putting file /usr/share/cups/drivers/ADOBEPSU.HLP as
> > > > W32X86/ADOBEPSU.HLP (2002.0 kb/s) (average 6347.1 kb/s)
> > > >
> > > > Running command: rpcclient localhost -N
-U'admin%secret' -c
'adddriver> > >
> > > > "Windows NT x86"
> > > >
"K100_HP4050:ADOBEPS5.DLL:K100_HP4050.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NU> > > > LL:RAW:NULL"'
> > > > cmd = adddriver "Windows NT x86"
> > > >
> > >
"K100_HP4050:ADOBEPS5.DLL:K100_HP4050.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL> > > :RAW:NULL"
> > > > Printer Driver K100_HP4050 successfully installed.
> > > >
> > > > Running command: smbclient //localhost/print$ -N
-U'admin%secret'> > -c
> > > > 'mkdir WIN40;put /var/spool/cups/tmp/3e9c53a1477fa
> > > > WIN40/K100_HP4050.PPD;put
/usr/share/cups/drivers/ADFONTS.MFM
> > > > WIN40/ADFONTS.MFM;put /usr/share/cups/drivers/ADOBEPS4.DRV
> > > > WIN40/ADOBEPS4.DRV;put /usr/share/cups/drivers/ADOBEPS4.HLP
> > > > WIN40/ADOBEPS4.HLP;put /usr/share/cups/drivers/DEFPRTR2.PPD
> > > > WIN40/DEFPRTR2.PPD;put /usr/share/cups/drivers/ICONLIB.DLL
> > > > WIN40/ICONLIB.DLL;put /usr/share/cups/drivers/PSMON.DLL
> > > > WIN40/PSMON.DLL;' added interface ip=137.143.110.107
> > > > bcast=137.143.111.255 nmask=255.255.240.0
> > > > Domain=[POTSDAM] OS=[Unix] Server=[Samba 2.2.8]
> > > > NT_STATUS_OBJECT_NAME_COLLISION making remote directory
WIN40putting> > > > file /var/spool/cups/tmp/3e9c53a1477fa as
WIN40/K100_HP4050.PPD
> > > > (15481.7 kb/s) (average 15482.4 kb/s)
> > > > putting file /usr/share/cups/drivers/ADFONTS.MFM as
WIN40/ADFONTS.MFM> > > > (6854.7 kb/s) (average 7060.1 kb/s)
> > > > putting file /usr/share/cups/drivers/ADOBEPS4.DRV as
> > > WIN40/ADOBEPS4.DRV
> > > > (14380.3 kb/s) (average 10805.3 kb/s)
> > > > putting file /usr/share/cups/drivers/ADOBEPS4.HLP as
> > > WIN40/ADOBEPS4.HLP
> > > > (19185.4 kb/s) (average 11265.8 kb/s)
> > > > putting file /usr/share/cups/drivers/DEFPRTR2.PPD as
> > > WIN40/DEFPRTR2.PPD
> > > > (6587.6 kb/s) (average 11214.9 kb/s)
> > > > putting file /usr/share/cups/drivers/ICONLIB.DLL as
WIN40/ICONLIB.DLL> > > > (6408.8 kb/s) (average 10786.7 kb/s)
> > > > putting file /usr/share/cups/drivers/PSMON.DLL as
WIN40/PSMON.DLL> > > > (3733.3 kb/s) (average 10299.1 kb/s)
> > > >
> > > > Running command: rpcclient localhost -N
-U'admin%secret' -c
'adddriver> > >
> > > > "Windows 4.0"
> > > >
"K100_HP4050:ADOBEPS4.DRV:K100_HP4050.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:> > > >
> > >
RAW:ADOBEPS4.DRV,K100_HP4050.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFP> > > RTR2.PPD,ICONLIB.DLL"'
> > > > cmd = adddriver "Windows 4.0"
> > > >
> > >
"K100_HP4050:ADOBEPS4.DRV:K100_HP4050.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RA> > >
W:ADOBEPS4.DRV,K100_HP4050.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRT> > > R2.PPD,ICONLIB.DLL"
> > > > Printer Driver K100_HP4050 successfully installed.
> > > >
> > > > Running command: rpcclient localhost -N
-U'admin%secret' -c
'setdriver> > >
> > > > K100_HP4050 K100_HP4050' cmd = setdriver K100_HP4050
K100_HP4050
> > > > Succesfully set K100_HP4050 to driver K100_HP4050.
> > > >
> > > > [root@comp11704 samba]#
> > > >
----------------------------------------------------------------------> > > > --
> > > >
> > > >
> > > >
> > > > This is very annoying. My server is only a few steps away
from
> >
> > > > production and this is one of the last things I need to
fix...:)
> > Any
> > > > help would be greatly appreciated.
> > > >
> > >
> > > _______________________________________________
> > > cups mailing list
> > > cups@easysw.com
> > > http://lists.easysw.com/mailman/listinfo/cups
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > cups mailing list
> > > cups@easysw.com
> > > http://lists.easysw.com/mailman/listinfo/cups
> > >
> > >
> > >
> >
> >
> >
> >
>
> _______________________________________________
> cups mailing list
> cups@easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
>
>
>
I also tried an 8.3 printername: testtest.tst, which resulted in a ppd
of testtest.tst.ppd. Same problems as before...no download but limited
printing with adobe drivers. Thank you.