Posted by
ChrisKeran on
URL: http://spssx-discussion.165.s1.nabble.com/Page-Break-in-Spss-tp1078463p5740352.html
Hi Jon,
Thank you for sharing your .sbs script file, however the page break gets
deleted when I remove all logs and wondering if you have a suggestion?
Background: when I remove all logs using SPSSINC MODIFY OUTPUT syntax (see
below) and then run the OUTPUT EXPORT syntax (see below) the symbol ">>"
still appears in the Output navigation pane, but the page break is gone when
opening the subsequent .doc file. However, if I run the OUTPUT EXPORT syntax
with EXPORT=ALL, then it correctly keeps the page breaks BUT IT KEEPS ALL
the ugly command syntax too.
Wondering if you have a suggestion?
FYI, Title and Subtitle are no good because only allow 60 characters each,
so I'm using the TEXT command instead, and this remains visible after
removing the logs, but the page breaks do not remain after removing the
logs.
*Remove log text.
SPSSINC MODIFY OUTPUT LOGS
/IF
PROCESS=ALL
/REPLACE ITEMS
/VISIBILITY VISIBLE=FALSE.
* Export Output.
OUTPUT EXPORT
/CONTENTS EXPORT=VISIBLE LAYERS=PRINTSETTING MODELVIEWS=PRINTSETTING
/DOC DOCUMENTFILE='K:\CEA\MI\CURRENT PROJECTS\DATA\2021 Continuum
Subscriber Report\03 Report\SPSS Output\ResultsB.doc'
NOTESCAPTIONS=YES WIDETABLES=ASIS PAGEBREAKS=YES
PAGESIZE=INCHES(8.5, 11.0) TOPMARGIN=INCHES(1.0)
BOTTOMMARGIN=INCHES(1.0)
LEFTMARGIN=INCHES(1.0) RIGHTMARGIN=INCHES(1.0).
Thanks,
Chris
--
Sent from:
http://spssx-discussion.1045642.n5.nabble.com/=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD