Xerox print in size letter

Helge Blischke h.blischke at srz.de
Fri Mar 17 02:16:46 PST 2006


Anonymous wrote:
> 
> %!PS-Adobe-3.0
> %%BeginProlog
> /imStr 0 def /imageSrc {currentfile /ASCII85Decode filter /RunLengthDecode filter  imStr readstring pop } def
> /BD {bind def} bind def
> /D {def} BD
> /ISOF {
>      dup findfont dup length 1 add dict begin {
>              1 index /FID eq {pop pop} {D} ifelse
>      } forall /Encoding ISOLatin1Encoding D
>      currentdict end definefont
> } BD
> /NZ {dup 1 lt {pop 1} if} BD
> /DS {
>      moveto 1 index stringwidth pop NZ sub
>      1 index length 1 sub NZ div 0
>      3 2 roll ashow newpath} BD
> /F [
>     /AvantGarde-Book ISOF
>     /AvantGarde-BookOblique ISOF
>     /AvantGarde-Demi ISOF
>     /AvantGarde-DemiOblique ISOF
>     /Bookman-Demi ISOF
>     /Bookman-DemiItalic ISOF
>     /Bookman-Light ISOF
>     /Bookman-LightItalic ISOF
>     /Courier ISOF
>     /Courier-Bold ISOF
>     /Courier-BoldOblique ISOF
>     /Courier-Oblique ISOF
>     /Helvetica ISOF
>     /Helvetica-Bold ISOF
>     /Helvetica-BoldOblique ISOF
>     /Helvetica-Narrow ISOF
>     /Helvetica-Narrow-Bold ISOF
>     /Helvetica-Narrow-BoldOblique ISOF
>     /Helvetica-Narrow-Oblique ISOF
>     /Helvetica-Oblique ISOF
>     /NewCenturySchlbk-Bold ISOF
>     /NewCenturySchlbk-BoldItalic ISOF
>     /NewCenturySchlbk-Italic ISOF
>     /NewCenturySchlbk-Roman ISOF
>     /Palatino-Bold ISOF
>     /Palatino-BoldItalic ISOF
>     /Palatino-Italic ISOF
>     /Palatino-Roman ISOF
>     /Symbol findfont
> 
> ] D
> /SF {
>      F exch get exch scalefont setfont
>  testString stringwidth pop div
>      currentfont [1 0 0 -1 0 0]makefont exch scalefont setfont} BD
> %%EndProlog
> %%BeginSetup
> << /NumCopies 1 >> setpagedevice
> %%EndSetup
> %%Page: 1 1
> << /PageSize [612.0 792.0] /ImagingBBox null /ManualFeed false  >> setpagedevice
> /pgSave save def
> 792.0 0 exch translate 1 -1 scale[72 300 div 0 0 72 300 div 0 0]concat
> 1.0 setgray
> gsave
> [4.166666666666667 0.0 0.0 4.166666666666667 -0.0 -0.0] concat
> newpath
> 16.999329 0.0 moveto
> 612.0 0.0 lineto
> 612.0 792.0 lineto
> 16.999329 792.0 lineto
> 16.999329 0.0 lineto
> closepath
> clip
> newpath
> 0.0 0.0 moveto
> 595.0 0.0 lineto
> 595.0 842.0 lineto
> 0.0 842.0 lineto
> 0.0 0.0 lineto
> closepath
> fill
> newpath
> 149.0 134.0 moveto
> 546.0 134.0 lineto
> 546.0 600.0 lineto
> 149.0 600.0 lineto
> 149.0 134.0 lineto
> closepath
> fill
> grestore
> gsave
> 
> > Anonymous wrote:
> > >
> > > We can´t post a URl because we use jasperreport and the work this in our  intranet
> > >
> > > > Anonymous wrote:
> > > > >
> > > > > Hello
> > > > > We are using a Xerox workcentre 220 and 555 and in the menu we put like sizePage A4
> > > > >
> > > > > > Anonymous wrote:
> > > > > > >
> > > > > > > We´ve 2 printers Xerox and they are configuration in size a4 but when we print, the printer no works because it need size letter.
> > > > > > >
> > > > > > > Why?
> > > > > >
> > > > > > You don't tell us what printers you use, but the Xerox printers I know require the input
> > > > > > bins to be properly configured according to media size and -type. Look into the
> > > > > > printer's configuration menus.
> > > > > >
> > > > > > Helge
> > > > > >
> > > >
> > > > It may be that the print jobs itself define letter media size. Perhaps your could post (an URL to)
> > > > a sample job for me (us) to have a look into?
> > > >
> > > > Helge
> > > >
> >
> > Then drop me the sample fila as an e-mail attachment to
> >       h.blischkeATsrzDOTde
> >
> > Helge
> >
> > --
> > Helge Blischke
> > Softwareentwicklung
> > SRZ Berlin | Firmengruppe besscom
> > http://www.srz.de

Well, it's just what I suspected: the statement


<< /PageSize [612.0 792.0] /ImagingBBox null /ManualFeed false  >> setpagedevice

clearly sets the media size to letter. You need to change the preferences of the
application that creates this sort of PS job.

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list