Resolving HP4050n US Letter PPD print defaults on OpenIndiana

For printing on my home office network, I still use the native Solaris printmgr application, not really having the need to go with CUPS – as my printing needs are very basic. One major annoyance I have found however was the insistence of the system to always print pages formatted for US Letter, despite application defaults seemingly set to A4. Needless to say, this results in craptastic-looking output.

Turns out that a manual edit of the PPD supplying the print defaults for my HP LaserJet 4050n did the trick.

At /etc/lp/ppd/hp4050n.ppd, I simply changed this entry:

*% ===================================
*%           Paper Sizes
*% ===================================
*OpenUI *PageSize: PickOne
*OrderDependency: 30 AnySetup *PageSize
*DefaultPageSize: Letter

To this:

*% ===================================
*%           Paper Sizes
*% ===================================
*OpenUI *PageSize: PickOne
*OrderDependency: 30 AnySetup *PageSize
*DefaultPageSize: A4

Et voila, printed pages looking as they should do.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s