如何在打印时使Core Data Model Picture适合1页?

时间:2021-10-30 21:15:55

Ok, embarrassing, there must be an easy way - I have a Core Data model diagram that I want to print - printing is easy, but it pushes it over 4 pages which is difficult to carry around as a handy reference - how do I get it to shrink it onto 1 page?

好吧,令人尴尬的是,必须有一个简单的方法 - 我有一个我想要打印的核心数据模型图 - 打印很容易,但它推送它超过4页,这很难随身携带作为一个方便的参考 - 我怎么得到它将它缩小到1页?

5 个解决方案

#1


-2  

And if you're not on Xcode 4, you have to resort to n-up printing in preview and copy-pasting (the involving scissors kind) the pages together. The support for page setup was lost somewhere around Xcode 3.1.

如果你不在Xcode 4上,你必须在预览和复制粘贴(涉及剪刀类型)页面上使用n-up打印。 Xcode 3.1周围的页面设置支持丢失了。

#2


45  

I defined a 1m by 1m paper size, used it to create a PDF, cropped and then printed it:

我定义了1米乘1米的纸张尺寸,用它来创建PDF,裁剪然后打印出来:

  • Go to "File"->"Page Setup…"
  • 转到“文件” - >“页面设置...”
  • Go to "Paper Size"->"Manage Custom Sizes…"
  • 转到“纸张尺寸” - >“管理自定义尺寸......”
  • Define a new paper size with 1000x1000 mm and no borders
  • 定义1000x1000 mm且没有边框的新纸张尺寸
  • Go to "File"->"Print…"
  • 转到“文件” - >“打印...”
  • Choose "PDF"->"Open PDF in Preview"
  • 选择“PDF” - >“在预览中打开PDF”
  • Go to "Tools"->"Rectangular Selection", select the area to crop
  • 转到“工具” - >“矩形选择”,选择要裁剪的区域
  • Do "Tools"->"Crop"
  • 做“工具” - >“裁剪”
  • Go to "File"->"Print…", print
  • 转到“文件” - >“打印...”,打印

Sounds complicated, but works. Instead of cropping, you could use the scale factor in the Preview print dialog.

听起来很复杂,但很有效。您可以在“预览打印”对话框中使用比例因子,而不是裁剪。

#3


3  

I ran into the same problem described above, where the zoom didn't really seem to work well much below about 70-80%. I found that if (in XCode 4) you go to File->Page Setup, then choose a different size of paper that the model will fit onto 1 page (I chose A3). Then go to File->Print but instead of printing the document, choose "Save PDF". Then view the resulting PDF file using Preview, and print from there: Preview will allow you to scale the image in the Print dialog so that it fits on whatever size paper your printer supports.

我遇到了上面描述的相同问题,其中缩放似乎并没有真正低于约70-80%。我发现如果(在XCode 4中)你进入文件 - >页面设置,然后选择一个不同尺寸的纸张,模型将适合1页(我选择了A3)。然后转到文件 - >打印,但不是打印文档,而是选择“保存PDF”。然后使用预览查看生成的PDF文件,并从那里打印:预览将允许您在“打印”对话框中缩放图像,使其适合您的打印机支持的任何尺寸的纸张。

#4


1  

I tried this in XCode 4 - as mentioned, there is a "Page Setup" with Zoom option - however it seems to be limited - any zoom level below 70% seems to produce inconsistent results: either it thinks that it now fits on a single page, but parts are cut off, or it doesn't actually decrease the zoom an further as you request smaller percentages....

我在XCode 4中试过这个 - 如上所述,有一个带有缩放选项的“页面设置” - 但似乎有限 - 任何低于70%的缩放级别似乎都会产生不一致的结果:要么它认为它现在适合单个页面,但部分被切断,或实际上并没有进一步降低缩放,因为你要求更小的百分比....

#5


0  

It's a little counter-intuitive, but in XCode (4) whilst viewing your data model go to File->Page Setup, which will let you adjust the zoom level.

