Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms And Printers

Status
Not open for further replies.

markwilkinson

IS-IT--Management
Sep 28, 2003
44
GB
We are running SCO Openserver 5.0.7 and are attempting to set up forms so that we get better manage the production of the thousands of invoices and statements we produce each month.

I have created a form called NMSTD and have tried to make this available to our printer "printer1" which is set up as a "proprinter" using the following command:

"# /usr/lib/lpadmin -p printer1 -f allow:NMSTD
UX:lpadmin: INFO: "cpi" setting impossible.
UX:lpadmin: INFO: "lpi" setting impossible.
UX:lpadmin: INFO: "length" setting impossible.
UX:lpadmin: INFO: The form "NMSTD" requires capabilities
not provided by the printer type "unknown".
UX:lpadmin: ERROR: Can't allow one or more forms.
TO FIX: You have to adjust each form definition,
if possible. Leave each form out of the
allow list to continue defining the
printer."

However as can be seen there appears to be an issue which stems from the fact that the printer type is seen as "unknown". I am assuming this is why lpadmin cannot determine the capabilities of the printer and therefore is unable to match these to the requirements of the form.

Does anyone have any ideas on how to resolve this ?
 
Perhaps this ?
/usr/lib/lpadmin -p printer1 [!]-m proprinter[/!] -f allow:NMSTD

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Many thanks for the reply. I have tried what you suggested which appears to make sense but I get the following outcome:

# /usr/lib/lpadmin -p printer1 -m proprinter -f allow:NMSTD
UX:lpadmin: INFO: "cpi" setting impossible.
UX:lpadmin: INFO: "lpi" setting impossible.
UX:lpadmin: INFO: "length" setting impossible.
UX:lpadmin: INFO: The form "NMSTD" requires capabilities
not provided by the printer type "unknown".
UX:lpadmin: ERROR: Can't allow one or more forms.
TO FIX: You have to adjust each form definition,
if possible. Leave each form out of the
allow list to continue defining the
printer.

Just for information I am now wondering if we have a bigger problem with some kind of OS corruption as when I attempt to run the man command I get the following:

"# man tar
dynamic linker : lynx : could not open libz.so.1
See also tar(F): man F tar
#"



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top