![]() |
Here a a couple of solutions that came from the list. I suspect they are in the mail archive. : Subject: FrameMaker ps file Solution! : Date: Mon, 14 Apr 1997 18:44:35 JST : From: "Andrew S. Howell" <andy@tibco.com> : : I finally got FrameMaker PS documents to work with gs 4.03. This is a : bit of a hack, but it works. : : FrameMaker docs want to set there own size when they print. This : causes problems because the page comes out 1734 pixles wide, instead : of 1728. Fixing involves changing ps2fax to use -dFIXEDMEDIA, the tail : end of which now look like: : : a$CAT $fil | $PS -q \ : -sDEVICE=$device \ : -dNOPAUSE \ : -dSAFER=true \ : -sPAPERSIZE=$paper \ : -dFIXEDMEDIA \ : -r204x$vres \ : "-sOutputFile=$out" \ : - : With this alone though, FrameMaker docs just spit out a message that : they can't set the page size. I then I added the following to gs_init.ps: : : % Ignore PageSize change requests. This is to make FrameMaker documents : % work with Hylafax. ps2fax needs -dFIXEDMEDIA as well. : << /Policies << /PageSize 1 >> >> setpagedevice : : Since gs looks for its files in the current directory, I copied : gs_init.ps to where I have my Hylafax installed. In my case, : /var/spool/fax. This way my kludge won't interfere with other uses of : gs. When ps2fax runs, the current directory is /var/spool/fax : : Having done that, FrameMaker 4.0 and 5.0 documents that were formated : for letter size come out just fine. Horraaaayyyy! : : Andy : : Date: Wed, 13 Aug 1997 12:21:25 -0400 : From: Jon Earle <jearle@hubcc.ca> : Subject: flexfax: FIX for the PAGEWIDTH (Pixelsize) Problem : : in the PS2FAX file, modify the last portion of the script which tosses the : file off to Ghostscript as follows: : : Change the first line of this from: : : $CAT $fil | $PS -q \ : : to: : $CAT $fil | $SED -e 's/dup \/PageSize \[612 792\] put//g' | $PS -q \ : : This removes the pagesize info from the postscript file, and all seems to : work fine thereafter. : : NOTE: This works on OUR system which is Linux kernel 2.0.29, HylaFAX : 4.0pl1, WHFC client .3e. We take no responsibility if this sends obnoxious : X-Rated faxes to the White House or other such nonsense. : : Cheers! : Jon On Mon, 27 Oct 1997, Alan Sparks wrote: > Think I'm losing my mind here, with these "Client does not support document > page width, max remote page width 1728 pixels, image width 1734 pixels" > messages! > > I'm trying to send docs out of MS Word, trying a variety of PostScript > drivers. > I've tried at least the following: > * HP LaserJet 4/4M PS > * AST TurboLazer PS > * Apple Laserwriter > > Checking what's running inside of ps2fax, I am running the command (after > variable substitution): > > cat docq/doc71.ps.63 | gs -q -sDEVICE=tiffg3 -dNOPAUSE \ > -dSAFER=true -sPAPERSIZE=a4 -r204x98 \ > "-sOutputFile=docq/doc71.ps;00" - > > I've checked script options, which seem to show that the expected dimensions > are indeed 1728x297. > > All of which leaves me with a TIFF file, about which tiffinfo says: > Image Width: 1734 Image Length 1078 > Resolution: 204, 98 pixels/inch > Bits/Sample: 1 > Software: "Alladin Ghostscript 5.03" > Group 3 Options: EOL padding (4 = 0x4) > ... etc ... > > How the devil do you get 1728 pixels wide out of this stupid thing? > Thanks in advance for any advice. > -Alan > > --------- > Alan Sparks, IS Engineering Support <asparks@harris.com> > Harris Network Support Systems, Camarillo CA (805) 389-2430 > > > -- Tim Rice Multitalents (707) 887-1469 (voice) tim@trr.metro.net