Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[cups] print test page doesn't work
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
bassvandijk
Guru
Guru


Joined: 13 Sep 2002
Posts: 306
Location: Haps, Netherlands

PostPosted: Fri Jul 18, 2003 9:14 am    Post subject: [cups] print test page doesn't work Reply with quote

When I try to print a test page via the cups web interface (http://localhost:631) nothing happens :-(

I think I configured cups correctly. I downloaded the right .ppd for my HP-DeskJet_694C from linuxprinting.org
and moved it to /usr/share/cups/model. Then I configured cups via the web interface.

This is the cups error_log when I try to print a test page (loglevel is debug):
Code:
D [18/Jul/2003:10:52:12 +0200] AcceptClient() 7 from localhost:631.
D [18/Jul/2003:10:52:12 +0200] ReadClient() 7 GET /printers/HP-DeskJet_694C?op=print-test-page HTTP/1.1
D [18/Jul/2003:10:52:12 +0200] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 7614
I [18/Jul/2003:10:52:12 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7614)
D [18/Jul/2003:10:52:12 +0200] SendCommand() 7 file=9
D [18/Jul/2003:10:52:12 +0200] AcceptClient() 8 from localhost:631.
D [18/Jul/2003:10:52:12 +0200] ReadClient() 8 POST /printers/HP-DeskJet_694C HTTP/1.1
D [18/Jul/2003:10:52:12 +0200] print_job: request file type is application/postscript.
D [18/Jul/2003:10:52:12 +0200] check_quotas: requesting-user-name = 'root'
D [18/Jul/2003:10:52:12 +0200] print_job: requesting-user-name = 'root'
D [18/Jul/2003:10:52:12 +0200] Adding default job-sheets values "none,none"...
I [18/Jul/2003:10:52:12 +0200] Adding start banner page "none" to job 5.
I [18/Jul/2003:10:52:12 +0200] Adding end banner page "none" to job 5.
I [18/Jul/2003:10:52:12 +0200] Job 5 queued on 'HP-DeskJet_694C' by 'root'.
D [18/Jul/2003:10:52:12 +0200] Job 5 hold_until = 0
D [18/Jul/2003:10:52:12 +0200] StartJob(5, 0x80a3968)
D [18/Jul/2003:10:52:12 +0200] StartJob() id = 5, file = 0/1
D [18/Jul/2003:10:52:12 +0200] job-sheets=none,none
D [18/Jul/2003:10:52:12 +0200] banner_page = 0
D [18/Jul/2003:10:52:12 +0200] StartJob: argv = "HP-DeskJet_694C","5","root","Test Page","1","","/var/spool/cups/d00005-001"
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[2]="USER=root"
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[3]="CHARSET=iso-8859-1"
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[4]="LANG=en"
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[5]=""
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[6]="PPD=/etc/cups/ppd/HP-DeskJet_694C.ppd"
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[7]="CUPS_SERVERROOT=/etc/cups"
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[8]="RIP_MAX_CACHE=8m"
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[9]="TMPDIR=/var/spool/cups/tmp"
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[10]="CONTENT_TYPE=application/postscript"
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[11]="DEVICE_URI=parallel:/dev/lp0"
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[12]="PRINTER=HP-DeskJet_694C"
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[13]="CUPS_DATADIR=/usr/share/cups"
D [18/Jul/2003:10:52:12 +0200] StartJob: envp[14]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [18/Jul/2003:10:52:12 +0200] StartJob: statusfds = [ 10 11 ]
D [18/Jul/2003:10:52:12 +0200] StartJob: filterfds[1] = [ 12 -1 ]
D [18/Jul/2003:10:52:12 +0200] StartJob: filter = "/usr/lib/cups/filter/pstops"
D [18/Jul/2003:10:52:12 +0200] StartJob: filterfds[0] = [ 13 14 ]
D [18/Jul/2003:10:52:12 +0200] start_process("/usr/lib/cups/filter/pstops", 0xbffe8640, 0xbffe79b0, 12, 14, 11)
I [18/Jul/2003:10:52:12 +0200] Started filter /usr/lib/cups/filter/pstops (PID 7615) for job 5.
D [18/Jul/2003:10:52:12 +0200] StartJob: filter = "/usr/lib/cups/filter/foomatic-rip"
D [18/Jul/2003:10:52:12 +0200] StartJob: filterfds[1] = [ 12 15 ]
D [18/Jul/2003:10:52:12 +0200] start_process("/usr/lib/cups/filter/foomatic-rip", 0xbffe8640, 0xbffe79b0, 13, 15, 11)
I [18/Jul/2003:10:52:12 +0200] Started filter /usr/lib/cups/filter/foomatic-rip (PID 7616) for job 5.
D [18/Jul/2003:10:52:12 +0200] StartJob: backend = "/usr/lib/cups/backend/parallel"
D [18/Jul/2003:10:52:12 +0200] StartJob: filterfds[0] = [ -1 13 ]
D [18/Jul/2003:10:52:12 +0200] start_process("/usr/lib/cups/backend/parallel", 0xbffe8640, 0xbffe79b0, 12, 13, 11)
E [18/Jul/2003:10:52:12 +0200] PID 7616 stopped with status 22!
I [18/Jul/2003:10:52:12 +0200] Started backend /usr/lib/cups/backend/parallel (PID 7617) for job 5.
D [18/Jul/2003:10:52:12 +0200] ProcessIPPRequest: 8 status_code=0
D [18/Jul/2003:10:52:12 +0200] [Job 5] /usr/lib/cups/filter/foomatic-rip: No such file or directory
D [18/Jul/2003:10:52:13 +0200] CloseClient() 8
D [18/Jul/2003:10:52:13 +0200] [Job 5] Page = 612x792; 18,48 to 594,783
D [18/Jul/2003:10:52:13 +0200] [Job 5] slowcollate=0, slowduplex=0, sloworder=0
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%BoundingBox: 0 0 612 792
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%Pages: 1
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%LanguageLevel: 1
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%DocumentData: Clean7Bit
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%DocumentSuppliedResources: procset testprint/1.0
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%Creator: Michael Sweet, Easy Software Products
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%CreationDate: May 11, 1999
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%Title: Test Page
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%EndComments
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%BeginProlog
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%BeginResource procset testprint 1.1 0
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%EndResource
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%EndProlog
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%Page: 1 1
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%Page: 1 1
D [18/Jul/2003:10:52:13 +0200] [Job 5] pw = 576.0, pl = 734.8
D [18/Jul/2003:10:52:13 +0200] [Job 5] PageLeft = 18.0, PageRight = 594.0
D [18/Jul/2003:10:52:13 +0200] [Job 5] PageTop = 783.0, PageBottom = 48.2
D [18/Jul/2003:10:52:13 +0200] [Job 5] PageWidth = 612.0, PageLength = 792.0
D [18/Jul/2003:10:52:13 +0200] [Job 5] 0 %%EOF
D [18/Jul/2003:10:52:13 +0200] [Job 5] Saw EOF!
D [18/Jul/2003:10:52:13 +0200] UpdateJob: job 5, file 0 is complete.
D [18/Jul/2003:10:52:13 +0200] CancelJob: id = 5
D [18/Jul/2003:10:52:13 +0200] StopJob: id = 5, force = 0
D [18/Jul/2003:10:52:13 +0200] StopJob: printer state is 3
D [18/Jul/2003:10:52:13 +0200] CloseClient() 5


What could be wrong?
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Fri Jul 18, 2003 9:44 am    Post subject: Reply with quote

Are you sure your printer is configured correctly? Can you cat something to /dev/lp0 and the printer print it?

chris
Back to top
View user's profile Send private message
lanius
Retired Dev
Retired Dev


Joined: 08 Dec 2002
Posts: 160

PostPosted: Sat Jul 19, 2003 10:32 am    Post subject: Reply with quote

download foomatic-rip from www.linuxprinting.org or use the new foomatic-3.0 ebuild
Back to top
View user's profile Send private message
StinkingMonkey
Apprentice
Apprentice


Joined: 24 May 2003
Posts: 183
Location: UK

PostPosted: Tue Jul 22, 2003 12:13 pm    Post subject: Reply with quote

may also want to emerge the net-print/hpijs and follow the install instructions from http://hpinkjet.sourceforge.net/install.php, you'll need foomatic as heino suggested, possibly try it with foomatic emerged first
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