This content has been marked as final. Show 5 replies
Does anyone has any experiences with cfdocument to generate the labels? Would you please share? Thanks a lot.
"Does anyone has any experiences with cfdocument to generate the labels?
Would you please share? Thanks a lot."
I do not have any cfdocument experience, but several years ago I did
some avery label work with basic html tables based on an old ColdFusion
Developer Journal article. I would think it should be fairly trivial to
wrap one of these tables into a cfdocument.
Hi Ian, Thanks for sharing the info. It is my first time to use cfdocument. I need to generate a few letters and mailing labels for the letters. I was thinking to use cf report builder, however, the report builder runs only on windows if I understand correctly and my coldfusion server runs linux. So I dont' have other ideas for reporting besides using cfdocument.
My label printer prints a label at a time. What I am doing is basically customize the pdf with the mailing address using cfdocument to fit in the Avery label. But the mailing address just squeezed in the middle.
Any help or suggestions will be appreciated.
"I was thinking to use cf report builder, however, the report builder
runs only on windows if I understand correctly and my coldfusion server
You say your server is Linux, what is your workstation? Yes, the report
builder (the IDE for building reports) currently only runs on Windows.
But the reports themselves, once built, can be installed and accessed on
any server supported by ColdFusion. So if your workstation is a windows
machine you can use this option if you like.
The cfdocument tag basically takes a HTML page, wraps it up and spits
out a PDF (and other formated) document with some other printing type
options. The CFDJ, back when it was decent, article I am referring to
was how to make a basic HTML table based layout for generating Avery
labels. It should then follow that wrapping this in a <cfdocument...>
should also work. This may or may not give you more functionality and
control, I do not know.
Unfortunately it has been many years and a couple of job offers since I
did anything like this so I can not give any specific examples or code
hints. Hopefully Google will be generous.
I have a vague memory of possibly using MS Word's Avery label feature as
a staring point? That you exported the Word Avery template to HTML and
started from there. I am not sure. This may have been before Word was
as bad as it is now with extraneous HTML markup.
HI Ian, thanks a lot for your clarification on using the report builder. All my workstations are windows. So it is nice to know that I have report builder option. However I am wondering if using the report builder without IDE feature may need a lot of more work.
Again thanks for your suggestions on generating the Avery labels. Starting from HTML table based layout for generating Avery seems a good idea.