Bug 143912

Summary: print a poster will not work
Product: [Unmaintained] kdeprint Reporter: Markus Preis <mpnews1>
Component: generalAssignee: KDEPrint Devel Mailinglist <kde-print-devel>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: jlayt
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Markus Preis 2007-04-06 21:06:29 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages
Compiler:          gcc-Version 4.1.1 (Gentoo 4.1.1-r3)
 
OS:                Linux

I've tried to print a poster. 
I got an error message in the "Plakat" (Poster) dialog:
I don't understand your box specification `-pA3'!
The proper format is: ([text] meaning optional text)
  [multiplier][offset]unit
  with multiplier:  numberxnumber
  with offset:      +number,number
  with unit one of:
Letter     Legal      Tabloid    Ledger     Executive  Monarch    Statement
Folio      Quarto     C5         C5E        EnvC5      B0         B1
B2         B3         B4         B5         B6         B7         B8
B9         B10        Dl         A0         A1         A2         A3
A4         A5         A6         A7         A8         A9         Comm10
COM10      Env10      DL         DLE        EnvDL      p          i
ft         mm         cm         m
You can use a shorthand for these unit names,
provided it resolves unique.

This happens because the extern poster tool is called with this parameter:

poster -m -pA3 /tmp/kde-markus/kdeprint_fWEDPr20 -o/tmp/kde-markus/kdeprint_VCzsnYaZ

As you see the paramete "-m" have no Value given.
I wrote a wrapper script for poster and i got the following calls from the Printing dialog:

Apr  6 21:00:54 master logger: poster -F -mA4 -pA3 -c5%
Apr  6 21:00:55 master logger: poster -F -m -pA3 -c5%
Apr  6 21:01:29 master logger: poster -m -pA3 /tmp/kde-markus/kdeprint_fWEDPr20 -o/tmp/kde-markus/kdeprint_VCzsnYaZ

As you see the first call is correct
I dont now where the value is gone..

Greetings
Markus
Comment 1 Kurt Pfeifle 2007-04-09 03:02:36 UTC
Marcus,

which is the "source" of your poster? Are you (is Gentoo) using the tarball as available from printing.kde.org/downloads/ ?
Comment 2 Markus Preis 2007-04-09 12:35:27 UTC
I use the tarball from printing.kde.org/downloads/ and renamed it to poster.old
This is the wrapper i use to get the call parameter:
/usr/bin/poster:
!/bin/bash
tt=$@
/usr/bin/logger "poster ${tt}"
poster.old $@

exit $?

I think it's not the poster program. I think it's the missing A4 Parameter for the option '-m'
Comment 3 Carsten Lohrke 2007-04-09 13:53:40 UTC
Someone mixed two different poster programs in one package... I'll put it on my todo list.

net-print/poster-20050907    is from printing.kde.org and marked testing
net-print/poster-0.1         is from another source and marked stable


As a side note: From packager's perspective unversioned tarballs like the one at printing.kde.org are ugly. :)


Comment 4 John Layt 2011-05-27 18:31:06 UTC
KDEPrint is obsolete, unmaintained and will never be revived.  Closing all open bugs.