Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HP3325+cups: test pages dont print, raw output doesn't print
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
DannoNZ
n00b
n00b


Joined: 27 May 2003
Posts: 12

PostPosted: Tue May 27, 2003 9:45 pm    Post subject: HP3325+cups: test pages dont print, raw output doesn't print Reply with quote

Hello,

I am trying to get printing working to my HP 3325 which is connected by USB.

Gentoo is detecting it:
hub.c: new USB device 00:1d.0-2, assigned address 4
printer.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x03F0 pid 0x7004

But I can't print anything to it. I tried setting it up in CUPS but test pages don't print anything.
It's also seems to be set up with lpr, but that gives an error "unable to print to file: server-error-service-unavailable".
I can't even print using "cat test.txt > /dev/usb/lp0" as suggested in the printing guide for low-level commands, the printer doesn't even do anything when that command is entered.

I'm not too sure about what I'm doing here, so some help would be appreciated on what to do next :)

Edit: was my subject line not interesting enougth? :S Only two views? Am I doomed to never print ever again?
Back to top
View user's profile Send private message
drizzt
Guru
Guru


Joined: 21 Jul 2002
Posts: 428

PostPosted: Sun Jun 08, 2003 5:53 am    Post subject: Reply with quote

look at www.linuxprinting.org !
You need the hpij driver and must generate a ppd. there is a link to ppds on the page also.
_________________
People don't have to earn my respect. I offer my respect to them, but be careful to lose my respect...
Back to top
View user's profile Send private message
plemon
n00b
n00b


Joined: 09 Jun 2003
Posts: 8

PostPosted: Mon Jun 09, 2003 7:19 am    Post subject: Reply with quote

driizt is correct...

emerge hpijs
emerge foomatic

_should_ get you stated, there are updates to both hpijs (1.4.1)
and foomatic (3.0.0) that im working on ebuild for.

