[cups.general] Setting Cups on handheld device for usb HP deskjet printer..
Nagaraja
nagaraja at ncoretech.com
Thu Jun 29 03:42:26 PDT 2006
Hi All,
I have custom made handheld device which runs on pxa-225 processor and
embeded linux with busybox, xfree86-440 ,matchbox and gtk1.2. The board
has usb connector to which i want connect HP Deskjet 5438 printer. To
implement CUPS on the device I am following below procedure.
1) crosscompiled gs
2) crosscompiled cups
When I tried to configure printer using (dillo ) httpd://localhost:631
configuration goes fine till Device drop-down list selectin where it is
show only first four entries and it is not showing any usb related
entries and HPprinter entries,where as same thing is working fine on my PC.
here is the the output of
/usr/local/var/log/cups/error_log..................
I [23/Jun/2006:12:40:17 +0000] Listening to Ô5ãC:631 (IPv4)
I [23/Jun/2006:12:40:17 +0000] Listening to Ô5ãC (Domain)
D [23/Jun/2006:12:40:17 +0000] cupsdAddLocation: added location
'CUPS_INTERNAL_BROWSE_ACL'
D [23/Jun/2006:12:40:17 +0000] cupsdAddLocation: added location '/'
D [23/Jun/2006:12:40:17 +0000] cupsdAddLocation: added location '/admin'
D [23/Jun/2006:12:40:17 +0000] cupsdAddLocation: added location
'/admin/conf'
I [23/Jun/2006:12:40:17 +0000] Loaded configuration file
"/usr/local/etc/cups/cupsd.conf"
I [23/Jun/2006:12:40:17 +0000] Cleaning out old temporary files in
"/usr/local/var/spool/cups/tmp"...
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv:
CUPS_CACHEDIR=/usr/local/var/cache/cups
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv:
CUPS_DATADIR=/usr/local/share/cups
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv:
CUPS_DOCROOT=/usr/local/share/doc/cups
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv:
CUPS_FONTPATH=/usr/local/share/cups/fonts
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv:
CUPS_REQUESTROOT=/usr/local/var/spool/cups
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv:
CUPS_SERVERBIN=/usr/local/lib/cups
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv:
CUPS_SERVERROOT=/usr/local/etc/cups
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv:
CUPS_STATEDIR=/usr/local/var/run/cups
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv:
LD_LIBRARY_PATH=:/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv:
PATH=/usr/local/lib/cups/filter:/bin:/usr/bin
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv: SOFTWARE=CUPS/1.2svn
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv:
TMPDIR=/usr/local/var/spool/cups/tmp
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv: USER=root
I [23/Jun/2006:12:40:17 +0000] Configured for up to 100 clients.
I [23/Jun/2006:12:40:17 +0000] Allowing up to 100 client connections per
host.
I [23/Jun/2006:12:40:17 +0000] Using policy "default" as the default!
D [23/Jun/2006:12:40:17 +0000] NumPolicies=1
D [23/Jun/2006:12:40:17 +0000] Policies[0]="default"
I [23/Jun/2006:12:40:17 +0000] Full reload is required.
I [23/Jun/2006:12:40:17 +0000] Loaded MIME database from
'/usr/local/etc/cups': 31 types, 37 filters...
D [23/Jun/2006:12:40:17 +0000] cupsdLoadAllPrinters: Loading printer
HP5438...
D [23/Jun/2006:12:40:17 +0000] cupsdLoadAllJobs: Scanning
/usr/local/var/spool/cups...
D [23/Jun/2006:12:40:17 +0000] cupsdLoadAllJobs: Loading attributes for
job 1...
D [23/Jun/2006:12:40:17 +0000] cupsdLoadAllJobs: Loading attributes for
job 2...
D [23/Jun/2006:12:40:17 +0000] cupsdLoadAllJobs: Loading attributes for
job 3...
I [23/Jun/2006:12:40:17 +0000] Full reload complete.
D [23/Jun/2006:12:40:17 +0000] cupsdStartListening: NumListeners=2
I [23/Jun/2006:12:40:17 +0000] cupsdStartListening: Listening to
127.0.0.1:631 on fd 0...
I [23/Jun/2006:12:40:17 +0000] cupsdStartListening: Listening to
/usr/local/var/run/cups/cups.sock on fd 2...
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv:
CUPS_SERVER=/usr/local/var/run/cups/cups.sock
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv: CUPS_ENCRYPTION=IfRequested
D [23/Jun/2006:12:40:17 +0000] cupsdSetEnv: IPP_PORT=631
D [23/Jun/2006:12:40:17 +0000] cupsdResumeListening: Setting input bits...
Can any body in the list please tell me what am I missing here also
mail me how do I go about implementting CUPS .
I am using HP Deskjet 5438 printer.
linux-2.4.20 kernel.
Thanks in advance,
Nagaraj
More information about the cups
mailing list