Where are paper sizes stored?

Joined
Oct 7, 2009
Messages
6
Reaction score
0
Points
1
I'd like to have a custom paper size show up in the "Default Paper Size in Page Setup" pull down menu in the "Print & Fax" preferences pane of Leopard. All I get are a few defaults.

Is there a place in the OS where these default paper sizes are stored so I can duplicate one and hack it to what I want?
 
OP
N
Joined
Oct 7, 2009
Messages
6
Reaction score
0
Points
1
I found the PrintCore Resources folder, which contains PaperNames.strings and PaperInfo.xml, but it's very cryptic. I'll have to figure out the system. Also, it looks to be read only... hmmm. Any help is appreciated.
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
Without that option being included in your printer driver software, it's going to be next to impossible to sort out the sizes and change them from the Printcore Resources Folder.

Which printer are you using?

Regards.
 
OP
N
Joined
Oct 7, 2009
Messages
6
Reaction score
0
Points
1
Got it!!!!!

Nothing's impossible.

1. Locate this file: "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/Resources/PaperInfo.xml"

2. Make a backup in case you screw up. It's not my fault if you do either.

3. Make a copy on your Desktop.

4. Open the copy in TextEdit.

5. Make a new entry like the others, don't copy from here:
Code:
	<key>com.apple.print.subTicket.paper_info_ticket 2</key>
	<dict>
		<key>PMPPDPaperCodeName</key>
		<string>Half Letter</string>
		<key>PMTiogaPaperName</key>
		<string>Half Letter</string>
		<key>com.apple.print.PaperInfo.PMPaperName</key>
		<string>Half Letter</string>
		<key>com.apple.print.PaperInfo.PMUnadjustedPageRect</key>
		<array>
			<real>0.0</real>
			<real>0.0</real>
			<real>360</real>
			<real>576</real>
		</array>
		<key>com.apple.print.PaperInfo.PMUnadjustedPaperRect</key>
		<array>
			<real>-18</real>
			<real>-18</real>
			<real>378</real>
			<real>594</real>
		</array>
		<key>com.apple.print.PaperInfo.ppd.PMPaperName</key>
		<string>Half Letter</string>
		<key>com.apple.print.ticket.APIVersion</key>
		<string>01.00</string>
		<key>com.apple.print.ticket.type</key>
		<string>com.apple.print.PaperInfoTicket</string>
	</dict>

6. Change the "<real>###</real>" values to suit you. The first two I didn't touch. The next two are the dimensions inside the margins. The next two are the margins. The final two are the dimensions outside the margins. I don't know what units these are but shown here is 5.5x8.5" with 0.25" margins.

7. Change the order if desired. I made mine second.

8. Copy back to original folder and authenticate with master password.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top