|
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 |
|
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 |
|
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 P: +31 20 522 5738 New Windows 7: Simplify what you do everyday. Find the right PC for you. |
|
In reply to this post by Lars Balzer
|
|
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
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 |
|
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
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 |
|
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 |
| Free forum by Nabble | Edit this page |
