Date: Tue, 9 Apr 2002 21:52:08 +0200
Reply-To: Andreas Grueninger <grueninger@IBGRUENINGER.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Andreas Grueninger <grueninger@IBGRUENINGER.DE>
Organization: T-Online
Subject: Re: ODS printer to PS file...
Content-Type: text/plain; charset=ISO-8859-1
Does the error occur too if you don't output directly in the hot folder of
Acrobat distiller?
Try to write first in another directory and copy then the output into the
hot folder.
This worked for me:
options fmtsearch=(sasuser)
symbolgen mautosource sasautos=(cmacros,sasautos)
center nodate nonumber orientation=landscape papersize=legal
leftmargin=.25 topmargin=.25 bottommargin=.25;
ods _ALL_ close;
ods ps style=minSmall
file="c:\my sas files\pdf output\in\High.ps";
proc report data=sasuser.class nowd;
run;
ods printer close;
options notes;
"Mark Mullins" <mlmullins@bbandt.com> schrieb im Newsbeitrag
news:e28f1869.0204090749.77a13945@posting.google.com...
> Somebody please help....
> I am trying to print the results of a proc report to a ps file so that
> Acrobat Distiller can convert to PDF file in landscape mode.... see
> below.
>
> options fmtsearch=(sasuser)
> symbolgen mautosource sasautos=(cmacros,sasautos)
> center nodate nonumber orientation=landscape papersize=legal
> leftmargin=.25 topmargin=.25 bottommargin=.25;
>
> ods trace on;
> ods listing close;
> ods printer
> style=minSmall
> file="c:\my sas files\pdf output\in\High.ps";
>
> proc report.....;
>
> ods printer close;
>
> I am getting a successful log:
>
> ODS PRINTER printed 19 pages to c:\my sas files\pdf output\in\High.ps.
>
> But, Acrobat Distiller tells me that:
>
> Start Time: Tuesday, April 09, 2002 at 11:46 AM
> Destination: C:\My SAS Files\PDF Output\out\High.pdf
> Source: High.ps
> %%[ Error: syntaxerror; OffendingCommand: ) ]%%
> %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
> %%[ Warning: PostScript error. No PDF file produced. ] %%
> Distill Time: 0 seconds (00:00:00)
> **** End of Job ****
>
> Any insight would be greatly appreciated. Thanks!
>
> Mark Mullins
> Portfolio Administration
> BB&T - Small Business Banking
> mailto:mlmullins@bbandt.com
|