I'm hoping someone can help me debug a printing problem. I have a Brother HL2270; I followed the installation instructions here: http://forums.gentoo.org/viewtopic-t-86 ... rt-25.html. This worked for me at first but then it didn't!
Currently, when I try to print a test page, what comes out is raw (unrendered) postscript. So I'm guessing one of the filters isn't doing what it should! Can anyone give me some pointers on how to test this. Here are some lines from /var/log/cups/error_log:
Code: Select all
...
D [01/Apr/2011:17:01:38 -0400] [Job 604] envp[17]="LANG=en_US.UTF-8"
D [01/Apr/2011:17:01:38 -0400] [Job 604] envp[18]="PPD=/etc/cups/ppd/HL2270DW.ppd"
D [01/Apr/2011:17:01:38 -0400] [Job 604] envp[19]="RIP_MAX_CACHE=8m"
D [01/Apr/2011:17:01:38 -0400] [Job 604] envp[20]="CONTENT_TYPE=application/postscript"
D [01/Apr/2011:17:01:38 -0400] [Job 604] envp[21]="DEVICE_URI=socket://192.168.10.200"
D [01/Apr/2011:17:01:38 -0400] [Job 604] envp[22]="PRINTER=HL2270DW"
D [01/Apr/2011:17:01:38 -0400] [Job 604] envp[23]="FINAL_CONTENT_TYPE=printer/HL2270DW"
I [01/Apr/2011:17:01:38 -0400] [Job 604] Started filter /usr/libexec/cups/filter/pstops (PID 7320)
I [01/Apr/2011:17:01:38 -0400] [Job 604] Started filter /usr/libexec/cups/filter/brlpdwrapperHL2270DW (PID 7321)
I [01/Apr/2011:17:01:38 -0400] [Job 604] Started backend /usr/libexec/cups/backend/socket (PID 7322)
D [01/Apr/2011:17:01:38 -0400] Discarding unused job-state-changed event...
D [01/Apr/2011:17:01:38 -0400] cupsdProcessIPPRequest: 19 status_code=0 (successful-ok)
...
D [01/Apr/2011:17:01:38 -0400] [Job 604] Connected to 192.168.10.200:9100 (IPv4)...
D [01/Apr/2011:17:01:38 -0400] [Job 604] backendRunLoop(print_fd=0, device_fd=5, use_bc=1, side_cb=0x8049010)
D [01/Apr/2011:17:01:38 -0400] Discarding unused printer-state-changed event...
D [01/Apr/2011:17:01:38 -0400] Discarding unused job-progress event...
D [01/Apr/2011:17:01:38 -0400] [Job 604] Page = 595x842; 18,12 to 577,830
D [01/Apr/2011:17:01:38 -0400] [Job 604] slow_collate=0, slow_duplex=0, slow_order=0
D [01/Apr/2011:17:01:38 -0400] [Job 604] Before copy_comments - %!PS-Adobe-3.0
D [01/Apr/2011:17:01:38 -0400] [Job 604] %!PS-Adobe-3.0
D [01/Apr/2011:17:01:38 -0400] [Job 604] %%BoundingBox: 0 0 612 792
D [01/Apr/2011:17:01:38 -0400] [Job 604] %%Pages: 1
D [01/Apr/2011:17:01:38 -0400] [Job 604] %%LanguageLevel: 1
D [01/Apr/2011:17:01:38 -0400] [Job 604] %%DocumentData: Clean7Bit
D [01/Apr/2011:17:01:38 -0400] [Job 604] %%DocumentSuppliedResources: procset testprint/1.3
D [01/Apr/2011:17:01:38 -0400] [Job 604] %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman
D [01/Apr/2011:17:01:38 -0400] [Job 604] %%Creator: Michael Sweet, Apple Inc.
D [01/Apr/2011:17:01:38 -0400] [Job 604] %%CreationDate: D:20090113092400+0800
D [01/Apr/2011:17:01:38 -0400] [Job 604] %%Title: Test Page
D [01/Apr/2011:17:01:38 -0400] [Job 604] %%EndComments
D [01/Apr/2011:17:01:38 -0400] [Job 604] Before copy_prolog - %%BeginProlog
D [01/Apr/2011:17:01:38 -0400] [Job 604] Before copy_setup - %%Page: 1 1
D [01/Apr/2011:17:01:38 -0400] [Job 604] Before page loop - %%Page: 1 1
D [01/Apr/2011:17:01:38 -0400] [Job 604] Copying page 1...
D [01/Apr/2011:17:01:38 -0400] [Job 604] pagew = 559.0, pagel = 818.0
D [01/Apr/2011:17:01:38 -0400] [Job 604] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842
D [01/Apr/2011:17:01:38 -0400] [Job 604] PageLeft = 18.0, PageRight = 577.0
D [01/Apr/2011:17:01:38 -0400] [Job 604] PageTop = 830.0, PageBottom = 12.0
D [01/Apr/2011:17:01:38 -0400] [Job 604] PageWidth = 595.0, PageLength = 842.0
D [01/Apr/2011:17:01:38 -0400] [Job 604] Wrote 1 pages...
D [01/Apr/2011:17:01:38 -0400] PID 7320 (/usr/libexec/cups/filter/pstops) exited with no errors.
D [01/Apr/2011:17:01:38 -0400] [Job 604] Read 4096 bytes of print data...
D [01/Apr/2011:17:01:38 -0400] Discarding unused printer-state-changed event...
D [01/Apr/2011:17:01:38 -0400] [Job 604] Wrote 4096 bytes of print data...
D [01/Apr/2011:17:01:38 -0400] Discarding unused printer-state-changed event...
D [01/Apr/2011:17:01:38 -0400] Discarding unused job-progress event...
D [01/Apr/2011:17:01:38 -0400] [Job 604] Read 4096 bytes of print data...
D [01/Apr/2011:17:01:38 -0400] [Job 604] Wrote 4096 bytes of print data...
D [01/Apr/2011:17:01:38 -0400] [Job 604] Read 4096 bytes of print data...
D [01/Apr/2011:17:01:38 -0400] [Job 604] Wrote 4096 bytes of print data...
D [01/Apr/2011:17:01:38 -0400] [Job 604] Read 8192 bytes of print data...
D [01/Apr/2011:17:01:38 -0400] [Job 604] Wrote 8192 bytes of print data...
D [01/Apr/2011:17:01:38 -0400] [Job 604] Read 8192 bytes of print data...
D [01/Apr/2011:17:01:38 -0400] [Job 604] Wrote 8192 bytes of print data...
...<[i]LOTS more lines like this[/i]
D [01/Apr/2011:17:02:03 -0400] [Job 604] Read 2377 bytes of print data...
D [01/Apr/2011:17:02:03 -0400] [Job 604] Wrote 2377 bytes of print data...
D [01/Apr/2011:17:02:08 -0400] Discarding unused printer-state-changed event...
D [01/Apr/2011:17:02:08 -0400] Discarding unused job-progress event...
D [01/Apr/2011:17:02:08 -0400] Discarding unused printer-state-changed event...
D [01/Apr/2011:17:02:08 -0400] Discarding unused job-progress event...
D [01/Apr/2011:17:02:08 -0400] PID 7322 (/usr/libexec/cups/backend/socket) exited with no errors.
D [01/Apr/2011:17:02:08 -0400] [Job 604] File 0 is complete.
I [01/Apr/2011:17:02:08 -0400] [Job 604] Completed successfully.
D [01/Apr/2011:17:02:08 -0400] Discarding unused printer-state-changed event...
D [01/Apr/2011:17:02:08 -0400] Discarding unused job-completed event...
D [01/Apr/2011:17:02:09 -0400] [Job 604] Unloading...
Thanks!
[/quote]


