[cups.general] Output being sent to printer in PS formatinsteadof raster

Helge Blischke h.blischke at srz.de
Wed Nov 12 07:09:44 PST 2008


ulrich.lauther at t-online.de wrote:
> On Tue, Nov 11, 2008 at 03:33:47AM -0800, Helge Blischke wrote:
> 
>>ulrich.lauther at t-online.de wrote:
>>
>>>On Sun, Nov 09, 2008 at 11:56:51AM -0500, Gene Heskett wrote:
>>>
>>>
>>>>level 2 instead of 3?  Give me a sample cli, like using groff to print a man 
>>>>page, and I'll see if it works here.
>>>>
>>>
>>>for those who want to reproduce the problem:
>>>
>>>echo "Hello World" | groff -Tps | lpr
>>>
>>>but caution: needs 5 sheets of paper on my Brother_DCP-7010_USB_1.
>>>
>>>Best,
>>>
>>>	-ulrich
>>>
>>
>>Though I have not such beast of printer to test here, I suspect
>>at least part of the issue is due to the fact that the PostScript
>>job created by groff lacks the setup section, i.e. the stuff between
>>(and inlcuding) the comment lines
>>	%%BeginSetup
>>and
>>	%%EndSetup
>>.
>>It is these lines that trigger the pstops filter to insert
>>defaults and options from the PPD and the command line.
>>Thus, anong other things, the page size is left undefined.
>>Maybe that is the reason for the failure.
>>
> 
> I don't see it missing:
> 
> %%BeginSetup
> %%BeginFeature: *PageSize Default
> << /PageSize [ 595 842 ] /ImagingBBox null >> setpagedevice
> %%EndFeature
> %%IncludeResource: font Times-Roman
> grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
> def/PL 841.89 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron
> /Zcaron/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef
> /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
> /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
> /.notdef/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
> /ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
> /period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
> /semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
> /P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
> /underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
> /z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
> /guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
> /endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
> /dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
> /quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
> /brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
> /logicalnot/minus/registered/macron/degree/plusminus/twosuperior
> /threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
> /ordmasculine/guilsinglright/onequarter/onehalf/threequarters
> /questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
> /Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
> /Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
> /multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
> /germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
> /egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
> /eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
> /ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
> /Times-Roman at 0 ENC0/Times-Roman RE
> %%EndSetup
> 
> Best,
> 
> 	-ulrich
> 

Maybe my groff is too old (it is 1.11 from 1999). Could you post
the PS output from your cli?

Helge


-- 
Helge Blischke
Softwareentwicklung

H.Blischke at acm.org




More information about the cups mailing list