Xerox print in size letter

Anonymous anonymous at easysw.com
Tue Mar 21 00:18:41 PST 2006


We have changed the configuration of ghostcript
http://www.cs.wisc.edu/~ghost/doc/gnu/7.05/Use.htm#Change_default_size

We have changed the configuration of
/etc/a2ps-site.cfg
/etc/pbm2ppa.conf &
/etc/pnm2ppa.conf

bellow I show you the log cups and the spool work

please I am desperate.

any Idea?

PD: my SO is Red Hat enterprise 3 update 6


log cups=

D [17/Mar/2006:09:28:28 +0100] [Job 22] Page = 595x842; 11,11 to 584,831
D [17/Mar/2006:09:28:28 +0100] [Job 22] slowcollate=0, slowduplex=0,
sloworder=0
D [17/Mar/2006:09:28:28 +0100] [Job 22] 0 %%BeginProlog
D [17/Mar/2006:09:28:28 +0100] [Job 22] 0 %%EndProlog
D [17/Mar/2006:09:28:28 +0100] [Job 22] 0 %%BeginSetup
D [17/Mar/2006:09:28:28 +0100] [Job 22] 0 %%EndSetup
D [17/Mar/2006:09:28:28 +0100] [Job 22] 0 %%Page: 1 1
D [17/Mar/2006:09:28:28 +0100] [Job 22] 0 %%Page: 1 1
D [17/Mar/2006:09:28:28 +0100] [Job 22] pw = 572.3, pl = 819.3
D [17/Mar/2006:09:28:28 +0100] [Job 22] PageLeft = 11.3, PageRight = 583.7
D [17/Mar/2006:09:28:28 +0100] [Job 22] PageTop = 830.7, PageBottom = 11.3
D [17/Mar/2006:09:28:28 +0100] [Job 22] PageWidth = 595.0, PageLength = 842.0
D [17/Mar/2006:09:28:28 +0100] [Job 22] 0 %%EOF
D [17/Mar/2006:09:28:28 +0100] [Job 22] Saw EOF!
D [17/Mar/2006:09:28:28 +0100] [Job 22] Connected on ports 515 (local 1023)...
D [17/Mar/2006:09:28:28 +0100] [Job 22] lpd_command 02 lp
D [17/Mar/2006:09:28:28 +0100] [Job 22] Sending command string (4 bytes)...
D [17/Mar/2006:09:28:28 +0100] [Job 22] Reading command status...
D [17/Mar/2006:09:28:28 +0100] [Job 22] lpd_command returning 0
D [17/Mar/2006:09:28:28 +0100] [Job 22] Control file is:
D [17/Mar/2006:09:28:28 +0100] [Job 22] Hsamd01x
D [17/Mar/2006:09:28:28 +0100] [Job 22] Ptomcat
D [17/Mar/2006:09:28:28 +0100] [Job 22] JJava Printing
D [17/Mar/2006:09:28:28 +0100] [Job 22] ldfA473samd01x
D [17/Mar/2006:09:28:28 +0100] [Job 22] UdfA473samd01x
D [17/Mar/2006:09:28:28 +0100] [Job 22] NJava Printing
D [17/Mar/2006:09:28:28 +0100] [Job 22] lpd_command 02 77 cfA473samd01x
D [17/Mar/2006:09:28:28 +0100] [Job 22] Sending command string (18 bytes)...
D [17/Mar/2006:09:28:28 +0100] [Job 22] Reading command status...
D [17/Mar/2006:09:28:28 +0100] [Job 22] lpd_command returning 0
D [17/Mar/2006:09:28:28 +0100] [Job 22] lpd_command 03 145992 dfA473samd01x
D [17/Mar/2006:09:28:28 +0100] [Job 22] Sending command string (22 bytes)...
D [17/Mar/2006:09:28:28 +0100] [Job 22] Reading command status...
D [17/Mar/2006:09:28:28 +0100] [Job 22] lpd_command returning 0
D [17/Mar/2006:09:28:29 +0100] UpdateJob: job 22, file 0 is complete.
D [17/Mar/2006:09:28:29 +0100] CancelJob: id = 22
D [17/Mar/2006:09:28:29 +0100] StopJob: id = 22, force = 0
D [17/Mar/2006:09:28:29 +0100] StopJob: printer state is 3





work


%!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
/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
newpath
620.8334 558.3333 moveto
620.8334 2500.0 lineto
2275.0 2500.0 lineto
2275.0 558.3333 lineto



> << /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