这有点违反直觉,但在XCode(4)中查看数据模型时,请转到文件 - >页面设置,这样可以调整缩放级别。

You can then go to print and check the zoom level is high enough to fit your diagram onto a single sheet.

然后,您可以进行打印并检查缩放级别是否足够高,以使您的图表适合单张纸张。

#1


-2  

And if you're not on Xcode 4, you have to resort to n-up printing in preview and copy-pasting (the involving scissors kind) the pages together. The support for page setup was lost somewhere around Xcode 3.1.

如果你不在Xcode 4上,你必须在预览和复制粘贴(涉及剪刀类型)页面上使用n-up打印。 Xcode 3.1周围的页面设置支持丢失了。

#2


45  

I defined a 1m by 1m paper size, used it to create a PDF, cropped and then printed it:

我定义了1米乘1米的纸张尺寸,用它来创建PDF,裁剪然后打印出来:

  • Go to "File"->"Page Setup…"
  • 转到“文件” - >“页面设置...”
  • Go to "Paper Size"->"Manage Custom Sizes…"
  • 转到“纸张尺寸” - >“管理自定义尺寸......”
  • Define a new paper size with 1000x1000 mm and no borders
  • 定义1000x1000 mm且没有边框的新纸张尺寸
  • Go to "File"->"Print…"
  • 转到“文件” - >“打印...”
  • Choose "PDF"->"Open PDF in Preview"
  • 选择“PDF” - >“在预览中打开PDF”
  • Go to "Tools"->"Rectangular Selection", select the area to crop
  • 转到“工具” - >“矩形选择”,选择要裁剪的区域
  • Do "Tools"->"Crop"
  • 做“工具” - >“裁剪”
  • Go to "File"->"Print…", print
  • 转到“文件” - >“打印...”,打印

Sounds complicated, but works. Instead of cropping, you could use the scale factor in the Preview print dialog.

听起来很复杂,但很有效。您可以在“预览打印”对话框中使用比例因子,而不是裁剪。

#3


3  

I ran into the same problem described above, where the zoom didn't really seem to work well much below about 70-80%. I found that if (in XCode 4) you go to File->Page Setup, then choose a different size of paper that the model will fit onto 1 page (I chose A3). Then go to File->Print but instead of printing the document, choose "Save PDF". Then view the resulting PDF file using Preview, and print from there: Preview will allow you to scale the image in the Print dialog so that it fits on whatever size paper your printer supports.

我遇到了上面描述的相同问题,其中缩放似乎并没有真正低于约70-80%。我发现如果(在XCode 4中)你进入文件 - >页面设置,然后选择一个不同尺寸的纸张,模型将适合1页(我选择了A3)。然后转到文件 - >打印,但不是打印文档,而是选择“保存PDF”。然后使用预览查看生成的PDF文件,并从那里打印:预览将允许您在“打印”对话框中缩放图像,使其适合您的打印机支持的任何尺寸的纸张。

#4


1  

I tried this in XCode 4 - as mentioned, there is a "Page Setup" with Zoom option - however it seems to be limited - any zoom level below 70% seems to produce inconsistent results: either it thinks that it now fits on a single page, but parts are cut off, or it doesn't actually decrease the zoom an further as you request smaller percentages....

我在XCode 4中试过这个 - 如上所述,有一个带有缩放选项的“页面设置” - 但似乎有限 - 任何低于70%的缩放级别似乎都会产生不一致的结果:要么它认为它现在适合单个页面,但部分被切断,或实际上并没有进一步降低缩放,因为你要求更小的百分比....

#5


0  

It's a little counter-intuitive, but in XCode (4) whilst viewing your data model go to File->Page Setup, which will let you adjust the zoom level.

这有点违反直觉,但在XCode(4)中查看数据模型时,请转到文件 - >页面设置,这样可以调整缩放级别。

You can then go to print and check the zoom level is high enough to fit your diagram onto a single sheet.

然后,您可以进行打印并检查缩放级别是否足够高,以使您的图表适合单张纸张。