From: bbales <bb...@co...> - 2004-12-02 09:33:41
|
Then this one from Till. On Wednesday 01 December 2004 06:32, Till Kamppeter wrote: > > Can you print on it with the "ptal-print" command? If so, you have a > CUPS problem and should perhaps better post on the CUPS mailing list. > > Till ptal-printd goodmen yields: ptal-printd(goodmen): ptalDeviceOpen failed errno=2! bruce |
From: bbales <bb...@co...> - 2004-12-02 11:50:51
|
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. > & > > 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 |
From: Laurence O. <Lau...@te...> - 2004-12-02 16:53:22
|
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 |
From: Till K. <til...@gm...> - 2004-12-02 17:13:28
|
Laurence Orchard wrote: > > 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. > httpd is NOT needed for that, the CUPS daemon is a (simple) web server by itself, it does not need httpd, same for swap. Till |
From: Laurence O. <lau...@or...> - 2004-12-02 19:56:56
|
On Thu, 2004-12-02 at 18:16, Till Kamppeter wrote: > Laurence Orchard wrote: > > > > 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. > > > > httpd is NOT needed for that, the CUPS daemon is a (simple) web server > by itself, it does not need httpd, same for swap. > > Till > hmm interesting, might save me some cycles!! |
From: bbales <bb...@co...> - 2004-12-02 11:50:53
|
And from Tim. On Wednesday 01 December 2004 12:51, Tim Folger wrote: > Hi Bruce, > > Did you make sure to restart cups before you entered the cups web > interface? Unless you restart cups, you won't see the ptal option > under the device section, and you won't be able to print. (You > probably know this already, but I thought I'd mention it just in > case.) > > Tim I tried to restart cups: /usr/local/sbin/ptal-cups restart and I got the following: ptal-connect: connecting to device "mlc:usb:psc_1200_series"... successful. And never got a prompt back until I copied it with control-c. I don't know what you are referring to with "ptal option under device section in the cups web interface." I see no device section. bruce |