Hello all...I was having incredible difficulty in setting up my HP Color LaserJet 4500 to be shared on a Caldera 2.3 Linux server with access to it from Windows 2000 machines. I've been working about a week now (sadly enough) and I think I've made some progress mainly from information in newsgroups and online documentation. Here's what I have so far: I can print from the linux machine using the lpr command, I can login from windows 2000 through telnet and print using lpr, I can log on to the printer through smbclient (but don't know how or what to print from there), and I can see the printer shared in the network and connect to it from Windows 2000. I still can't print from the Windows machines though. When I click to print a test page, it says "unable to create print job," and, of course, nothing happens. Does anyone know what I need to do from here? Any help would be appreciated. snippets from [smb.conf] [global] workgroup = wkgrp netbios name = server encrypt passwords = Yes null passwords = Yes username map = /etc/samba.d/smbusers unix password sync = Yes max log size = 50 socket options = TCP_NODELAY domain logons = Yes os level = 65 preferred master = Yes dns proxy = No wins proxy = Yes wins server = 129.2.162.1 [printers] comment = All Printers path = /var/spool/lpd/hpcolor read only = No create mask = 0700 guest ok = Yes print ok = Yes postscript = Yes print command = browseable = No [hpcolor] comment = HP Color LaserJet path = /var/spool/samba read only = No guest ok = Yes print ok = Yes postscript = Yes print command = lpr -r -Phpcolor %s printer name = hpcolor and [printcap] hpcolor:\ :lp=/dev/lp0:\ :br#57600:\ :rm=:\ :rp=:\ :sd=/var/spool/lpd/hpcolor:\ :mx#0:\ :sh:\ :if=/var/spool/lpd/hpcolor/printfilter: -------------- next part -------------- HTML attachment scrubbed and removed
Hi there, This is a wild guess, change the path between printers and hpcolor, and make sure you have chmod 777 on /var/spool/samba. [printers] /var/spool/samba [hpcolor] path =3D /var/spool/lpd/hpcolor Kind regards Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: BDY.RTF Type: application/rtf Size: 544 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20000628/7a85299c/BDY.rtf
[[HTML mail refused. Multipart/alternative seriously frowned upon. Long lines refilled without comment.]] [Stamatis Kantartzis <snk7@hotmail.com>]> Hello all...I was having incredible difficulty in setting up my HP > Color LaserJet 4500Ooooh, nice printer. (: And I mean friggin' *nice* printer.> to be shared on a Caldera 2.3 Linux server with access to it from > Windows 2000 machines.Which version of Samba are you using? I believe Caldera 2.3 shipped some time before Samba 2.0.7, so you are likely using 2.0.6. There *is* a difference -- several known Win2k bugs were fixed in 2.0.7. I don't recall if any of them had to do with printing.> I can log on to the printer through smbclient (but don't know how or > what to print from there)try the command "trans; print /etc/passwd" or "trans; print -" if you're piping from stdin (from a script, most likely). The "trans" command prevents stair-stepping. (Not a problem for PostScript, but it can be for plain text, depending on how you're set up. It can't hurt, anyway.)> When I click to print a test page, it says "unable to create print > job," and, of course, nothing happens.You have installed the print driver from Win2k? This is one thing Samba won't do: NT-style print driver sharing. Here's another thought: try copy c:\autoexec.bat \\caldera\hp4500 where "c:\autoexec.bat" is a test page of some sort and "\\caldera\hp4500" is your print share. Whether that works or not may narrow down your problem a little. Peter