Landscape printing using CUPS 1.42 onBrother 6050 is blank

Tim Underwood timu at hightouchinc.com
Wed Apr 18 09:53:38 PDT 2012


Seem to have fixed by using the more generic "Brother Postscript" driver:

*% You may save this file as 'Brother-HL-6050-Postscript.ppd'
*%
*%
*FormatVersion:	"4.3"
*FileVersion:	"1.1"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName:	"POSTSCRI.PPD"
*Manufacturer:	"Brother"
*Product:	"(Brother HL-6050 series)"
*cupsVersion:	1.0
*cupsManualCopies: True
*cupsModelNumber:  2
*cupsFilter:	"application/vnd.cups-postscript 100 foomatic-rip"
*cupsFilter:	"application/vnd.cups-pdf 0 foomatic-rip"
*%pprRIP:        foomatic-rip other
*ModelName:     "Brother HL-6050"
*ShortNickName: "Brother HL-6050 Postscript"
*NickName:      "Brother HL-6050 Foomatic/Postscript"


This driver seems to work fine, and prints PDFs fine as well.


> > Tim,
> >
> > On Apr 10, 2012, at 1:01 PM, Tim Underwood wrote:
> > > ...
> > > What is interesting is that looking into the /etc/cups/printers.conf file for this printer (after modifying the printers.conf to point to a file, instead of the printer), it has only 3 filters specified:
> > > ...
> > > Filter application/vnd.cups-raw 0 -
> > > Filter application/vnd.cups-command 0 commandtops
> > > Filter application/vnd.cups-postscript 0 -
> > > ...
> > > Also - what I notice when looking at HP printers (which DO work correctly), they have the following filters:
> > >
> > > Filter application/vnd.cups-raw 0 -
> > > Filter application/vnd.cups-postscript 100 foomatic-rip
> > > Filter application/vnd.cups-pdf 0 foomatic-rip
> >
> >
> > What OS/Linux distribution are you using?
>
> RHE 6.0, with latest updates
>
> >
> > What do you see in the /var/log/cups/error_log file when you print? (make sure to turn on debug logging - "cupsctl --debug-logging" will do the trick)
>
> Enabled logging.  No error output that I can see.  After running through the fonts, I get:
> D [18/Apr/2012:07:55:39 -0500] [Job 124] ppd->fonts[64] = SanDiego
> D [18/Apr/2012:07:55:39 -0500] [Job 124] ppd->fonts[65] = US-Roman
> D [18/Apr/2012:07:55:39 -0500] [Job 124] Page = 612x1008; 12,12 to 600,996
> D [18/Apr/2012:07:55:39 -0500] [Job 124] slow_collate=0, slow_duplex=0, slow_order=0
> D [18/Apr/2012:07:55:39 -0500] [Job 124] Before copy_comments - %!PS-Adobe-3.0
> D [18/Apr/2012:07:55:39 -0500] [Job 124] %!PS-Adobe-3.0
> D [18/Apr/2012:07:55:39 -0500] [Job 124] %%BoundingBox: 0 0 1008 612
> D [18/Apr/2012:07:55:39 -0500] [Job 124] %cupsRotation: 0
> D [18/Apr/2012:07:55:39 -0500] [Job 124] %%Creator: texttops/CUPS v1.4.2
> D [18/Apr/2012:07:55:39 -0500] [Job 124] %%CreationDate: Wed Apr 18 07:55:39 2012
> D [18/Apr/2012:07:55:39 -0500] [Job 124] %%Title: (printoutput.2455.txt)
> D [18/Apr/2012:07:55:39 -0500] [Job 124] %%For: (root)
> D [18/Apr/2012:07:55:39 -0500] [Job 124] %%Pages: (atend)
> D [18/Apr/2012:07:55:39 -0500] [Job 124] %%DocumentNeededResources: font Monospace-Bold
> D [18/Apr/2012:07:55:39 -0500] [Job 124] %%+ font Monospace
> D [18/Apr/2012:07:55:39 -0500] [Job 124] %%DocumentSuppliedResources: procset texttops 1.1 0
> D [18/Apr/2012:07:55:39 -0500] [Job 124] %%+ font Monospace-Bold
> D [18/Apr/2012:07:55:39 -0500] [Job 124] %%+ font Monospace
> D [18/Apr/2012:07:55:39 -0500] [Job 124] %%EndComments
> D [18/Apr/2012:07:55:39 -0500] [Job 124] Before copy_prolog - %%BeginProlog
> D [18/Apr/2012:07:55:39 -0500] [Job 124] Before copy_setup - %%Page: 1 1
> D [18/Apr/2012:07:55:39 -0500] PID 2476 (/usr/lib/cups/filter/texttops) exited with no errors.
> D [18/Apr/2012:07:55:39 -0500] [Job 124] Before page loop - %%Page: 1 1
> D [18/Apr/2012:07:55:39 -0500] [Job 124] Copying page 1...
> D [18/Apr/2012:07:55:39 -0500] [Job 124] PAGE: 1 1
> D [18/Apr/2012:07:55:39 -0500] Discarding unused job-progress event...
> D [18/Apr/2012:07:55:39 -0500] [Job 124] pagew = 587.9, pagel = 983.9
> D [18/Apr/2012:07:55:39 -0500] [Job 124] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 1008
> D [18/Apr/2012:07:55:39 -0500] [Job 124] PageLeft = 12.1, PageRight = 600.0
> D [18/Apr/2012:07:55:39 -0500] [Job 124] PageTop = 995.9, PageBottom = 12.0
> D [18/Apr/2012:07:55:39 -0500] [Job 124] PageWidth = 612.0, PageLength = 1008.0
> D [18/Apr/2012:07:55:39 -0500] [Job 124] Copying page 2...
> D [18/Apr/2012:07:55:39 -0500] [Job 124] PAGE: 2 1
> D [18/Apr/2012:07:55:39 -0500] Discarding unused job-progress event...
> D [18/Apr/2012:07:55:39 -0500] [Job 124] pagew = 587.9, pagel = 983.9
> D [18/Apr/2012:07:55:39 -0500] [Job 124] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 1008
> D [18/Apr/2012:07:55:39 -0500] [Job 124] PageLeft = 12.1, PageRight = 600.0
> D [18/Apr/2012:07:55:39 -0500] [Job 124] PageTop = 995.9, PageBottom = 12.0
> D [18/Apr/2012:07:55:39 -0500] [Job 124] PageWidth = 612.0, PageLength = 1008.0
> D [18/Apr/2012:07:55:39 -0500] [Job 124] Wrote 2 pages...
> D [18/Apr/2012:07:55:39 -0500] PID 2477 (/usr/lib/cups/filter/pstops) exited with no errors.
> D [18/Apr/2012:07:55:39 -0500] Discarding unused job-completed event...
> I [18/Apr/2012:07:55:39 -0500] [Job 124] Job completed.
> D [18/Apr/2012:07:55:39 -0500] cupsdMarkDirty(----J-)
> D [18/Apr/2012:07:55:39 -0500] Discarding unused printer-state-changed event...
> D [18/Apr/2012:07:55:40 -0500] [Job 124] Unloading...
> I [18/Apr/2012:07:56:09 -0500] Saving job cache file "/var/cache/cups/job.cache"...
> D [18/Apr/2012:07:56:09 -0500] cupsdSetBusyState: Not busy
>
>
>
> >
> > I guess it is possible that you have texttopdf and pdftopdf filters installed on your system but not texttops or pdftops filters that would allow the text file to print.  It could also be that the text file you are printing is being recognized as PCL and sent raw to the printer instead, and the Brother just isn't understanding it while the HP *is*.
>
> That might be possible.  My test text files are of the kind where each column is numbered "1234567890......." so I can see how many columns get printed with which parms, etc.  It *might* be possible that the Brother driver sees the "1234" and thinks it's already Postscript - *except* that portrait documents (i.e. files that are 132 columns or less), are designed the exact same way (just fewer columns), and print without issue (and correctly, i.e. compressed or not).  It's only when the landscape option is thrown into the mix I have an issue.  Interestingly, the printer also only has one tray - letter, and if I send commands to print to Legal paper, the printer properly stops, indicates that it wants legal, and if you put legal in the manual input tray - prints fine.
>
> Also - the driver absolutely recognizes the number of pages in the output, and will feed that number of pages.
>
> Also - PDF files print fine - portrait and landscape - so the pdftops filter is working fine there.
>
> Instead of a Brother specific driver - should I fallback to some more generic postscript driver?
> >
> > ________________________________________________________________________
> > Michael Sweet, Senior Printing System Engineer, PWG Chair
> >




More information about the cups mailing list