AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

printer problems - This variable is READ ONLY?

  • 1.  printer problems - This variable is READ ONLY?

    Posted Tue August 25, 2009 09:55 AM

    Originally posted by: SystemAdmin


    Very strange problem trying to set up printers under SystemV subsystem. No errors definging the printer, setting it up and even testing using the HP Jetdirect tools - however, once a printer is set and you attempt to print though simply "lp" commands, you get this:

    Subject: Status of lp request ricoh-21

    Your request ricoh-21 destined for ricoh
    encountered an error while printing on printer ricoh.
    Printing stopped with an exit code of 1.

    Reason for failure:

    /etc/lp/interfaces/ricoh58: LOG: This variable is read only.

    Which makes no sense. This is a test printer - a ricoh 4500, and is pretty basic. If I set this up and print using /usr/lib/hpnp/hpnpf directly, all the printouts are flawless, it is only when using "lp -d ricoh filename" that this error occurs? And the file is queued without a problem, and the error returns via email in about 30 seconds or so.

    Suggestions?!?
    #AIX-Forum


  • 2.  Re: printer problems - This variable is READ ONLY?

    Posted Tue August 25, 2009 12:21 PM

    Originally posted by: alethad


    So you set this printer up thru the SMIT printer spooling as an HPJetDirect?
    I set up HPJetDirects alot but have not run into this type of issue.
    I'm running AIX 5.3.

    Can you give a little more information?
    What does your /etc/qconfig entry look like for this printer?

    I'm guessing here but from the message you sent it looks like LOG is from a script or a variable referenced from a script or the lp command? Or is /etc/lp/interfaces/ricoh58 something else? What are the permissions on ricoh58?

    I myself don't have a /etc/lp/interfaces. I just use what AIX gives me nothing fancy. Did you create this?
    If you lpstat the printer what does the name show as and its status shows READY?
    Can you cat the file then pipe it to the lp -d printername (ricoh)????
    #AIX-Forum