
problem: print jobs sent to cups via samba from windows sit in print queue and never get processed printer: HP OfficeJet 600 set up cups + hpijs drivers. going through localhost:631 i set up the printer. had cups print out a test page ... looked good. set up samba ... samba file sharing/access/etc... works. added printer support to samba (see bottom for smb.conf). was able to add printer on windows2000 machine. viewed the properties of the printer, all of that stuff. went to print test page, no error came back. goto localhost:631 and i see: ID Name User Size State Control HP_OfficeJet_Series_600-2 smbprn.000004.mITl7Y root 313k processing since Sun Jun 30 02:53:03 2002 Hold Job Cancel Job basically it sits there forever (by forever i mean 24+hrs) and never gets printed. any ideas ? k thx -mike cups' printer.conf <DefaultPrinter HP_OfficeJet_Series_600> Info HP OfficeJet 600 Location Home DeviceURI parallel:/dev/lp0 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> smb.conf [global] preferred master = True domain master = False wins support = yes hosts allow = 192.168.0. interfaces = 192.168.0.1/24 security = SHARE encrypt passwords = Yes guest account = root netbios name = Home workgroup = WH0RD.ORG server string = home.wh0rd.org Samba %v # load printers = yes printcap name = lpstat printing = cups [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = yes writable = no printable = yes create mode = 0700 print command = lpr -P %p -o raw %s -r lpq command = lpstat -o %p lprm command = cancel %p-%j [print$] path = /var/lib/samba/printers guest ok = yes browseable = yes read only = yes write list = root

Michael Frysinger wrote:
problem: print jobs sent to cups via samba from windows sit in print queue and never get processed
printer: HP OfficeJet 600 set up cups + hpijs drivers. going through localhost:631 i set up the printer. had cups print out a test page ... looked good. set up samba ... samba file sharing/access/etc... works. added printer support to samba (see bottom for smb.conf). was able to add printer on windows2000 machine. viewed the properties of the printer, all of that stuff. went to print test page, no error came back. goto localhost:631 and i see: ID Name User Size State Control HP_OfficeJet_Series_600-2 smbprn.000004.mITl7Y root 313k processing since Sun Jun 30 02:53:03 2002 Hold Job Cancel Job basically it sits there forever (by forever i mean 24+hrs) and never gets printed. any ideas ? k thx -mike
cups' printer.conf <DefaultPrinter HP_OfficeJet_Series_600> Info HP OfficeJet 600 Location Home DeviceURI parallel:/dev/lp0 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer>
smb.conf [global] preferred master = True domain master = False wins support = yes
hosts allow = 192.168.0. interfaces = 192.168.0.1/24 security = SHARE encrypt passwords = Yes guest account = root
netbios name = Home workgroup = WH0RD.ORG server string = home.wh0rd.org Samba %v
# load printers = yes printcap name = lpstat printing = cups
[printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = yes writable = no printable = yes create mode = 0700 print command = lpr -P %p -o raw %s -r lpq command = lpstat -o %p lprm command = cancel %p-%j
[print$] path = /var/lib/samba/printers guest ok = yes browseable = yes read only = yes write list = root
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
uh...WINDOWS SUCKS? ROFL... sorry man...i know that was uncalled for but...i just had to...please forgive me :) i HATE printers! heh... my two cents...now i'll shut up... -jeff (co-crazy guy who made MWBLUG) p.s. WHERE's THE DERN BBQ AT THIS YEAR! i miss hangin' out with all ya nerdz!!! :) p.p.s. dang it's hot here in woo-stah

Hi, is there anything in /var/log/cups/? -brad

well yes, but nothing useful. [test page that printed via cups] I [29/Jun/2002:22:24:59 -0400] Job 1 queued on 'HP_OfficeJet_Series_600' by 'root'. I [29/Jun/2002:22:24:59 -0400] Started backend /usr/lib/cups/backend/parallel (PID 13670) for job 1. [page printed via windows that does not work] I [29/Jun/2002:22:53:03 -0400] Job 2 queued on 'HP_OfficeJet_Series_600' by 'root'. I [29/Jun/2002:22:53:03 -0400] Started backend /usr/lib/cups/backend/parallel (PID 13757) for job 2. `ps -f -p 13757` UID PID PPID C STIME TTY TIME CMD root 13757 13357 0 Jun29 ? 00:00:00 parallel:/dev/lp0 2 root smbprn.000004.mITl7Y 1 /var/spool/cups/d00002-001 ... still sitting there doin nothin ;) -mike ----- Original Message ----- From: "Brad Noyes" <maitre@ccs.neu.edu> To: <wlug@mail.wlug.org> Sent: Monday, July 01, 2002 10:23 PM Subject: Re: [Wlug] CUPS + Samba + Win2000
Hi, is there anything in /var/log/cups/?
-brad _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug

On Mon, Jul 01, 2002 at 11:27:12PM -0400, Michael Frysinger wrote: vapier> `ps -f -p 13757` vapier> UID PID PPID C STIME TTY TIME CMD vapier> root 13757 13357 0 Jun29 ? 00:00:00 parallel:/dev/lp0 2 root vapier> smbprn.000004.mITl7Y 1 /var/spool/cups/d00002-001 vapier> ... still sitting there doin nothin ;) Not knowing CUPS, I will restrict my comments to generic ones... What's the file format of smbprn.000004.mITl7Y? Is it compatible with what the backend/parallel port/printer is expecting? i.e., if it is postscript, does the printer support postscript? If it is HPGL, does the printer support that? What does file show: file smbprn.000004.mITl7Y What happens if you copy smbprn.000004.mITl7Y to /tmp and do: lpr /tmp/smbprn.000004.mITl7Y Does that work? -- Charles R. Anderson <cra@wpi.edu> / http://angus.ind.wpi.edu/~cra/ PGP Key ID: 49BB5886 Fingerprint: EBA3 A106 7C93 FA07 8E15 3AC2 C367 A0F9 49BB 5886

Did you check /var/log/cups/error_log and /var/log/cups/access_log for anything interesting? Later, Andy -- Andy Stewart, Founder Worcester Linux Users' Group Worcester, MA USA http://www.wlug.org
participants (5)
-
Andy Stewart
-
Brad Noyes
-
Charles R. Anderson
-
jeff
-
Michael Frysinger