HP JetDirect on Windows

Marcel Kunath kunathma at pilot.msu.edu
Sun Dec 24 15:11:25 GMT 2000


This is regarding the HP JetDirect printing problem as described here:

http://lists.samba.org/pipermail/samba/2000-June/023215.html

http://lists.samba.org/pipermail/samba/2000-December/027327.html

http://lists.samba.org/pipermail/samba/2000-December/027252.html


I read LPRng howto's chapter on Samba:

http://www.astart.com/LPRng/smb.htm


There it states two possible [printer] setup possiblities. I was trying to
implement guest user printing and chose the setup from the bottom of the page:

               print command =       /usr/bin/lpr  -U%U@%M -P%p -r %s
               lpq command   =       /usr/bin/lpq  -U%U@%M -P%p
               lprm command  =       /usr/bin/lprm -U%U@%M -P%p %j
               lppause command =     /usr/sbin/lpc -U%U@%M hold %p %j
               lpresume command =    /usr/sbin/lpc -U%U@%M release %p %j
               queuepause command =  /usr/sbin/lpc -U%U@%M -P%p stop
               queueresume command = /usr/sbin/lpc -U%U@%M -P%p start

It does not work and causes the print job to be spooled but not printed or
deleted.

I changed to:

        print command =      /usr/bin/lpr  -P%p -r %s
        lpq command   =      /usr/bin/lpq  -P%p
        lprm command  =      /usr/bin/lprm -P%p %j
        lppause command =    /usr/sbin/lpc hold %p %j
        lpresume command =   /usr/sbin/lpc release %p %j
        queuepause command = /usr/sbin/lpc  -P%p stop
        queueresume command = /usr/sbin/lpc -P%p start

and the print job gets spooled from the Windows box, printed and deleted. I
guess the problem is solved but I don't understand what the problem was. If
anybody likes to comment on this go ahead.


mk





More information about the samba mailing list