[ug-aosug] Como crear un "printer form" para HP1210

Marcelo mametller at gmail.com
Thu Feb 8 05:51:22 PST 2007


Tengo el siguiente problema:

Una impresora HP 1210 psc, quisiera definirle algunas caracteristicas
especiales, como modo draf, resolucion y lo mas importante que use
solo el cartucho de tinta negro.

Supongo que debo crearle un "form" con dichas caracteristicas ?

probe creando un archivo "pageblack" con el contenido unico:
Ribbon color: black

lo agrego a la lista de forms:
# lpforms -f pageblack -F pageblack

verifico:
lpforms -f pageblack -l

veo que se agregaron valores por defecto:
page length: 66
page width: 80
number of pages: 1
line pitch: 6
character pitch: 10
character set choice: any
ribbon color: black

procedo a montar el form:
limpio el anterior:
# reject HP1210
destination "HP1210" will no longer accept requests
# lpadmin -p HP1210 -M -f none

pongo el nuevo:
# lpadmin -p HP1210 -M -f pageblack

obtengo el error:
UX:lpadmin: INFO: "cpi" setting impossible.
UX:lpadmin: INFO: "lpi" setting impossible.
UX:lpadmin: INFO: "length" setting impossible.
UX:lpadmin: INFO: The form "pageblack" requires capabilities
                 not provided by the printer.
UX:lpadmin: WARNING: Shouldn't mount the form.
            TO FIX: You may want to adjust the form
                    definition, if possible. Check that the
                    Terminfo database gives correct
                    attributes for the printer type.
                    The form is considered mounted anyway.
UX:lpadmin: WARNING: Form "pageblack" is not listed as available
                    for the printer "HP1210".
            TO FIX: Check the name; if wrong enter the
                    command again.
                    Processing continues.

Aparentemente no acepta los valores por default. Hay otra forma de
hacer que imprima solo en negro, draft y otros ajustes ?



-- 
Marcelo
http://maramsis.blogspot.com



More information about the ug-aosug mailing list