NetBSD Problem Report #15504

Received: (qmail 25640 invoked from network); 6 Feb 2002 02:53:46 -0000
Message-Id: <200202060253.g162rcf05630@fnord.fnord>
Date: Tue, 5 Feb 2002 20:53:38 -0600 (CST)
From: dokas@cs.umn.edu
Reply-To: dokas@cs.umn.edu
To: gnats-bugs@gnats.netbsd.org
Subject: package print/mpage does not obey PAPERSIZE in /etc/mk.conf
X-Send-Pr-Version: 3.95

>Number:         15504
>Category:       pkg
>Synopsis:       package print/mpage does not obey PAPERSIZE in /etc/mk.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 06 02:54:01 +0000 2002
>Closed-Date:    Sat Feb 16 01:22:35 +0000 2002
>Last-Modified:  Sat Feb 16 01:22:35 +0000 2002
>Originator:     Paul Dokas
>Release:        NetBSD 1.5ZA
>Organization:
fnord
>Environment:
System: NetBSD fnord.fnord 1.5ZA NetBSD 1.5ZA (FNORD) #2: Wed Jan 30 22:03:10 CST 2002 root@fnord.fnord:/usr/src/sys/arch/i386/compile/FNORD i386
Architecture: i386
Machine: i386
>Description:

	The package print/mpage does not obey the default paper size as set
	in /etc/mk.conf with this:

	  PAPERSIZE=Letter

	It's builtin default is A4, which doesn't work so well on printers
	filled with Letter size paper.

>How-To-Repeat:

	Build print/mpage and print something to a printer filled with Letter
	size paper.

>Fix:

	I don't really know.  Perhaps it would be possible to replace line 47
	of mpage's Makefile with this:

	  PAGESIZE=$PAPERSIZE

	if $PAPERSIZE is set?

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wiz 
State-Changed-When: Fri Feb 15 17:22:03 PST 2002 
State-Changed-Why:  
I added some code to support PAPERSIZE=Letter in mpage. 
Look for Makefile v1.8, patch-aa v1.4. 
Thanks for the PR. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.