Then head off to linuxprinting.org, select your make/model and download the ppd. This should be saved to /usr/share/cups/model/*.ppd

/etc/init.d/cupsd restart, should begin being productive.

additionally, setting your debug level to debug2 in /etc/cups/cups.conf will help troubleshoot any further problems.

HTH

Phill
Back to top
View user's profile Send private message
DannoNZ
n00b
n00b


Joined: 27 May 2003
Posts: 12

PostPosted: Tue Jun 10, 2003 11:46 pm    Post subject: Reply with quote

I tried doing stuff as you said, and here's what I get as my output now:

Basic error I'm getting in cups:

"Unable to open USB device "usb://hp/deskjet%203320?serial=XÇÿ¿°ª": No such device"


DEBUG INFO:
E [11/Jun/2003:12:41:18 +1200] Scheduler shutting down due to SIGTERM.
I [11/Jun/2003:12:41:19 +1200] Listening to 7f000001:631
D [11/Jun/2003:12:41:19 +1200] AddLocation: added location '/'
D [11/Jun/2003:12:41:19 +1200] DenyIP: / deny 00000000/00000000
D [11/Jun/2003:12:41:19 +1200] AllowIP: / allow 7f000001/ffffffff
D [11/Jun/2003:12:41:19 +1200] AddLocation: added location '/admin'
D [11/Jun/2003:12:41:19 +1200] DenyIP: /admin deny 00000000/00000000
D [11/Jun/2003:12:41:19 +1200] AllowIP: /admin allow 7f000001/ffffffff
D [11/Jun/2003:12:41:19 +1200] ReadConfiguration() ConfigurationFile="/etc/cups/cupsd.conf"
I [11/Jun/2003:12:41:19 +1200] Configured for up to 100 clients.
I [11/Jun/2003:12:41:19 +1200] Allowing up to 10 client connections per host.
D [11/Jun/2003:12:41:19 +1200] LoadAllPrinters: Loading printer HP...
d [11/Jun/2003:12:41:19 +1200] Adding filter application/vnd.cups-raw printer/HP 0 -
d [11/Jun/2003:12:41:19 +1200] FindBest: uri = "/printers/HP"...
d [11/Jun/2003:12:41:19 +1200] FindBest: Location / Limit 7f
d [11/Jun/2003:12:41:19 +1200] FindBest: Location /admin Limit 7f
d [11/Jun/2003:12:41:19 +1200] FindBest: best = "/"
d [11/Jun/2003:12:41:19 +1200] Adding filter application/vnd.cups-postscript printer/HP 0 foomatic-rip
I [11/Jun/2003:12:41:19 +1200] LoadPPDs: Read "/etc/cups/ppds.dat", 13 PPDs...
I [11/Jun/2003:12:41:19 +1200] LoadPPDs: No new or changed PPDs...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "ipp"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "lpd"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb://hp/deskjet%203320?serial=XÇÿ¿°ª"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp1"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp2"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp3"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp4"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp5"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp6"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp7"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp8"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp9"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp10"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp11"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp12"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp13"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp14"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "usb:/dev/usb/lp15"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "http"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "scsi"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "serial:/dev/ttyS0?baud=115200"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "serial:/dev/ttyS1?baud=115200"...
D [11/Jun/2003:12:41:19 +1200] LoadDevices: Added device "socket"...
D [11/Jun/2003:12:41:19 +1200] StartListening: NumListeners=1
D [11/Jun/2003:12:41:19 +1200] StartListening: address=7f000001 port=631
D [11/Jun/2003:12:41:19 +1200] ResumeListening: setting input bits...
d [11/Jun/2003:12:41:19 +1200] ResumeListening: Adding fd 0 to InputSet...
d [11/Jun/2003:12:41:19 +1200] StartBrowsing: Adding fd 2 to InputSet...
D [11/Jun/2003:12:41:19 +1200] LoadAllJobs: Scanning /var/spool/cups...
D [11/Jun/2003:12:41:19 +1200] LoadAllJobs: Loading attributes for job 1...
d [11/Jun/2003:12:41:19 +1200] AddCert: adding certificate for pid 0
d [11/Jun/2003:12:41:42 +1200] AcceptClient(0x8086340) 0 NumClients = 0
D [11/Jun/2003:12:41:42 +1200] AcceptClient() 3 from localhost:631.
d [11/Jun/2003:12:41:42 +1200] AcceptClient: Adding fd 3 to InputSet...
d [11/Jun/2003:12:41:42 +1200] ReadClient() 3, used=0
D [11/Jun/2003:12:41:42 +1200] ReadClient() 3 GET /printers/HP?op=print-test-page HTTP/1.1
d [11/Jun/2003:12:41:42 +1200] decode_auth(0x402d2008): Authorization string = "Basic cm9vdDp2OGdlbnRxNw=="
d [11/Jun/2003:12:41:42 +1200] decode_auth() 3 username="root"
d [11/Jun/2003:12:41:42 +1200] IsAuthorized: con->uri = "/printers/HP?op=print-test-page"
d [11/Jun/2003:12:41:42 +1200] FindBest: uri = "/printers/HP?op=print-test-page"...
d [11/Jun/2003:12:41:42 +1200] FindBest: Location / Limit 7f
d [11/Jun/2003:12:41:42 +1200] FindBest: Location /admin Limit 7f
d [11/Jun/2003:12:41:42 +1200] FindBest: best = "/"
d [11/Jun/2003:12:41:42 +1200] IsAuthorized: auth = 0, satisfy=0...
d [11/Jun/2003:12:41:42 +1200] envp[0] = "PATH=/bin:/usr/bin"
d [11/Jun/2003:12:41:42 +1200] envp[1] = "SERVER_SOFTWARE=CUPS/1.1"
d [11/Jun/2003:12:41:42 +1200] envp[2] = "GATEWAY_INTERFACE=CGI/1.1"
d [11/Jun/2003:12:41:42 +1200] envp[3] = "SERVER_PROTOCOL=HTTP/1.1"
d [11/Jun/2003:12:41:42 +1200] envp[4] = "IPP_PORT=631"
d [11/Jun/2003:12:41:42 +1200] envp[5] = "SERVER_NAME=localhost"
d [11/Jun/2003:12:41:42 +1200] envp[6] = "SERVER_PORT=631"
d [11/Jun/2003:12:41:42 +1200] envp[7] = "REMOTE_HOST=localhost"
d [11/Jun/2003:12:41:42 +1200] envp[8] = "REMOTE_USER=root"
d [11/Jun/2003:12:41:42 +1200] envp[9] = "LANG=C"
d [11/Jun/2003:12:41:42 +1200] envp[10] = ""
d [11/Jun/2003:12:41:42 +1200] envp[11] = "TMPDIR=/var/spool/cups/tmp"
d [11/Jun/2003:12:41:42 +1200] envp[12] = "CUPS_DATADIR=/usr/share/cups"
d [11/Jun/2003:12:41:42 +1200] envp[13] = "CUPS_SERVERROOT=/etc/cups"
d [11/Jun/2003:12:41:42 +1200] envp[14] = "REQUEST_METHOD=GET"
d [11/Jun/2003:12:41:42 +1200] envp[15] = "QUERY_STRING=op=print-test-page"
d [11/Jun/2003:12:41:42 +1200] AddCert: adding certificate for pid 13666
D [11/Jun/2003:12:41:42 +1200] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 13666
I [11/Jun/2003:12:41:42 +1200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13666)
D [11/Jun/2003:12:41:42 +1200] SendCommand() 3 file=5
d [11/Jun/2003:12:41:42 +1200] SendCommand: Adding fd 5 to InputSet...
d [11/Jun/2003:12:41:42 +1200] SendCommand: Adding fd 3 to OutputSet...
d [11/Jun/2003:12:41:42 +1200] AcceptClient(0x8086340) 0 NumClients = 1
D [11/Jun/2003:12:41:42 +1200] AcceptClient() 6 from localhost:631.
d [11/Jun/2003:12:41:42 +1200] AcceptClient: Adding fd 6 to InputSet...
d [11/Jun/2003:12:41:42 +1200] WriteClient() 3 Content-Type: text/html;charset=iso-8859-1
d [11/Jun/2003:12:41:42 +1200] WriteClient() 3
d [11/Jun/2003:12:41:42 +1200] WriteClient() 3 1161 bytes
d [11/Jun/2003:12:41:42 +1200] ReadClient() 6, used=0
D [11/Jun/2003:12:41:42 +1200] ReadClient() 6 POST /printers/HP HTTP/1.1
d [11/Jun/2003:12:41:42 +1200] decode_auth(0x402d5220): Authorization string = ""
d [11/Jun/2003:12:41:42 +1200] decode_auth() 6 username=""
d [11/Jun/2003:12:41:42 +1200] IsAuthorized: con->uri = "/printers/HP"
d [11/Jun/2003:12:41:42 +1200] FindBest: uri = "/printers/HP"...
d [11/Jun/2003:12:41:42 +1200] FindBest: Location / Limit 7f
d [11/Jun/2003:12:41:42 +1200] FindBest: Location /admin Limit 7f
d [11/Jun/2003:12:41:42 +1200] FindBest: best = "/"
d [11/Jun/2003:12:41:42 +1200] IsAuthorized: auth = 0, satisfy=0...
d [11/Jun/2003:12:41:42 +1200] POST /printers/HP
d [11/Jun/2003:12:41:42 +1200] CONTENT_TYPE = application/ipp
d [11/Jun/2003:12:41:42 +1200] ReadClient() 6 con->data_encoding = length, con->data_remaining = 14767, con->file = 0
d [11/Jun/2003:12:41:42 +1200] ReadClient() 6 REQUEST /var/spool/cups/00000000=7
d [11/Jun/2003:12:41:42 +1200] ReadClient() 6 writing 1733 bytes to 7
d [11/Jun/2003:12:41:42 +1200] ReadClient() 6, used=0
d [11/Jun/2003:12:41:42 +1200] ReadClient() 6 con->data_encoding = length, con->data_remaining = 12820, con->file = 7
d [11/Jun/2003:12:41:42 +1200] ReadClient() 6 writing 12820 bytes to 7
d [11/Jun/2003:12:41:42 +1200] ReadClient() 6 Closing data file 7, size = 14553.
d [11/Jun/2003:12:41:42 +1200] ProcessIPPRequest(0x402d5220[6]): operation_id = 0002
d [11/Jun/2003:12:41:42 +1200] print_job(0x402d5220[6], ipp://localhost/printers/HP)
D [11/Jun/2003:12:41:42 +1200] print_job: request file type is application/postscript.
d [11/Jun/2003:12:41:42 +1200] check_quotas(0x402d5220[6], 0x80906d8[HP])
D [11/Jun/2003:12:41:42 +1200] check_quotas: requesting-user-name = 'root'
D [11/Jun/2003:12:41:42 +1200] print_job: requesting-user-name = 'root'
D [11/Jun/2003:12:41:42 +1200] Adding default job-sheets values "none,none"...
d [11/Jun/2003:12:41:42 +1200] copy_banner(0x402d5220[6], 0x809f4f0[2], none)
d [11/Jun/2003:12:41:42 +1200] add_file(0x402d5220[6], 2, application/postscript)
d [11/Jun/2003:12:41:42 +1200] copy_banner(0x402d5220[6], 0x809f4f0[2], none)
I [11/Jun/2003:12:41:42 +1200] Job 2 queued on 'HP' by 'root'.
D [11/Jun/2003:12:41:42 +1200] Job 2 hold_until = 0
D [11/Jun/2003:12:41:42 +1200] StartJob(2, 0x80906d8)
D [11/Jun/2003:12:41:42 +1200] StartJob() id = 2, file = 0/1
D [11/Jun/2003:12:41:42 +1200] job-sheets=none,none
D [11/Jun/2003:12:41:42 +1200] banner_page = 0
D [11/Jun/2003:12:41:42 +1200] StartJob: argv = "HP","2","root","Test Page","1","","/var/spool/cups/d00002-001"
D [11/Jun/2003:12:41:42 +1200] StartJob: envp = "PATH=/usr/lib/cups/filter:/bin:/usr/bin","SOFTWARE=CUPS/1.1","USER=root","CHARSET=iso-8859-1","LANG=en","","PPD=/etc/cups/ppd/HP.ppd","CUPS_SERVERROOT=/etc/cups","RIP_MAX_CACHE=8m","TMPDIR=/var/spool/cups/tmp","CONTENT_TYPE=application/postscript","DEVICE_URI=usb://hp/deskjet%203320?serial=XÇÿ¿°ª","PRINTER=HP","CUPS_DATADIR=/usr/share/cups","CUPS_FONTPATH=/usr/share/cups/fonts","","",""
d [11/Jun/2003:12:41:42 +1200] UpdateJob: Allocating status buffer...
D [11/Jun/2003:12:41:42 +1200] StartJob: statusfds = 7, 8
D [11/Jun/2003:12:41:42 +1200] StartJob: filterfds[1] = 9, -1
D [11/Jun/2003:12:41:42 +1200] StartJob: filter = "/usr/lib/cups/filter/pstops"
D [11/Jun/2003:12:41:42 +1200] StartJob: filterfds[0] = 10, 11
D [11/Jun/2003:12:41:42 +1200] start_process("/usr/lib/cups/filter/pstops", 0xbfff1300, 0xbfff07b0, 9, 11, 8)
I [11/Jun/2003:12:41:42 +1200] Started filter /usr/lib/cups/filter/pstops (PID 13667) for job 2.
D [11/Jun/2003:12:41:42 +1200] StartJob: filter = "/usr/lib/cups/filter/foomatic-rip"
D [11/Jun/2003:12:41:42 +1200] StartJob: filterfds[1] = 9, 12
D [11/Jun/2003:12:41:42 +1200] start_process("/usr/lib/cups/filter/foomatic-rip", 0xbfff1300, 0xbfff07b0, 10, 12, 8)
I [11/Jun/2003:12:41:42 +1200] Started filter /usr/lib/cups/filter/foomatic-rip (PID 13668) for job 2.
D [11/Jun/2003:12:41:42 +1200] StartJob: backend = "/usr/lib/cups/backend/usb"
D [11/Jun/2003:12:41:42 +1200] StartJob: filterfds[0] = -1, 10
D [11/Jun/2003:12:41:42 +1200] start_process("/usr/lib/cups/backend/usb", 0xbfff1300, 0xbfff07b0, 9, 10, 8)
I [11/Jun/2003:12:41:42 +1200] Started backend /usr/lib/cups/backend/usb (PID 13669) for job 2.
d [11/Jun/2003:12:41:42 +1200] StartJob: Adding fd 7 to InputSet...
d [11/Jun/2003:12:41:42 +1200] add_job_state_reasons(0x402d5220[6], 2)
D [11/Jun/2003:12:41:42 +1200] ProcessIPPRequest: 6 status_code=0
D [11/Jun/2003:12:41:42 +1200] [Job 2] Page = 612x792; 18,36 to 594,783
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%BoundingBox: 0 0 612 792
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%Pages: 1
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%LanguageLevel: 1
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%DocumentData: Clean7Bit
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%DocumentSuppliedResources: procset testprint/1.0
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%Creator: Michael Sweet, Easy Software Products
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%CreationDate: May 11, 1999
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%Title: Test Page
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%EndComments
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%BeginProlog
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%BeginResource procset testprint 1.1 0
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%EndResource
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%EndProlog
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%Page: 1 1
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%Page: 1 1
D [11/Jun/2003:12:41:42 +1200] [Job 2] pw = 576.0, pl = 747.0
D [11/Jun/2003:12:41:42 +1200] [Job 2] PageLeft = 18.0, PageRight = 594.0
D [11/Jun/2003:12:41:42 +1200] [Job 2] PageTop = 783.0, PageBottom = 36.0
D [11/Jun/2003:12:41:42 +1200] [Job 2] PageWidth = 612.0, PageLength = 792.0
d [11/Jun/2003:12:41:42 +1200] WriteClient: Removing fd 6 from OutputSet...
E [11/Jun/2003:12:41:42 +1200] PID 13668 stopped with status 22!
d [11/Jun/2003:12:41:42 +1200] PID 13666 exited with no errors.
d [11/Jun/2003:12:41:42 +1200] DeleteCert: removing certificate for pid 13666
d [11/Jun/2003:12:41:42 +1200] ReadClient() 6, used=0
D [11/Jun/2003:12:41:42 +1200] CloseClient() 6
d [11/Jun/2003:12:41:42 +1200] CloseClient: Removing fd 6 from InputSet and OutputSet...
D [11/Jun/2003:12:41:42 +1200] [Job 2] /usr/lib/cups/filter/foomatic-rip: No such file or directory
d [11/Jun/2003:12:41:42 +1200] WriteClient: Removing fd 3 from OutputSet...
d [11/Jun/2003:12:41:42 +1200] WriteClient: Removing fd 5 from InputSet...
d [11/Jun/2003:12:41:42 +1200] WriteClient: 3 Closing data file 5.
d [11/Jun/2003:12:41:42 +1200] PID 13667 exited with no errors.
D [11/Jun/2003:12:41:42 +1200] [Job 2] 0 %%EOF
D [11/Jun/2003:12:41:42 +1200] [Job 2] Saw EOF!
E [11/Jun/2003:12:41:42 +1200] [Job 2] Unable to open USB device "usb://hp/deskjet%203320?serial=XÇÿ¿°ª": No such device
D [11/Jun/2003:12:41:42 +1200] UpdateJob: job 2, file 0 is complete.
d [11/Jun/2003:12:41:42 +1200] UpdateJob: Removing fd 7 from InputSet...
D [11/Jun/2003:12:41:42 +1200] CancelJob: id = 2
D [11/Jun/2003:12:41:42 +1200] StopJob: id = 2, force = 0
D [11/Jun/2003:12:41:42 +1200] StopJob: printer state is 3
d [11/Jun/2003:12:41:42 +1200] StopJob: Freeing status buffer...
E [11/Jun/2003:12:41:42 +1200] PID 13669 stopped with status 1!
d [11/Jun/2003:12:41:43 +1200] ReadClient() 3, used=0
D [11/Jun/2003:12:41:43 +1200] ReadClient() 3 GET /printers/HP HTTP/1.1
d [11/Jun/2003:12:41:43 +1200] decode_auth(0x402d2008): Authorization string = "Basic cm9vdDp2OGdlbnRxNw=="
d [11/Jun/2003:12:41:43 +1200] decode_auth() 3 username="root"
d [11/Jun/2003:12:41:43 +1200] IsAuthorized: con->uri = "/printers/HP"
d [11/Jun/2003:12:41:43 +1200] FindBest: uri = "/printers/HP"...
d [11/Jun/2003:12:41:43 +1200] FindBest: Location / Limit 7f
d [11/Jun/2003:12:41:43 +1200] FindBest: Location /admin Limit 7f
d [11/Jun/2003:12:41:43 +1200] FindBest: best = "/"
d [11/Jun/2003:12:41:43 +1200] IsAuthorized: auth = 0, satisfy=0...
d [11/Jun/2003:12:41:43 +1200] envp[0] = "PATH=/bin:/usr/bin"
d [11/Jun/2003:12:41:43 +1200] envp[1] = "SERVER_SOFTWARE=CUPS/1.1"
d [11/Jun/2003:12:41:43 +1200] envp[2] = "GATEWAY_INTERFACE=CGI/1.1"
d [11/Jun/2003:12:41:43 +1200] envp[3] = "SERVER_PROTOCOL=HTTP/1.1"
d [11/Jun/2003:12:41:43 +1200] envp[4] = "IPP_PORT=631"
d [11/Jun/2003:12:41:43 +1200] envp[5] = "SERVER_NAME=localhost"
d [11/Jun/2003:12:41:43 +1200] envp[6] = "SERVER_PORT=631"
d [11/Jun/2003:12:41:43 +1200] envp[7] = "REMOTE_HOST=localhost"
d [11/Jun/2003:12:41:43 +1200] envp[8] = "REMOTE_USER=root"
d [11/Jun/2003:12:41:43 +1200] envp[9] = "LANG=C"
d [11/Jun/2003:12:41:43 +1200] envp[10] = ""
d [11/Jun/2003:12:41:43 +1200] envp[11] = "TMPDIR=/var/spool/cups/tmp"
d [11/Jun/2003:12:41:43 +1200] envp[12] = "CUPS_DATADIR=/usr/share/cups"
d [11/Jun/2003:12:41:43 +1200] envp[13] = "CUPS_SERVERROOT=/etc/cups"
d [11/Jun/2003:12:41:43 +1200] envp[14] = "REQUEST_METHOD=GET"
d [11/Jun/2003:12:41:43 +1200] AddCert: adding certificate for pid 13759
D [11/Jun/2003:12:41:43 +1200] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 13759
I [11/Jun/2003:12:41:43 +1200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13759)
D [11/Jun/2003:12:41:43 +1200] SendCommand() 3 file=6
d [11/Jun/2003:12:41:43 +1200] SendCommand: Adding fd 6 to InputSet...
d [11/Jun/2003:12:41:43 +1200] SendCommand: Adding fd 3 to OutputSet...
d [11/Jun/2003:12:41:43 +1200] AcceptClient(0x8086340) 0 NumClients = 1
D [11/Jun/2003:12:41:43 +1200] AcceptClient() 5 from localhost:631.
d [11/Jun/2003:12:41:43 +1200] AcceptClient: Adding fd 5 to InputSet...
d [11/Jun/2003:12:41:43 +1200] WriteClient() 3 Content-Type: text/html;charset=iso-8859-1
d [11/Jun/2003:12:41:43 +1200] WriteClient() 3
d [11/Jun/2003:12:41:43 +1200] WriteClient() 3 1161 bytes
d [11/Jun/2003:12:41:43 +1200] ReadClient() 5, used=0
D [11/Jun/2003:12:41:43 +1200] ReadClient() 5 POST / HTTP/1.1
d [11/Jun/2003:12:41:43 +1200] decode_auth(0x402d5220): Authorization string = ""
d [11/Jun/2003:12:41:43 +1200] decode_auth() 5 username=""
d [11/Jun/2003:12:41:43 +1200] IsAuthorized: con->uri = "/"
d [11/Jun/2003:12:41:43 +1200] FindBest: uri = "/"...
d [11/Jun/2003:12:41:43 +1200] FindBest: Location / Limit 7f
d [11/Jun/2003:12:41:43 +1200] FindBest: Location /admin Limit 7f
d [11/Jun/2003:12:41:43 +1200] FindBest: best = "/"
d [11/Jun/2003:12:41:43 +1200] IsAuthorized: auth = 0, satisfy=0...
d [11/Jun/2003:12:41:43 +1200] POST /
d [11/Jun/2003:12:41:43 +1200] CONTENT_TYPE = application/ipp
d [11/Jun/2003:12:41:43 +1200] ReadClient() 5 con->data_encoding = length, con->data_remaining = 77, con->file = 0
d [11/Jun/2003:12:41:43 +1200] ProcessIPPRequest(0x402d5220[5]): operation_id = 4001
d [11/Jun/2003:12:41:43 +1200] get_default(0x402d5220[5])
d [11/Jun/2003:12:41:43 +1200] copy_attrs(0x809fc00, 0x8089af8, (nil), 0)
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x8089b20[printer-uri-supported,4,45])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x8089b90[uri-authentication-supported,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x8089c00[uri-security-supported,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x8089c58[printer-name,4,42])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x8089ca8[printer-location,4,41])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x8089cf8[printer-info,4,41])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x8089d48[printer-more-info,4,45])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x8089db0[pdl-override-supported,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x8089e10[ipp-versions-supported,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x8089e80[operations-supported,4,23])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808a000[multiple-document-jobs-supported,4,22])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808a050[multiple-operation-time-out,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808a098[multiple-document-handling-supported,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808a150[charset-configured,4,47])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e028[charset-supported,4,47])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e398[natural-language-configured,4,48])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e3f0[generated-natural-language-supported,4,48])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e458[document-format-default,4,49])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e4c0[document-format-supported,4,80000049])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e670[compression-supported,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e6c8[job-priority-supported,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e710[job-priority-default,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e758[copies-supported,4,33])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e798[copies-default,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e7d8[page-ranges-supported,4,22])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e820[number-up-supported,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e898[number-up-default,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e8d8[orientation-requested-supported,4,23])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e948[orientation-requested-default,4,23])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e998[job-quota-period,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808e9d8[job-k-limit,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808ea10[job-page-limit,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808ea50[job-sheets-supported,4,42])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808eb60[job-sheets-default,4,42])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808ebc8[device-uri,4,45])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808ec30[color-supported,4,22])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808ec70[pages-per-minute,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x808ecb0[printer-make-and-model,4,41])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x8098850[media-supported,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x8098a68[media-default,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x8096450[finishings-supported,4,23])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x80951a8[finishings-default,4,23])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x809fc00, 0x8096490[printer-type,4,23])
D [11/Jun/2003:12:41:43 +1200] ProcessIPPRequest: 5 status_code=0
d [11/Jun/2003:12:41:43 +1200] WriteClient: Removing fd 5 from OutputSet...
d [11/Jun/2003:12:41:43 +1200] ReadClient() 5, used=0
D [11/Jun/2003:12:41:43 +1200] ReadClient() 5 POST / HTTP/1.1
d [11/Jun/2003:12:41:43 +1200] decode_auth(0x402d5220): Authorization string = ""
d [11/Jun/2003:12:41:43 +1200] decode_auth() 5 username=""
d [11/Jun/2003:12:41:43 +1200] IsAuthorized: con->uri = "/"
d [11/Jun/2003:12:41:43 +1200] FindBest: uri = "/"...
d [11/Jun/2003:12:41:43 +1200] FindBest: Location / Limit 7f
d [11/Jun/2003:12:41:43 +1200] FindBest: Location /admin Limit 7f
d [11/Jun/2003:12:41:43 +1200] FindBest: best = "/"
d [11/Jun/2003:12:41:43 +1200] IsAuthorized: auth = 0, satisfy=0...
d [11/Jun/2003:12:41:43 +1200] POST /
d [11/Jun/2003:12:41:43 +1200] CONTENT_TYPE = application/ipp
d [11/Jun/2003:12:41:43 +1200] ReadClient() 5 con->data_encoding = length, con->data_remaining = 120, con->file = 0
d [11/Jun/2003:12:41:43 +1200] ProcessIPPRequest(0x402d5220[5]): operation_id = 000b
d [11/Jun/2003:12:41:43 +1200] get_printer_attrs(0x402d5220[5], ipp://localhost/printers/HP)
d [11/Jun/2003:12:41:43 +1200] add_printer_state_reasons(0x402d5220[5], 0x80906d8[HP])
d [11/Jun/2003:12:41:43 +1200] add_queued_job_count(0x402d5220[5], 0x80906d8[HP])
d [11/Jun/2003:12:41:43 +1200] copy_attrs(0x80a22b0, 0x8089af8, (nil), 0)
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x8089b20[printer-uri-supported,4,45])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x8089b90[uri-authentication-supported,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x8089c00[uri-security-supported,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x8089c58[printer-name,4,42])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x8089ca8[printer-location,4,41])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x8089cf8[printer-info,4,41])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x8089d48[printer-more-info,4,45])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x8089db0[pdl-override-supported,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x8089e10[ipp-versions-supported,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x8089e80[operations-supported,4,23])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808a000[multiple-document-jobs-supported,4,22])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808a050[multiple-operation-time-out,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808a098[multiple-document-handling-supported,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808a150[charset-configured,4,47])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e028[charset-supported,4,47])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e398[natural-language-configured,4,48])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e3f0[generated-natural-language-supported,4,48])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e458[document-format-default,4,49])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e4c0[document-format-supported,4,80000049])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e670[compression-supported,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e6c8[job-priority-supported,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e710[job-priority-default,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e758[copies-supported,4,33])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e798[copies-default,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e7d8[page-ranges-supported,4,22])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e820[number-up-supported,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e898[number-up-default,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e8d8[orientation-requested-supported,4,23])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e948[orientation-requested-default,4,23])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e998[job-quota-period,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808e9d8[job-k-limit,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808ea10[job-page-limit,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808ea50[job-sheets-supported,4,42])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808eb60[job-sheets-default,4,42])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808ebc8[device-uri,4,45])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808ec30[color-supported,4,22])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808ec70[pages-per-minute,4,21])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x808ecb0[printer-make-and-model,4,41])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x8098850[media-supported,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x8098a68[media-default,4,44])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x8096450[finishings-supported,4,23])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x80951a8[finishings-default,4,23])
d [11/Jun/2003:12:41:43 +1200] copy_attribute(0x80a22b0, 0x8096490[printer-type,4,23])
D [11/Jun/2003:12:41:43 +1200] ProcessIPPRequest: 5 status_code=0
d [11/Jun/2003:12:41:43 +1200] WriteClient: Removing fd 5 from OutputSet...
d [11/Jun/2003:12:41:43 +1200] WriteClient() 3 1765 bytes
d [11/Jun/2003:12:41:43 +1200] ReadClient() 5, used=0
D [11/Jun/2003:12:41:43 +1200] ReadClient() 5 POST / HTTP/1.1
d [11/Jun/2003:12:41:43 +1200] decode_auth(0x402d5220): Authorization string = ""
d [11/Jun/2003:12:41:43 +1200] decode_auth() 5 username=""
d [11/Jun/2003:12:41:43 +1200] IsAuthorized: con->uri = "/"
d [11/Jun/2003:12:41:43 +1200] FindBest: uri = "/"...
d [11/Jun/2003:12:41:43 +1200] FindBest: Location / Limit 7f
d [11/Jun/2003:12:41:43 +1200] FindBest: Location /admin Limit 7f
d [11/Jun/2003:12:41:43 +1200] FindBest: best = "/"
d [11/Jun/2003:12:41:43 +1200] IsAuthorized: auth = 0, satisfy=0...
d [11/Jun/2003:12:41:43 +1200] POST /
d [11/Jun/2003:12:41:43 +1200] CONTENT_TYPE = application/ipp
d [11/Jun/2003:12:41:43 +1200] ReadClient() 5 con->data_encoding = length, con->data_remaining = 120, con->file = 0
d [11/Jun/2003:12:41:43 +1200] ProcessIPPRequest(0x402d5220[5]): operation_id = 000a
d [11/Jun/2003:12:41:43 +1200] get_jobs(0x402d5220[5], ipp://localhost/printers/HP)
d [11/Jun/2003:12:41:43 +1200] get_jobs: job->id = 1
d [11/Jun/2003:12:41:43 +1200] get_jobs: job->id = 2
D [11/Jun/2003:12:41:43 +1200] ProcessIPPRequest: 5 status_code=0
d [11/Jun/2003:12:41:43 +1200] WriteClient: Removing fd 5 from OutputSet...
d [11/Jun/2003:12:41:43 +1200] PID 13759 exited with no errors.
d [11/Jun/2003:12:41:43 +1200] DeleteCert: removing certificate for pid 13759
d [11/Jun/2003:12:41:44 +1200] ReadClient() 5, used=0
D [11/Jun/2003:12:41:44 +1200] CloseClient() 5
d [11/Jun/2003:12:41:44 +1200] CloseClient: Removing fd 5 from InputSet and OutputSet...
d [11/Jun/2003:12:41:44 +1200] WriteClient: Removing fd 3 from OutputSet...
d [11/Jun/2003:12:41:44 +1200] WriteClient: Removing fd 6 from InputSet...
d [11/Jun/2003:12:41:44 +1200] WriteClient: 3 Closing data file 6.
Back to top
View user's profile Send private message
Benny007
n00b
n00b


Joined: 10 Feb 2003
Posts: 43
Location: U.K.

PostPosted: Sun Jul 13, 2003 6:09 am    Post subject: It works Reply with quote

Thank you it works fine.
http://www.linuxprinting.org/cups-doc.html

:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum