changing output settings for pdf-export

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

changing output settings for pdf-export

Lars Balzer
Hi again

In the meantime I have my syntax which produces more than hundred
pdf-files, one for each group in my dataset, that is fine (thanks again
to all who have helped me with good ideas, especially Ruben :-))

No I try the last fine-tuning:
I am using output export for my pdf-export, but unfortunately I can not
adjust the margins and I would like to print in landscape format. Help
tells me that this is possible in the Word-export, but for pdf these
settings are taken from the printer. But: Is there a solution to do this
with syntax? And then - ok dreaming - I would love to insert a footnote,
perhaps a logo, in each pdf... Do I have some more control about the
pdf-output?

Any ideas?

Best,
  Lars

=====================
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
Reply | Threaded
Open this post in threaded view
|

Re: changing output settings for pdf-export

Lars Balzer
To write it a bit more precisely:

Printing options for pdf are taken from the "page setup" as help mentions.
Where can I adjust them, except for the menu which gives me no "paste to
syntax" and no entry in the log.

Just forget the footnote stuff... ;-)

Any ideas someone?

Best,
  Lars


> Hi again
>
> In the meantime I have my syntax which produces more than hundred
> pdf-files, one for each group in my dataset, that is fine (thanks again
> to all who have helped me with good ideas, especially Ruben :-))
>
> No I try the last fine-tuning:
> I am using output export for my pdf-export, but unfortunately I can not
> adjust the margins and I would like to print in landscape format. Help
> tells me that this is possible in the Word-export, but for pdf these
> settings are taken from the printer. But: Is there a solution to do this
> with syntax? And then - ok dreaming - I would love to insert a footnote,
> perhaps a logo, in each pdf... Do I have some more control about the
> pdf-output?
>
> Any ideas?
>
> Best,
>  Lars

=====================
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
Reply | Threaded
Open this post in threaded view
|

SPSS 17.03: keyboard shortcuts sometimes don't work

Ruben Geert van den Berg
Dear all,
 
Sometimes (but not always) keyboard shortcuts seem to be ignored by SPSS 17.03. For instance, CTRL + C in variable view or CTRL + Z in the syntax window. Does anyone have any idea what I'm doing wrong?
 
TIA!

Ruben van den Berg

Methodologist

TNS NIPO

E: [hidden email]

P: +31 20 522 5738

I: www.tns-nipo.com




New Windows 7: Simplify what you do everyday. Find the right PC for you.
Reply | Threaded
Open this post in threaded view
|

Re: changing output settings for pdf-export

Albert-Jan Roskam
In reply to this post by Lars Balzer
Hi,
 
Pdftk is a dos-based pdf toolkit that allows you to do all kinds of stuff with pdf files. Watermarks are possible. Not sure about margins, but I think it's worth checking out:
Maybe you could even use the HOST command to do the after-processing inside the macro.

Cheers!!
Albert-Jan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the face of ambiguity, refuse the temptation to guess.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--- On Wed, 2/10/10, Lars Balzer <[hidden email]> wrote:

From: Lars Balzer <[hidden email]>
Subject: Re: [SPSSX-L] changing output settings for pdf-export
To: [hidden email]
Date: Wednesday, February 10, 2010, 9:04 AM

To write it a bit more precisely:

Printing options for pdf are taken from the "page setup" as help mentions.
Where can I adjust them, except for the menu which gives me no "paste to
syntax" and no entry in the log.

Just forget the footnote stuff... ;-)

Any ideas someone?

Best,
  Lars


> Hi again
>
> In the meantime I have my syntax which produces more than hundred
> pdf-files, one for each group in my dataset, that is fine (thanks again
> to all who have helped me with good ideas, especially Ruben :-))
>
> No I try the last fine-tuning:
> I am using output export for my pdf-export, but unfortunately I can not
> adjust the margins and I would like to print in landscape format. Help
> tells me that this is possible in the Word-export, but for pdf these
> settings are taken from the printer. But: Is there a solution to do this
> with syntax? And then - ok dreaming - I would love to insert a footnote,
> perhaps a logo, in each pdf... Do I have some more control about the
> pdf-output?
>
> Any ideas?
>
> Best,
>  Lars

=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@... (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

Reply | Threaded
Open this post in threaded view
|

Re: changing output settings for pdf-export

Jon K Peck
In reply to this post by Lars Balzer

There is a scripting api for page setup options: SetPrintOptions.  It supports margins, orientation, page number, item spacing, and chart size.  There is no standard syntax for this, but it wouldn't be hard to build an extension command for these settings.

Jon Peck
SPSS, an IBM Company
[hidden email]
312-651-3435



From: Lars Balzer <[hidden email]>
To: [hidden email]
Date: 02/10/2010 01:08 AM
Subject: Re: [SPSSX-L] changing output settings for pdf-export
Sent by: "SPSSX(r) Discussion" <[hidden email]>





To write it a bit more precisely:

Printing options for pdf are taken from the "page setup" as help mentions.
Where can I adjust them, except for the menu which gives me no "paste to
syntax" and no entry in the log.

Just forget the footnote stuff... ;-)

Any ideas someone?

Best,
 Lars


> Hi again
>
> In the meantime I have my syntax which produces more than hundred
> pdf-files, one for each group in my dataset, that is fine (thanks again
> to all who have helped me with good ideas, especially Ruben :-))
>
> No I try the last fine-tuning:
> I am using output export for my pdf-export, but unfortunately I can not
> adjust the margins and I would like to print in landscape format. Help
> tells me that this is possible in the Word-export, but for pdf these
> settings are taken from the printer. But: Is there a solution to do this
> with syntax? And then - ok dreaming - I would love to insert a footnote,
> perhaps a logo, in each pdf... Do I have some more control about the
> pdf-output?
>
> Any ideas?
>
> Best,
>  Lars

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


Reply | Threaded
Open this post in threaded view
|

Re: changing output settings for pdf-export

Jon K Peck
In reply to this post by Lars Balzer

Here is sample code that you can include in your syntax stream to set some of the Page Setup values.  Note that margin values are in points.  72 points = 1 inch.  All the numbers must be in quotes.

begin program.
import SpssClient
SpssClient.StartClient()
doc = SpssClient.GetDesignatedOutputDoc()
doc.SetPrintOptions(SpssClient.PrintOptions.Orientation, '2') # landscape
doc.SetPrintOptions(SpssClient.PrintOptions.LeftMargin, '50') # values in points
doc.SetPrintOptions(SpssClient.PrintOptions.TopMargin, '50')
doc.SetPrintOptions(SpssClient.PrintOptions.RightMargin, '50')
doc.SetPrintOptions(SpssClient.PrintOptions.BottomMargin, '50')
SpssClient.StopClient()
end program.
Jon Peck
SPSS, an IBM Company
[hidden email]
312-651-3435



From: Lars Balzer <[hidden email]>
To: [hidden email]
Date: 02/10/2010 01:08 AM
Subject: Re: [SPSSX-L] changing output settings for pdf-export
Sent by: "SPSSX(r) Discussion" <[hidden email]>





To write it a bit more precisely:

Printing options for pdf are taken from the "page setup" as help mentions.
Where can I adjust them, except for the menu which gives me no "paste to
syntax" and no entry in the log.

Just forget the footnote stuff... ;-)

Any ideas someone?

Best,
 Lars


> Hi again
>
> In the meantime I have my syntax which produces more than hundred
> pdf-files, one for each group in my dataset, that is fine (thanks again
> to all who have helped me with good ideas, especially Ruben :-))
>
> No I try the last fine-tuning:
> I am using output export for my pdf-export, but unfortunately I can not
> adjust the margins and I would like to print in landscape format. Help
> tells me that this is possible in the Word-export, but for pdf these
> settings are taken from the printer. But: Is there a solution to do this
> with syntax? And then - ok dreaming - I would love to insert a footnote,
> perhaps a logo, in each pdf... Do I have some more control about the
> pdf-output?
>
> Any ideas?
>
> Best,
>  Lars

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


Reply | Threaded
Open this post in threaded view
|

Re: changing output settings for pdf-export

Lars Balzer
Dear all,

thanks to all how gave me good advice for my problem
"changing output settings for pdf-export"
I am big steps further now!

Best,
  Lars

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