[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#352106: escputil: escp2-c42sx & CUPS/cupsys-bsd: align-head doesn't work




I have an Epson Stylus C42SX and I'm using CUPS and cupsys-bsd.
I get the following output when trying to align heads using the -P option (All output was manually translated from 
brazilian portuguese to english by myself):

	# escputil -a -P C42SX -m escp2-c42sx
	Wasn't able to open (null) read/write: Invalid Adress
    
The (null) bit is a bug.  However, you do need to use "-r" here,
because the alignment process requires full read-write access to the
device, and so can't go via a print queue ("-P").
  
    It would be a nice addition if the program warned you about the need for "-r"  after using "-a" with "-P". Or, at last, a mention in the "--help" output:
-a|--align-head    Align the print head. This command needs to be evoked together with the "-r" option. CAUTION: Misuse of this utility may result in poor print quality and/or damage to the printer.
    Or even both, which would be better.
  
This is the same output I get when I run escputil through the right-click menu in the printing module of KControl.

When I use the -r option, I do not receive any error message, but when I get to the prompt

	1st Passage)

nothing has been printed, and repeating the operation ('r') produces no effect. Again no error appears, neither in 
the default nor in the error output.
    
Do you know what options escputil was run with from this menu?  The ps
command should be able to show you.
  
I don't this one was expected to work, but I think I should add it anyway:

	# escputil -a -r parallel:/dev/lp0 -m escp2-c42sx
	Wasn't able to open parallel:/dev/lp0 read/write: Invalid Adress
    
Try "-r /dev/lp0", i.e.

escputil -a -r /dev/lp0 -m escp2-c42sx

Does this work?
  
    Just a note, for clarification: the output I get from KControl is "Wasn't able to open (null) read/write: Invalid Adress" as above, not the "1st Passage)" passage one here. The second one I get when I run
escputil -a -r /dev/lp0 -m escp2-c42sx
    as you've asked me now to. This is the command that took me to the "1st Passage)" prompt up there (and did nothing).

    Forgive me about this confusion - my mistake of not being more clear. Does it make sense now?

    Anyway, I've tried using ps lhen using KControl, but found nothing. I think we can assume it issues the command
escputil -a -P C42SX -m escp2-c42sx
    because it gets us to the same bug as above - (null). If you were willing to send me more information about how to use ps to find this out, I can try again.

Reply to: