[Bond-users] Papyrus makelabels
Colin Close
itchka at compuserve.com
Thu Dec 8 07:16:12 EST 2011
Ok, Ok, I was being dumb it seems you can pass any old parameter to makelabels
via the requires flag. Sadly it doesn't quite work as the parameter name gets
passed too; thus:-
<requires>labeltype</requires>
given the parameter 'avery7660'
emits-
'papyrus -a labtype=avery7160 -t labels....'
which is not what we want what's wanted is
'papyrus -l avery7160 -t labels'
if the README in makelabels is to be believed. (It does actually work from
the commandline)
I tried using a space as the name for the parameter in xml as a workaround
this resulted in the following line from the GUI.
'papyrus -a =-l avery7160 -t labels --cleanup'
which theoretically should work because -a gets assigned -l avery7160
But this still doesn't work running papyrus from the commandline papyrus just
says 'no thanks' and displays its help. From the GUI the label defaults to the
first label in makelabels.conf.
Any ideas?
Best
Colin Close
Colin Close
On Wednesday 07 Dec 2011 23:13:27 Colin Close wrote:
> Hi,
> I'm wondering if there is any way to pass the label size/type from
> papyrus_gui to the makelabels engine. The label types are defined in
> makelabels.conf. Can it be passed as a parameter in the report xml or is
> this functionality limited to database items?
> So far the way I've been using it is to edit the first label in the list
> which the program appears to default to. Obviously this is a bit limiting!!
> Best
> Colin Close
>
> _______________________________________________
> Bond-users mailing list
> Bond-users at lists.hcoop.net
> https://lists.hcoop.net/listinfo/bond-users
More information about the Bond-users
mailing list