Re: generate printer friendly page
Re: generate printer friendly page
- Subject: Re: generate printer friendly page
- From: Nathan Dumar <email@hidden>
- Date: Wed, 28 Jul 2004 12:24:01 -0400
I did something like this, minus the HTML.
I assembled all of the objects' properties into a long string, using
tabs between attributes and the "|" character between records, and
bound the string to the value tag of a WOText object. The user could
then select all the text, copy it, and paste it into Notepad (or any
other text editor/word processor), and save it. It could then be
imported as a delimited file and printed using any template. This left
the layout of the labels completely open for my users to manipulate (as
opposed to a PDF or CSS version).
It's a lot of steps for the user, but could be automated with a script.
In retrospect, making an excel file seems more eloquent, but also seems
like more work (having never tried it though, I don't know if it really
is more work).
Nathan
On Jul 26, 2004, at 11:03 AM, Michael Engelhart wrote:
I had to do this a while ago for a client and the quickest and easiest
solution (they were a strictly Windows shop and it was an internal
application) was to go into MS Word, create the mailing label
template in the Avery label format they needed, export the document as
HTML and then use that file as the basis for the HTML component and
then wrap one of the table rows in a WORepetition and as long as the
browser is IE, it should work fine. Pretty painless except it's
horribly non-standard. (Beware - Word makes incredibly ugly HTML and
it all needs to be in there for this to work).
MIke
On Jul 26, 2004, at 8:20 AM, Chris Pavicich wrote:
KB:
I see two options for this problem:
1. Generate your page using CSS + HTML to control layout down to the
pixel level. You are ~still~ at the whim of the
browser laying out your page correctly.
2. Generate a PDF of all the mailing labels. This is probably the
best solution, since the PDF should print exactly as it
displays.
HTH,
Chris
On Jul 26, 2004, at 1:25, Goh Keng Boon wrote:
Hi guys, I need to generate a list of mailing labels and print them
to stickers, is there any way i can generate a printer friendly page
using
webobjects? Thanks.
rgds,
KB
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
============= Signature File =============
Keep private conversations private; use PGP encryption.
Get your privacy for FREE at
http://www.pgp.com/products/freeware.html
My public key:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP 8.0.3 - not licensed for commercial use: www.pgp.com
mQGiBEDt3kcRBADfmxBAiNMHdGeL0WIQc78dzrNIjN3S9cRsxBjAP7W0vv+RrZNr
eNwF/F8rGTopxXhfanjrzNDl0HL0g+zDGTshhxjBd9qkOmrhznFn1ZKvSp9KGpeA
CmDwVKBiYvVFoyltJ7PS2sZmk+1QzYy349MjWi6nGludip3nk/XftwigzwCg/7uG
C6JzdWxwXgIaoR1pudY2su8EALRQqpkiGfXY/PbrWIcPnrlCQGxpS55O+xYqvjGj
6XPqNEXnM3W5lpbCeMsVQxISqls1qOWY7bLPP1T8lJ4P0IXPi3YnEGHufi/wHZyb
fgrdZxmGNW1qNSsG83uwgyWEoFxqC5s0iZuJz2NpfvuGf/yXhg8FO8Z72V+iYyzi
XNnWA/4/svEF5eph/3ECsspJM/rX0NmmFSov5COhdAdgLZs6svMdn5clzarhxLvR
eLkUaTVPqLTzAZc8Hb8s2AGJxWruuMwCkVVzinNdyUTXNbjVmhvoEGfez1CKnRtz
+JzaMcuEWWWgf1sU7FSo8FXJNEpNFsjS+pLB/JiVPaszedhtYrQDTWFjiQBdBBAR
AgAdBQJA7d5HBQkAl5yABwsJCAcDAgoCGQEFGwMAAAAACgkQEPcdq6mbhBbmZgCe
KVL+QoK8UT/6DQAI7z6FzKoBoj0An3IwcT3Hz+gCxS+dBkv22rKHSremuQQNBEDt
4e0QEADpitSy6QYy6IGz8Weujy6rAiWuPqRgW/EHKrimcLOj+h7BTKtxjKUw8maR
E3Nrk/3B4MrJOnGbyzq8Jyy6J/EdzCBvE82M6WiJ/hJMD59PCcJjP5EWqn3/Bfwr
wDHRplL0scOPXJzFxhXdlKqJeAAYJ5YcMkUIJxFvP+mTVd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VzFbnJwIwlCF7ETtPNdzZiVPvFUqQzn5yPrT
d3OGr8BranU5AxWvsMKICn3hWDm47Z8YJeP0xpbwY3lP05i1IZna0tH2XpHXv3dm
6oOPbBDlxacs1CDmCbrqPnJkL6SBlTWB/7uJAFIEGBECABIFAkDt4e0FCQCXnIAF
GwwAAAAACgkQEPcdq6mbhBZclQCg/D0tO2OaPUBbgfdMwUnvvcYgS+MAn1SbAiCF
9YSThBQFbyjAdjYaw53j
=Vxb6
-----END PGP PUBLIC KEY BLOCK-----
This key expires on Oct 31, 2004. Request a new key on or after this
date.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.