hp jetadmin / Solaris 7 / samba drama!

hp jetadmin / Solaris 7 / samba drama!

Post by Easter » Wed, 09 Aug 2000 04:00:00



I have just finished rebuilding a primary print server which used to run
quite well with a combination of HP's jetadmin / Solaris 7 (Sparc) / and
samba to allow mapping from wintel clients.  This runs perfectly (as it
used to!) apart from one thing - the spool directory keeps on filling up
with all of the print jobs.  The standard lp command being issued by samba
is of the form:

 lp -c -d<printqueuename> <printjob>; rm <printjob>.  

The -c option from lp is a directive to copy the printjob to the spool
directory as a failsafe mechanism; the rm command is supposed to eliminate
it the printjob after the directive to print is complete.  Removing the -c
option completely seems to have no effect (ie for whatever reason the
system doesn't seem to be paying too much attention to the actual print
command being invoked by samba - the job still turns up copied into the
spool directory).

Anyone with any clues?

--
Posted via CNET Help.com
http://www.help.com/

 
 
 

hp jetadmin / Solaris 7 / samba drama!

Post by Griz » Thu, 10 Aug 2000 04:00:00


Depending if you are running System 5 printing or BSD, try using lpr rather than lp. I believe that under System 5, lpr does not make a copy of the file.

Dave


> I have just finished rebuilding a primary print server which used to run
> quite well with a combination of HP's jetadmin / Solaris 7 (Sparc) / and
> samba to allow mapping from wintel clients.  This runs perfectly (as it
> used to!) apart from one thing - the spool directory keeps on filling up
> with all of the print jobs.  The standard lp command being issued by samba
> is of the form:
>  lp -c -d<printqueuename> <printjob>; rm <printjob>.  
> The -c option from lp is a directive to copy the printjob to the spool
> directory as a failsafe mechanism; the rm command is supposed to eliminate
> it the printjob after the directive to print is complete.  Removing the -c
> option completely seems to have no effect (ie for whatever reason the
> system doesn't seem to be paying too much attention to the actual print
> command being invoked by samba - the job still turns up copied into the
> spool directory).
> Anyone with any clues?
> --
> Posted via CNET Help.com
> http://www.help.com/

--
 David S. Glaser  AKA Grizz     |        
 M&M Systems Administrator      | Forget virus scanning. Its all about "re-
 U201 M&ME Building                 | education". Preferably in a parking lot with
 Houghton, MI 49931             | a tire iron.   - BOFH


 
 
 

hp jetadmin / Solaris 7 / samba drama!

Post by Greg Andre » Thu, 10 Aug 2000 04:00:00



>I have just finished rebuilding a primary print server which used to run
>quite well with a combination of HP's jetadmin / Solaris 7 (Sparc) / and
>samba to allow mapping from wintel clients.  This runs perfectly (as it
>used to!) apart from one thing - the spool directory keeps on filling up
>with all of the print jobs.

Jetadmin on Solaris 7?  HP doesn't promise that will work.

Are you sure you're not using HP's Jetdirect software?

I've seen instances where, for unknown reasons, the Jetadmin
interface script exits with a failure code even though the
print job prints fine.  The Solaris print software thinks the
job didn't print, so it keeps re-trying.

  -Greg
--

 [Keyboards] work lots better if you don't *splork* things at them.
                                          -- Mike Andrews
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

 
 
 

hp jetadmin / Solaris 7 / samba drama!

Post by Easter » Sat, 12 Aug 2000 04:00:00



> Jetadmin on Solaris 7?  HP doesn't promise that will work.

> Are you sure you're not using HP's Jetdirect software?

> I've seen instances where, for unknown reasons, the Jetadmin
> interface script exits with a failure code even though the
> print job prints fine.  The Solaris print software thinks the
> job didn't print, so it keeps re-trying.

>   -Greg
> --

>  [Keyboards] work lots better if you don't *splork* things at them.
>   -- Mike Andrews
> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Jetadmin used to work fine (on identical solaris 7 system), but having read

jetadmin and replaced it with jetdirect (hppi/etc).  The problem, however,
is absolutely identical. #$$#%^#^$#!!  Samba's print command:

lp -c -d<printername> <printjob>; rm <printjob>  
(issued by the default user nobody)

is still leaving a copy of the printjob within the /tmp directory (also
default).  Maybe I should have directed this more at a samba newsgroup?

Any solutions _greatly_ appreciated,

Easter!

--
Posted via CNET Help.com
http://www.help.com/

 
 
 

hp jetadmin / Solaris 7 / samba drama!

Post by Uwe Wolfr » Sat, 12 Aug 2000 04:00:00


Hi Dave!

DGG> Depending if you are running System 5 printing or BSD, try using
lpr
DGG> rather than lp. I believe that under System 5, lpr does not make a
DGG> copy of the file.

Finally (sigh) this has been fixed after a while, don't know the
patch id, but it's usually in those lp jumbo patches.

Uwe

 
 
 

1. Solaris 2.5.1 / HP JetAdmin D3.15 / HP JetDirect / Non-HP-Printer

Hi,

I run the above configuration and it works almost fine. I've created a
model script as descipt in HPs Electronic Support Center. But I've still
some troubles:

1. lp appends no form feed to my printing.
2. I've still PJL commands in my printings.

Has anybody experiences with similar problems?

Thx Mue

--
    __  __
   / /_/ /  Frank Mueller                   Nordwest-Zeitung Oldenburg
  / ____/   Telefon (0441) 9988-7270                 IV / Organisation

2. HOLA AMIGOS<. dESEO SABER COMO HACER UNE RED DE 2 Mquinqs donde sea w98 quien se conecte y enmascare 1 maq linux.

3. Problem printing with HP Color LaserJet 5/5N/5M using Solaris 7 and HP JetAdmin

4. PLEASE HELP! Keep another veteran from becoming homeless.

5. Solaris 2.4, Motif & HP Jetadmin

6. Dual-booting: man page?

7. HP Jetadmin D.04.12 and Solaris 2.6 viable ?

8. how to install the ocl for Oracle in linux?

9. Solaris 2.6, HP LaserJet 5 Si, JetAdmin, default font

10. Hp JetAdmin setup for Solaris 2.x

11. HP Jetadmin and Solaris 2.6

12. HP JetAdmin utility on SS20/Solaris 2.3 (didn't work)

13. HELP !! HP Jetadmin Printing Problem in Solaris 2.6