From unknown Fri Jun 20 07:12:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#41613 <41613@debbugs.gnu.org> To: bug#41613 <41613@debbugs.gnu.org> Subject: Status: 26.1; ps-paper-type does not change page size Reply-To: bug#41613 <41613@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:12:41 +0000 retitle 41613 26.1; ps-paper-type does not change page size reassign 41613 emacs submitter 41613 Marvin G=C3=BClker severity 41613 normal tag 41613 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 30 10:45:05 2020 Received: (at submit) by debbugs.gnu.org; 30 May 2020 14:45:05 +0000 Received: from localhost ([127.0.0.1]:58880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jf2jQ-0003gW-6z for submit@debbugs.gnu.org; Sat, 30 May 2020 10:45:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:47952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jezD2-00041E-GZ for submit@debbugs.gnu.org; Sat, 30 May 2020 06:59:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jezD2-0008OI-1B for bug-gnu-emacs@gnu.org; Sat, 30 May 2020 06:59:24 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:9662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1jezCx-0004oY-RO for bug-gnu-emacs@gnu.org; Sat, 30 May 2020 06:59:22 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 49Yz2p2Fh6zKmpw for ; Sat, 30 May 2020 12:59:14 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=guelker.eu; s=MBO0001; t=1590836352; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5zCZjsksaj9PqUZxCF7UREz/VCJe9+irZXM5yIB7u6s=; b=eDdhLXgS4RyeSpaVa9OhGfFxB7upCV8PtRoFViE/uTH5HjKnylR6arxPLvyxmXYPh849aQ Ryf/mVvM4sy4Et/MSmPp/oyhhiVV6EO9hootDZ2CF79YCESNTzG1KwY0k96TCvLPdEPcy9 LXMjPnwttoCzir2pMga+rC6EtiuD8dgiyIkJKS4zcQaTbK/RJ9EBOaWnQkohXSFgx+05+Y nmkIagWmwtdWqjgr0kvHL9zEIIGdtH7diJb4L3LTu57Z/eYcNRjgiRKOcoj8EkY9ts1ASf tCFM9sUT6oL44Gt5RrFtAVCZmj6SlmBWPEftaCw6PhdMlCYSm7uelL3d51353A== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id w9maGdZ1C8IW for ; Sat, 30 May 2020 12:59:11 +0200 (CEST) Date: Sat, 30 May 2020 12:59:20 +0200 From: Marvin =?utf-8?Q?G=C3=BClker?= To: bug-gnu-emacs@gnu.org Subject: 26.1; ps-paper-type does not change page size Message-ID: <20200530105904.GA5177@atlantis> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 454B5168A X-Rspamd-Score: -5.23 / 15.00 / 15.00 Received-SPF: pass client-ip=80.241.56.151; envelope-from=post+ebugs@guelker.eu; helo=mout-p-101.mailbox.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/30 06:59:14 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 30 May 2020 10:45:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Dear Maintainers, setting the `ps-paper-type' variable and then calling `ps-print-buffer-with-faces' does not have an effect on the paper size of the page at all. It only affects the region in which the text drawn onto a standard-sized paper. For instance, if `ps-paper-size' is set to `diskette' (which is very small) the drawing area is confined to a very little region on the bottom-left of a full-size A4 paper sheet. I would have expected that setting `ps-paper-size' changes the actual paper size, not the drawing region, so that the resulting PS file has the dimensions of (in this example) `diskette'. To reproduce, create a file with several paragraphs of arbitrary text so it does not fit on one page of the chosen size. Then, start Emacs with emacs -Q and do the following: 1. Visit said file. 2. M-x set-variable ps-paper-type diskette 3. M-x set-variable ps-print-header nil ;; without this an error occurs 4. C-u M-x ps-print-buffer-with-faces result.ps Open the resulting PS file with ghostscript or convert it to PDF with ps2pdf. The text is drawn onto a very small region on the bottom-left of an A4 paper sheet. Instead, it should have been a very small page entirely. In GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2019-09-23, modified by Debian built on x86-grnet-01 Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Loading ps-print...done Formatting... 0% Collecting face information... Formatting...done Saving... Wrote /tmp/lorem.txt.ps [2 times] You can run the command ‘ps-print-buffer-with-faces’ with M-x -p-b-w RET Wrote /tmp/lorem.txt.ps Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs-StqULU/emacs-26.1+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LIBSYSTEMD LCMS2 Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils ps-mule cus-edit wid-edit ps-print ps-print-loaddefs ps-def lpr cus-start cus-load thingatpt help-fns radix-tree help-mode easymenu cl-loaddefs cl-lib elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 123627 9597) (symbols 48 22523 1) (miscs 40 48 140) (strings 32 34975 1605) (string-bytes 1 947501) (vectors 16 16544) (vector-slots 8 513820 7646) (floats 8 303 200) (intervals 56 268 0) (buffers 992 13)) From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 22 09:48:20 2020 Received: (at 41613) by debbugs.gnu.org; 22 Oct 2020 13:48:20 +0000 Received: from localhost ([127.0.0.1]:51860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVax1-0006Fo-Sq for submit@debbugs.gnu.org; Thu, 22 Oct 2020 09:48:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVax0-0006FY-7E for 41613@debbugs.gnu.org; Thu, 22 Oct 2020 09:48:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Encq4GEiYRESgWazOHVrQvt0WaMg0pVb4KBm2TxatlA=; b=OD//uclE6TLBkbxwjM2Pgrm1FP fJSYSxqev9OVTfkBsnZc+7ddYff7JTMZjMdgum2HS+l3SsqzQwPXdPcE09PFVU0daJgbIqrdmZjef Tn3ZWMxm8VRrxaZpWAMeyBf04l9bZhW0cJ6KS4HY71XnPm/wnugKE3UG0PN86/NgJiyM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVawr-00046c-Aq; Thu, 22 Oct 2020 15:48:12 +0200 From: Lars Ingebrigtsen To: Marvin =?utf-8?Q?G=C3=BClker?= Subject: Re: bug#41613: 26.1; ps-paper-type does not change page size References: <20200530105904.GA5177@atlantis> X-Now-Playing: Xiu Xiu's _Girl with Basket of Fruit_: "Girl With Basket of Fruit" Date: Thu, 22 Oct 2020 15:48:08 +0200 In-Reply-To: <20200530105904.GA5177@atlantis> ("Marvin =?utf-8?Q?G=C3=BClk?= =?utf-8?Q?er=22's?= message of "Sat, 30 May 2020 12:59:20 +0200") Message-ID: <87pn5al6cn.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Marvin Gülker writes: > setting the `ps-paper-type' variable and then calling > `ps-print-buffer-with-faces' does not have an effect on the paper size > of the page at all. It only affects the region in which the text draw [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41613 Cc: 41613@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Marvin G=C3=BClker writes: > setting the `ps-paper-type' variable and then calling > `ps-print-buffer-with-faces' does not have an effect on the paper size > of the page at all. It only affects the region in which the text drawn > onto a standard-sized paper. Yes, that's what it's documented to do: "Specify the size of paper to format for." It doesn't say anything about changing the paper size of the page. So I think Emacs behaves as advertised here, and I'm closing this bug report. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 22 09:48:28 2020 Received: (at control) by debbugs.gnu.org; 22 Oct 2020 13:48:28 +0000 Received: from localhost ([127.0.0.1]:51863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVax7-0006G8-2u for submit@debbugs.gnu.org; Thu, 22 Oct 2020 09:48:28 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVax5-0006Fh-UH for control@debbugs.gnu.org; Thu, 22 Oct 2020 09:48:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8JFBKPyhTSmpGatjruD60jsLZSfAv0Aeb6G12uwaHEQ=; b=gH+vrTqOt4jyzDS0yK2bh3HNZ2 sPycOfkpFaVuRWiI3WOyFbuBk//Hlhfrqb4nqBmcLOhUACy9ikhWrQ4dQ8B/rzo226WQxsJtxEE2E F+Dwrx/YzXrrjXaZlhdFnRtcFgAl6gKYyc4N9Uaw7dbIDn5ZaK9IWoAlEWGniGE7v7+w=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVawy-00046k-6F for control@debbugs.gnu.org; Thu, 22 Oct 2020 15:48:18 +0200 Date: Thu, 22 Oct 2020 15:48:14 +0200 Message-Id: <87o8kul6ch.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #41613 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 41613 notabug close 41613 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 41613 notabug close 41613 quit From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 22 21:58:27 2020 Received: (at 41613) by debbugs.gnu.org; 23 Oct 2020 01:58:27 +0000 Received: from localhost ([127.0.0.1]:54328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVmLb-0002Tm-De for submit@debbugs.gnu.org; Thu, 22 Oct 2020 21:58:27 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:44249) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVmLY-0002TY-Vv for 41613@debbugs.gnu.org; Thu, 22 Oct 2020 21:58:25 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id DADC95C00F2; Thu, 22 Oct 2020 21:58:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 22 Oct 2020 21:58:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenpoint.co.nz; h=to:cc:subject:references:from:date:in-reply-to:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= kLAttzn99IC2TTCfbSklw3sCQ6ZWh+kiOVYD56Ge5GY=; b=J8Dhkg/HEKudabbg Qb1n9Cb9vnNlKW7mRkV9Qy+tcAvK5HN0TaFYOgNh91K8hbd4inboOoVL5ECJQyOV XXBRZJkCmsyVZsFMUr4G1ruMKZsi7E3lb0o1vFN/hAAivwMBiLvKlw2AAo6hmbhm fyXu0R2XhNypX88E5E0lq+vVIuxalqlTBn64tLAoWTyEFt9Zd7D7U1Qr0wv40ivG rRNcufjhMbCFhm8Nq8wJGLVfnGOkxDtVnGCZHV3RCg8tg0Vs3r/2J4WcI/T3tiVw rVhJSJpbZS2ggX3ryMNCxqXSE8TvAL9hgGwuat+caDbjTJC9mf9fTyMw37aDTwIE auYV2Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=kLAttzn99IC2TTCfbSklw3sCQ6ZWh+kiOVYD56Ge5 GY=; b=d1AzswmvXf/Dh4yu9j4k2L7ah9zU333E4MDi4MP1hWIynUjK0FP1QOILO MYE7y1oEZB7Gpnm/ZmhO4geiMKtryFat0LPTVAcyXfAYUv6wCQYiGKUsY3i/Us3I r8RZZ/PKxGsUZ8+qtmuXddek3P43V2wcbbYFsDv6ttHDFrEtpxGB2qc8MP8FJriM RakHmSF3PnawZ8ayvo2I9/RM9/6zEw07EpOS5N/hpnOZlOaCOiUERrIRPpE/EJ1l jSLJZqcbNoEjMRUzXyG9NDKUkEI5QwdIY74Qo2mURsV7oqIAriRhgJQNP80HEi/q vG4Ux2YN0Gqp1wlhCE/T4ibSNS9YQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjeelgdehgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefvufhfhfffjgfkfgggtgfgsehtqhertddtreejnecuhfhrohhmpefpihgtkhcu jfgvlhhmuceonhhitghksehtvghnphhoihhnthdrtghordhniieqnecuggftrfgrthhtvg hrnhepveetieffudeuhedutefhheeukeeugedtjeelffejffeukeetfefhteetvddtgfeg necukfhppeduvdehrddvfeelrdduvddvrddvudefnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepnhhitghksehtvghnphhoihhnthdrtghordhn ii X-ME-Proxy: Received: from Nick-Macbook (125-239-122-213-vdsl.sparkbb.co.nz [125.239.122.213]) by mail.messagingengine.com (Postfix) with ESMTPA id 77E10328006A; Thu, 22 Oct 2020 21:58:16 -0400 (EDT) To: Lars Ingebrigtsen Subject: Re: bug#41613: 26.1; ps-paper-type does not change page size References: <20200530105904.GA5177@atlantis> <87pn5al6cn.fsf@gnus.org> From: Nick Helm Date: Fri, 23 Oct 2020 14:58:12 +1300 In-Reply-To: <87pn5al6cn.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 22 Oct 2020 15:48:08 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41613 Cc: 41613@debbugs.gnu.org, Marvin =?utf-8?Q?G=C3=BClker?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Lars Ingebrigtsen writes: > Marvin G=C3=BClker writes: > >> setting the `ps-paper-type' variable and then calling >> `ps-print-buffer-with-faces' does not have an effect on the paper size >> of the page at all. It only affects the region in which the text drawn >> onto a standard-sized paper. > > Yes, that's what it's documented to do: > > "Specify the size of paper to format for." > > It doesn't say anything about changing the paper size of the page. So I > think Emacs behaves as advertised here, and I'm closing this bug report. I've had a problem with this for years. Confusingly, ps-paper-type does seem to behave as you describe. But if=20 that's the case, how to actually set the page size of postscript output?=20 (and for clarity, by page size, I'm referring to the dimensions of the=20 white rectangle that sits behind the printed text, the digital analogue=20 of the bleached tree carcass that runs through the machine in the corner=20 of the office). From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 22 23:49:54 2020 Received: (at 41613) by debbugs.gnu.org; 23 Oct 2020 03:49:54 +0000 Received: from localhost ([127.0.0.1]:54426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVo5R-0007Nk-NU for submit@debbugs.gnu.org; Thu, 22 Oct 2020 23:49:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVo5Q-0007NY-HI for 41613@debbugs.gnu.org; Thu, 22 Oct 2020 23:49:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57580) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVo5L-0001LK-2W; Thu, 22 Oct 2020 23:49:47 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kVo5I-0004GO-Uo; Thu, 22 Oct 2020 23:49:45 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Lars Ingebrigtsen In-Reply-To: <87pn5al6cn.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 22 Oct 2020 15:48:08 +0200) Subject: Re: bug#41613: 26.1; ps-paper-type does not change page size References: <20200530105904.GA5177@atlantis> <87pn5al6cn.fsf@gnus.org> Message-Id: Date: Thu, 22 Oct 2020 23:49:44 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41613 Cc: 41613@debbugs.gnu.org, post+ebugs@guelker.eu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > "Specify the size of paper to format for." > It doesn't say anything about changing the paper size of the page. So I > think Emacs behaves as advertised here, and I'm closing this bug report. I agree that this isn't a bug in Emacs's code. But is the documentation perhaps prone to misunderstanding? Would clarifying it be useful? Pointing at where to get info about changing the paper size? -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 06:55:07 2020 Received: (at 41613) by debbugs.gnu.org; 23 Oct 2020 10:55:07 +0000 Received: from localhost ([127.0.0.1]:55487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVuix-00045R-HD for submit@debbugs.gnu.org; Fri, 23 Oct 2020 06:55:07 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVuiv-00044o-P3 for 41613@debbugs.gnu.org; Fri, 23 Oct 2020 06:55:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=D5LlGoqcWyvtwURbvqLe3vRz5XACo8NpfNAq/91XnbI=; b=c+enHXZLF4crhhrufar6g0m19q Rlz5i8NZbdMyQ8BqLc+7LIRG2wSkhChsZ97u2soJvJvaYxDQ+TRROj3IJBKTaVPLQKQr8VHQVGIo9 ocoDB288JSHJkZ4qoTIPq+DaOBrTr48vPHSwJkHWrp+qWVJ9LB8T8AyGU65RHw0Du62g=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVuij-0008QS-LQ; Fri, 23 Oct 2020 12:54:59 +0200 From: Lars Ingebrigtsen To: Nick Helm Subject: Re: bug#41613: 26.1; ps-paper-type does not change page size References: <20200530105904.GA5177@atlantis> <87pn5al6cn.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAM1BMVEVxcG2hoJ2qq6qx sK63t7bAwL3NzcyQj4v+/v7w8O7p6ejj4dxUUk4oJSJCPDeBfnn///+2wqZUAAAAAWJLR0QQlbIN LAAAAAd0SU1FB+QKFwoxNCwB8mIAAAExSURBVEjH3ZXbksMgCIYRCAgm2fd/2zWH7SQtMfWmM1tm Ym74OKm/ACnhwWgzftggB2NW4NxnQF8A4BeU9E8AM9uXAKDAvS7u2dwD5DWDW0kKY1pZvweqC4MS K1tIPAPVwRA8DzquvlbawOJUFDmT7zfrOce56W0w4pJJ5NFTI8MWDYXqJ9miFGdgc0GmXCeVlA9R QmDfKkucSMUNg5rOwP6vWsI1rtMxzAVQhuxK2abJ8j6oNiBUYNmLcYbEcgdsFSNmAxhVUe562I0R dZ4mlXI3pT8T0Hn+qRsYAaEIFF281uP31MKVahSt9VOQ4FJmLA2ZX1tu6ZKsJ+PlnjaErHjg31a+ SAYuAbtSjU8ImYf60wAEep7SzwCq0gfA2PFurRlg6AIKYl9JfXYEvLwB/AKj7EU9ED/pfQAAACV0 RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMC0yM1QxMDo0OTo1MiswMDowMJqz3/IAAAAldEVYdGRhdGU6 bW9kaWZ5ADIwMjAtMTAtMjNUMTA6NDk6NTIrMDA6MDDr7mdOAAAAAElFTkSuQmCC X-Now-Playing: Pregoblin's _Combustion_: "Combustion (The Chain Remix 7" Edit)" Date: Fri, 23 Oct 2020 12:54:52 +0200 In-Reply-To: (Nick Helm's message of "Fri, 23 Oct 2020 14:58:12 +1300") Message-ID: <87wnzhgqkj.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Nick Helm writes: > Confusingly, ps-paper-type does seem to behave as you describe. But if > that's the case, how to actually set the page size of postscript output? > (and for clarity, by page size, I'm referring to t [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41613 Cc: 41613@debbugs.gnu.org, Marvin =?utf-8?Q?G=C3=BClker?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Nick Helm writes: > Confusingly, ps-paper-type does seem to behave as you describe. But if > that's the case, how to actually set the page size of postscript output? > (and for clarity, by page size, I'm referring to the dimensions of the > white rectangle that sits behind the printed text, the digital analogue > of the bleached tree carcass that runs through the machine in the corner > of the office). To the best of my knowledge (which isn't very good in this area), Emacs doesn't have a way of actually controlling that. (Please somebody correct me if that's wrong). The support for printing from Emacs is unfortunately somewhat weak. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 10:01:31 2020 Received: (at 41613) by debbugs.gnu.org; 23 Oct 2020 14:01:31 +0000 Received: from localhost ([127.0.0.1]:57923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVxdK-0007U0-Sm for submit@debbugs.gnu.org; Fri, 23 Oct 2020 10:01:31 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:56556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVxdH-0007Tj-DV for 41613@debbugs.gnu.org; Fri, 23 Oct 2020 10:01:29 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4CHm9Y1ZSXzQkLJ; Fri, 23 Oct 2020 16:01:21 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=guelker.eu; s=MBO0001; t=1603461678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TwExD4txAmIEKyaRq4al/NzBVUY3hRAoUxRRSma5TsE=; b=1trPz7lz02r2/my0EXAt8hV4B7qmomwGlvVWIas1slu0DpqEibJ4VgLArH1sjfdf/rLp/6 sdsk3AajD9AIsgDJNrjKR5fWEg7W+GyUvZ5qxy9o3VoF2GqM+wS56JPDwGef6ZoDg/KgEN g1X3W1jW8ahSVVHCQ9kRBYSyNCCiVj7tAh4oz3f3ZVllQHVBFm2fm10bi2I24Osc3oW3TI mWES+ad16JHO8EirLR7WofSJ9P8qVO/BIZTwcoZlbGTT9m2XUypJoBfYGX57fpXm53EBtk no7S0I+GvMKTAVyKRcAMBfg2ueF5JltoNq7YZckXoO9cc8Zhwhu4nv3tXixoag== Received: from smtp2.mailbox.org ([80.241.60.241]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id w-KAzXvtd0Mm; Fri, 23 Oct 2020 16:01:17 +0200 (CEST) From: =?utf-8?Q?Marvin_=E2=80=98quintus=E2=80=99_G=C3=BClker?= To: Richard Stallman Subject: Re: bug#41613: 26.1; ps-paper-type does not change page size References: <20200530105904.GA5177@atlantis> <87pn5al6cn.fsf@gnus.org> Date: Fri, 23 Oct 2020 16:01:15 +0200 In-Reply-To: (Richard Stallman's message of "Thu, 22 Oct 2020 23:49:44 -0400") Message-ID: <87pn59f3dg.fsf@guelker.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-MBO-SPAM-Probability: X-Rspamd-Score: -5.86 / 15.00 / 15.00 X-Rspamd-Queue-Id: AB45D1700 X-Rspamd-UID: 591503 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41613 Cc: Lars Ingebrigtsen , 41613@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Personally, I have worked around this problem by now. I use org-mode to export my document to LaTeX. org-mode can be used with the KOMA-Script classes, which in turn support outputting nearly any imaginable paper size. In my org document, I then simply set the `LATEX_CLASS_OPTIONS' option to the paper size I want. org-mode picks it up on exporting and LaTeX then creates a document of the size I wish it to have. That being said, it's a workaround. It's good enough for me, but YMMV. Am Donnerstag, dem 22. Oktober 2020 schrieb Richard Stallman: > I agree that this isn't a bug in Emacs's code. But is the > documentation perhaps prone to misunderstanding? Would clarifying it > be useful? I (being not an English native speaker) interpreted it to mean that it changes the paper size, but appearently other people think it means something different. I have had other bugs closed because I am appearently quite talented in misreading documentation, so please don't take my interpretation as authoritative. -quintus --=20 Dipl.-Jur. M. G=C3=BClker | https://mg.guelker.eu | For security: Passau, Germany | kontakt@guelker.eu | () Avoid HTML e-mail European Union | PGP: see homepage | /\ http://asciiribbon.org From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 23:50:29 2020 Received: (at 41613) by debbugs.gnu.org; 24 Oct 2020 03:50:30 +0000 Received: from localhost ([127.0.0.1]:58847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWAZZ-0001FT-Lp for submit@debbugs.gnu.org; Fri, 23 Oct 2020 23:50:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWAZY-0001FG-17 for 41613@debbugs.gnu.org; Fri, 23 Oct 2020 23:50:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40983) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWAZO-0006xp-Kb; Fri, 23 Oct 2020 23:50:20 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kWAZL-0003eJ-Oi; Fri, 23 Oct 2020 23:50:16 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Lars Ingebrigtsen In-Reply-To: <87wnzhgqkj.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 23 Oct 2020 12:54:52 +0200) Subject: Re: bug#41613: 26.1; ps-paper-type does not change page size References: <20200530105904.GA5177@atlantis> <87pn5al6cn.fsf@gnus.org> <87wnzhgqkj.fsf@gnus.org> Message-Id: Date: Fri, 23 Oct 2020 23:50:15 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41613 Cc: 41613@debbugs.gnu.org, nick@tenpoint.co.nz, post+ebugs@guelker.eu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > To the best of my knowledge (which isn't very good in this area), Emacs > doesn't have a way of actually controlling that. (Please somebody > correct me if that's wrong). The support for printing from Emacs is > unfortunately somewhat weak. If someone would like to implement better printing support, that would be nice. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From unknown Fri Jun 20 07:12:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 21 Nov 2020 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator