badbenarnold

Q: What's the yosemite equivalent of PVImagePrintingScaleMode?

Hi!

I always print my PDF documents with a size of 100% in Preview. In osx prior to yosemite, I used defaults write how to set default paper print size to always 100% ?

 

defaults write com.apple.Preview PVImagePrintingScaleMode 0

 

It seems that this isn't working anymore. Is there a new setting or is this feature gone?

 

Thanks and Greetings

Ben

MacBook Air, OS X Yosemite (10.10)

Posted on Oct 27, 2014 1:23 PM

Close

Q: What's the yosemite equivalent of PVImagePrintingScaleMode?

  • All replies
  • Helpful answers

  • by benwiggy,

    benwiggy benwiggy May 18, 2015 11:03 AM in response to badbenarnold
    Level 4 (1,430 points)
    Mac OS X
    May 18, 2015 11:03 AM in response to badbenarnold

    I'm not sure that the setting has been removed, but I too used this command on my Macs before upgrading to Yosemite. However, it's stopped working on ONE of them, but not the other.

    I've tried trashing the Preview preferences and re-applying the command, but no luck. I even transplanted the Preview preference file from the computer where it worked to the other one. Again no luck.

  • by Old Toad,

    Old Toad Old Toad May 18, 2015 11:13 AM in response to badbenarnold
    Level 10 (140,898 points)
    Photos for Mac
    May 18, 2015 11:13 AM in response to badbenarnold
    It seems that this isn't working anymore

    Are you saying that you can't set the print scale in the Print window like this?

    Preview001.jpg

     

    OTsig.png

  • by benwiggy,

    benwiggy benwiggy May 18, 2015 11:55 AM in response to Old Toad
    Level 4 (1,430 points)
    Mac OS X
    May 18, 2015 11:55 AM in response to Old Toad

    No, of course the field is available.

     

    By default, Preview scales the image to fit the print margins, thereby usually reducing the image to 97%.

     

    The defaults write key is supposed to make Preview default to "Scale: 100%". It seems to have stopped working on some computers. I've seen other posts about it with no solutions.

     

    Currently, I have to manually set the scale to 100% every time I want to print, which is quite annoying.

  • by Knorke,

    Knorke Knorke Jul 6, 2015 12:19 PM in response to badbenarnold
    Level 1 (0 points)
    Jul 6, 2015 12:19 PM in response to badbenarnold

    Hi there, looks like Preview is sandboxed now. I manually added

    <key>PVImagePrintingScaleMode</key>

        <string>0</string>

    to /Users/you/Library/Containers/com.apple.Preview/Data/Library/Preferences/com.ap ple.Preview.plist. Restarted and bingo.

  • by benwiggy,

    benwiggy benwiggy Jul 6, 2015 12:45 PM in response to Knorke
    Level 4 (1,430 points)
    Mac OS X
    Jul 6, 2015 12:45 PM in response to Knorke

    Close, but no cigar. That location doesn't work for me, but:

     

    ~/Library/Group\ Containers/com.apple.Preview/Library/Preferences/com.apple.Preview.plist

     

    does work. Finally!

     

    You either have to restart or kill all the cfprefs processes.

  • by benwiggy,

    benwiggy benwiggy Jul 16, 2015 1:53 AM in response to benwiggy
    Level 4 (1,430 points)
    Mac OS X
    Jul 16, 2015 1:53 AM in response to benwiggy

    I've discovered a slightly easier method. It's best to modify any defaults write commands that you've been using to the following form:

     

    defaults write -app Preview PVImagePrintingScaleMode 0

     

    That will write the key and value to the correct preference file, wherever it is located.