Printing Firefox to postscript printer SOLVED

Franko30 ulist at gs1.ubuntuforums.org
Tue Aug 23 19:10:58 UTC 2005


Tommy Trussell Wrote: 
> 

> I saw that the xprt-xprintorg and xprt-common packages are available

> in Ubuntu repositories but I'm not knowledgeable enough (and don't

> have time at the moment) to know how to rebuild Firefox to use them. I

> guess there's not a "patch" or a workaround to call them without a

> recompile?

> If you have a pointer to a forums discussion or wiki page where this

> is being discussed I'll subscribe to it. Thank you for the feedback!



Anyone?



I'd really appreciate anyone helping on this as the command given above
gives me just garbage in my PDF file, here it is:



> Error: /invalidfont in findfont

> Operand stack:

> F2 Times-BoldItalic Font Times-BoldItalic 344586 Times-BoldItali

> Execution stack:

> %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringv

> Dictionary stack:

> --dict:1055/1417(ro)(G)-- --dict:0/20(G)-- --dict:73/200(L)-- --dict

> Current allocation mode is local

> Last OS error: 2

> %!PS-Adobe-3.0

> %%Pages: (atend)

> %%BoundingBox: 0 0 0 0

> %%HiResBoundingBox: 0.000000 0.000000 0.000000 0.000000

> %%Creator: ESP Ghostscript 707 (pswrite)

> %%CreationDate: 2005/08/23 21:09:06

> %%DocumentData: Clean7Bit

> %%LanguageLevel: 2

> %%EndComments

> %%BeginProlog

> % This copyright applies to everything between here and the
> %%EndProlog:

> % Copyright 2003 artofcode LLC and Easy Software Products, all rights
> reserve

> %%BeginResource: procset GS_pswrite_2_0_1001

> /GS_pswrite_2_0_1001 80 dict dup begin

> /PageSize 2 array def/setpagesize{ PageSize aload pop 3 index eq exch

> 4 index eq and{ pop pop pop}{ PageSize dup 1

> 5 -1 roll put 0 4 -1 roll put dup null eq {false} {dup where} ifelse{
> exch ge

> { pop/setpagedevice where

> { pop 1 dict dup /PageSize PageSize put setpagedevice}

> { /setpage where{ pop PageSize aload pop pageparams 3 {exch pop}
> repeat

> setpage}if}ifelse}ifelse}ifelse} bind def

> /!{bind def}bind def/#{load def}!/N/counttomark #

> /rG{3{3 -1 roll 255 div}repeat setrgbcolor}!/G{255 div setgray}!/K{0
> G}!

> /r6{dup 3 -1 roll rG}!/r5{dup 3 1 roll rG}!/r3{dup rG}!

> /w/setlinewidth #/J/setlinecap #

> /j/setlinejoin #/M/setmiterlimit #/d/setdash #/i/setflat #

> /m/moveto #/l/lineto #/c/rcurveto #

> /p{N 2 idiv{N -2 roll rlineto}repeat}!

> /P{N 0 gt{N -2 roll moveto p}if}!

> /h{p closepath}!/H{P closepath}!

> /lx{0 rlineto}!/ly{0 exch rlineto}!/v{0 0 6 2 roll c}!/y{2 copy c}!

> /re{4 -2 roll m exch dup lx exch ly neg lx h}!

> /^{3 index neg 3 index neg}!

> /f{P fill}!/f*{P eofill}!/s{H stroke}!/S{P stroke}!

> /q/gsave #/Q/grestore #/rf{re fill}!

> /Y{P clip newpath}!/Y*{P eoclip newpath}!/rY{re Y}!

> /|={pop exch 4 1 roll 1 array astore cvx 3 array astore cvx exch 1
> index def

> /|{exch string readstring |=}!

> /+{dup type/nametype eq{2 index 7 add -3 bitshift 2 index mul}if}!

> /@/currentfile #/${+ @ |}!

> /B{{2 copy string{readstring pop}aload pop 4 array astore cvx

> 3 1 roll}repeat pop pop true}!

> /Ix{[1 0 0 1 11 -2 roll exch neg exch neg]exch}!

> /,{true exch Ix imagemask}!/If{false exch Ix imagemask}!/I{exch Ix
> image}!

> /Ic{exch Ix false 3 colorimage}!

> /F{/Columns counttomark 3 add -2 roll/Rows exch/K -1/BlackIs1 true>>

> /CCITTFaxDecode filter}!/FX{<</EndOfBlock false F}!

> /X{/ASCII85Decode filter}!/@X{@ X}!/&2{2 index 2 index}!

> /@F{@ &2<<F}!/@C{@X &2 FX}!

> /$X{+ @X |}!/&4{4 index 4 index}!/$F{+ @ &4<<F |}!/$C{+ @X &4 FX |}!

> /IC{3 1 roll 10 dict begin 1{/ImageType/Interpolate/Decode/DataSource

> /ImageMatrix/BitsPerComponent/Height/Width}{exch def}forall

> currentdict end image}!

> /~{@ read {pop} if}!

> end readonly def

> %%EndResource

> /pagesave null def

> %%EndProlog

> %%Trailer

> %%Pages: 0

> %%EOF

> %%EndResource

> /pagesave null def

> %%EndProlog

> %%Trailer

> %%Pages: 0

> %%EOF 





Doesn't it bother more people that they can't print with Firefox?


-- 
Franko30




More information about the ubuntu-users mailing list