unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Friedrich Delgado Friedrichs <friedel@nomaden.org>
To: Vinicius Jose Latorre <viniciusjl@ig.com.br>
Cc: Chong Yidong <cyd@stupidchicken.com>, 1138@emacsbugs.donarmstrong.com
Subject: bug#1138: 23.0.60; ps-print.el error with unusual page sizes
Date: Thu, 16 Oct 2008 13:58:42 +0200	[thread overview]
Message-ID: <20081016115842.GA26548@taupan.ath.cx> (raw)
In-Reply-To: <48F694C9.4090505@ig.com.br>

Hi.

Vinicius Jose Latorre schrieb:
> Ok, it seems ok to add these two new entries into  
> ps-page-dimensions-database.

Well, it's customisable, so I customised it according to my paper size
:)

Would there be another way to print a small page from emacs?

> Well, the right thing to do is to add new entries into ps-n-up-database,  
> like:

> (defconst ps-n-up-database
>   '(......
>    (shipping
>     (100 nil 1  1  0))
>    (topcoated
>     (100 nil 1  1  0)))
> ...)

Label printers support lots of unusual small paper sizes.

The Seiko SLP-440 I'm using has

8mmSpine 35mmSlide AddressLarge AddressSmall Diskette EuroFolderNarrow
EuroFolderWide EuroNameBadge FileFolder Jewelry MediaBadge
MultiPurpose Shipping VHSFace VHSSpine ZipDisk CutHanging13
CutHanging15 EuroFileFolder RetailLabel EuroNameBadgeLarge
TopCoatedPaper Custom

And Custom allows me to specify completely arbitrary values.

(If you're interested in the exact dimensions for all of those, I can
quote them from the ppd, but:)

Does it really make sense to add all those unusual sizes to
ps-n-up-database, especially since it's not configurable, but
ps-page-dimensions-database is?

> Please, try the change above and let me know the results.

I can try this later at home, but I don't really like the approach
here. I think it doesn't scale. When I go and buy differently sized
labels, I need to touch ps-n-up-database again, adding the same value
'(100 nil 1 1 0).

> Does it make sense to have ps-n-up-printing > 1 for these 2 new entries??

Not really. Most content needs to be specially sized to even fit on
one page. We're talking about 5.4mm x 150mm, i.e. a long receipt and
5.4mm x 100mm, a large address label here.

> ps-print does not deal with paper sizes which only can have 1 n-up, but  
> it's possible to change this if this is the case.

As a user, I'd prefer it if a sane default for 1 n-up would be chosen
if the page size is smaller than, say, A6.


-- 
        Friedrich Delgado Friedrichs <friedel@nomaden.org>






  reply	other threads:[~2008-10-16 11:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-11 21:38 bug#1138: 23.0.60; ps-print.el error with unusual page sizes Chong Yidong
2008-10-16  1:11 ` Vinicius Jose Latorre
2008-10-16 11:58   ` Friedrich Delgado Friedrichs [this message]
2008-10-17  2:05     ` Vinicius Jose Latorre
  -- strict thread matches above, loose matches on Subject: below --
2008-11-08 17:22 Chong Yidong
2008-11-10  0:33 ` Vinicius Jose Latorre
2008-10-10 18:47 Friedrich Delgado Friedrichs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081016115842.GA26548@taupan.ath.cx \
    --to=friedel@nomaden.org \
    --cc=1138@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=viniciusjl@ig.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).