Problems exporting Output to PDF and to HTML
Posted by
Art Kendall on
URL: http://spssx-discussion.165.s1.nabble.com/Problems-exporting-Output-to-PDF-and-to-HTML-tp5740741.html
I have a Codebook output that looks okay on the screen.
codebook.spvIn PDF it fits it onto a half-page vertically.
Codebook.pdfIn HTML it right justifies the rightmost column, otherwise, it puts the whole table on a page.
Codebook.htmThe syntax,
Title 'XYZ Codebook to help in creating new data gathering and analysis'.
DATASET ACTIVATE DataSet1.
SORT VARIABLES BY ATTRIBUTE Var.Grouping.
CODEBOOK Type_Bath
/VARINFO LABEL TYPE MEASURE ROLE ATTRIBUTES VALUELABELS MISSING
/STATISTICS NONE.
OUTPUT MODIFY
/SELECT TABLES
/TABLECELLS SELECT=["Value"]
SELECTDIMENSION=COLUMNS
COLUMNWIDTH =POINTS(5)
APPLYTO=COLUMNDATA.
* Export Output.
OUTPUT EXPORT
/CONTENTS EXPORT=VISIBLE LAYERS=PRINTSETTING MODELVIEWS=PRINTSETTING
/PDF DOCUMENTFILE='C:\Users\Art\Desktop\Codebook.pdf'
EMBEDBOOKMARKS=YES EMBEDFONTS=YES.
* Export Output.
OUTPUT EXPORT
/CONTENTS EXPORT=VISIBLE LAYERS=PRINTSETTING MODELVIEWS=PRINTSETTING
/HTML DOCUMENTFILE='C:\Users\Art\Desktop\Codebook.htm'
NOTESCAPTIONS=YES INTERACTLAYERS=NO STYLING=NO IMAGEFORMAT=JPG
/JPG PERCENTSIZE=100 GRAYSCALE=NO.
Art Kendall
Social Research Consultants