Re: PSC 1210 - can scan but can't print

Laurence Orchard <Laurence.Orchard-q/Bov5K/[email protected]> Thu, 02 Dec 2004 16:53:02 +0000
Newsgroups gmane.linux.drivers.hpofficejet.devel
Message-ID <1102006382.14966.30.camel@localhost>
On Thu, 2004-12-02 at 08:06, bbales wrote:
> Start with this one, from Laurence.
> 
> On Wednesday 01 December 2004 08:49, you wrote:
> > I'm Presuming here that you have checked that the relevant servers are
> > running:- cups, cups-lpd, hpoj, httpd, ptal-init, xinetd
> >
> 
> I presume one can tell if a server is running by examining the results of  
> ps-ax.    cupsd and xinetd appear.  The others do not. 
> 
I am running fedora core 2 at the moment & from memory you are running
debian, but the ps output should be similar as the same progs should be
running.
here are the edited relevant outputs from a 'ps -elf' on my system:-

UID    PID    PPID  STIME  TIME     CMD
root   2912      1  Nov18  00:00:00 xinetd -stayalive -pidfile \
/var/run/xinetd.pid
root   2999      1  Nov18  00:02:11 ptal-mlcd mlc:usb:OfficeJet_6110 \
-devidmatch MDL:OfficeJet 6100 Series; -devidmatch SN:MY31UC20P72R; \
-device /dev/usb/lp[0-9]* /dev/usblp[0-9]*
root   3001      1  Nov18  00:00:00 ptal-printd mlc:usb:OfficeJet_6110 \
-morepipes 9 -like /etc/ptal/ptal-printd-like
root   3227   2999  Nov18  01:14:01 ptal-mlcd mlc:usb:OfficeJet_6110 \
-devidmatch MDL:OfficeJet 6100 Series; -devidmatch SN:MY31UC20P72R; \
-device /dev/usb/lp[0-9]* /dev/usblp[0-9]*
root   1979      1  Nov28  00:00:13 cupsd
root    3140     1  Nov18  00:00:04 /usr/sbin/httpd
apache 11251  3140  Nov29  00:00:00 /usr/sbin/httpd

as you can see all these processes are started at boot by init (PPID 1)

the ptal-mlcd & ptal-printd are start by th ptal-init script. these
should be started before the cups script.
httpd is needed so that your local machine can serve up the web pages
for cups (http://localhost:631) & also for samba/swap
(http://localhost:901) if you use it.

I am not sure how you start services with debian, perhaps someone else
could answer that, but in fedora/gnome there is a menu item under
'System Settings->Server Settings->Services' 

It wwould appear from this that it is the ptal system that you are
missing, the HP AIW must be run using this rather than directly though
the USB interface.
> > &
> >
> > on the cups page the printer is accepting jobs and is started.
> >
> 
> On the cups page, it says "printer idle and accepting jobs."
> 
> > there was a problem with ptal-init where it didn't like the 'LANG='
> > shell variable set to anything but 'C', but I guess you've caught that
> > one!
> >
> I don't understand this.  I can't find any 'LANG=' variable in what I sent.
> 
> bruce
OK this problem was/is with the ptal-init script, one of the bash
envionment variables is LANG i.e. what languag to use. mine is usually
gb. the problem shows itself if it is anything other that C, when this
happens the script does not save the printer definition when it is first
created by running ptal-init from the command line (as root).

Laurence




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/