Re: iText version in CF9

2010-03-22 Thread Tom Chiverton

On Monday 15 Mar 2010, Craigsell wrote:
> I jsut started working with iText version 5.0.1 from my CF8 8.0.0 instance.
>  Soon we will be migrating to CF9.  Does anyone know the itext version that
> ships with CF9 and if there are any differences with the latest version?  I
> know the new version was refactored so that it no longer conflicts with the
> older  one.

We're accessing iText through the JavaLoader (on RIAForge) project so we don't 
have to worry about these things. The only way to know for sure in your case 
would be to run it and see, but if it makes a subtle change in the output you 
wont know with eye balling every output...

-- 
Helping to vitalistically engage appliances as part of the IT team of the year 
2010, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
“partner” to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.co

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331926
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: iText PDF signature

2010-03-12 Thread Chad Gray

Thanks for the suggestions Paul.

I don’t see any setRender or setSignatureGraphic method.  Are you on CF9?  
Maybe that is the difference.

All I have is setImage and setImageScale.  These lay an image behind the text 
in the signature.

I did find that I can do setLayer2Text to blank and it will clear the type on 
top of the image.  So maybe that is the route I will go.  I really don’t feel 
like monkey'ing around with replacing iText in CF8.

Thanks again,
Chad



-Original Message-
From: Paul Hastings [mailto:p...@sustainablegis.com] 
Sent: Thursday, March 11, 2010 8:38 PM
To: cf-talk
Subject: Re: iText PDF signature 


On 3/12/2010 5:12 AM, Chad Gray wrote:
> I want to create a signature in a PDF that has an image like this example 
> code is doing:
> http://itextpdf.com/examples/index.php?page=example&id=221

that's for the latest version of iText not the one shipped with cf. you can 
drop 
the new version into cfs class path or use mark's javaLoader & away you go (but 
make sure you read the new licensing first). on the plus side is that the new 
version's class, etc names have changed so no classpath hell w/existing cf 
version.

---or---

if you want to use the existing version maybe this will help:

setRenderingMode ===> setRender "Sets the rendering mode for this signature"
setSignatureGraphic ===> setSignatureGraphic (still there), it's looking for a 
"com.lowagie.text.Image"



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331654
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: iText PDF signature

2010-03-12 Thread Marco Antonio C. Santos

We're using iText-2.0.7.jar + javaLoader + CF 7 Std with success. Please
take a look this code to insert an image and a description in your PDF
signed:


 
 
 

 
 
 
 

 
  
 
 
  setReason='ACME Corporation';
  setPassword='yourPFXPassword';
  setLocation='Your City-State';

  fullPathToPFXFile = local.pathArqPFX;
  fullPathToOriginalFile = local.pathPDF;
  fullPathToSignedFile = local.pathPDFSigned;
  string = createObject("java","java.lang.String");
  passwordSign = string.init(setPassword);
  keyStore =
createObject("java","java.security.KeyStore").getInstance("pkcs12");
  privateKey = createObject("java","java.security.PrivateKey");
  inputStream =
createObject("java","java.io.FileInputStream").init(fullPathToPFXFile);
  keyStore.load(inputStream, passwordSign.toCharArray());
  keyStoreAlias = keyStore.aliases().nextElement();
  privateKey = keyStore.getKey(keyStoreAlias,
passwordSign.toCharArray());
  chainArray = keyStore.getCertificateChain(keyStoreAlias);
  pdfReader =
server[application.javaLoaderInit].create("com.lowagie.text.pdf.PdfReader").init(fullPathToOriginalFile);

  outStream =
createObject("java","java.io.FileOutputStream").init(fullPathToSignedFile);

  pdfStamper =
server[application.javaLoaderInit].create("com.lowagie.text.pdf.PdfStamper");

  pdfVersion = string.init(URLDecode('%00')).charAt(0);
  stamper = pdfStamper.createSignature(pdfReader, outStream, pdfVersion);

  signatureAppearance = stamper.getSignatureAppearance();
  PdfSignatureAppearance =
server[application.javaLoaderInit].create("com.lowagie.text.pdf.PdfSignatureAppearance");

  signatureAppearance.setCrypto( privateKey, chainArray, javacast("null",
0),PdfSignatureAppearance.WINCER_SIGNED);
  signatureAppearance.setReason(setReason);
  signatureAppearance.setLocation(setLocation);
  rectangle =
server[application.javaLoaderInit].create("com.lowagie.text.Rectangle").init(
 javacast("float", 100),
 javacast("float", 100),
 javacast("float", 200),
 javacast("float", 200) );
  signatureAppearance.setVisibleSignature( rectangle, javacast("int", 1),
javacast("null", "") );
  
signatureAppearance.setCertificationLevel(signatureAppearance.CERTIFIED_NO_CHANGES_ALLOWED);
  stamper.close();
  inputStream.close();
  pdfReader.close();
  outStream.close();
  return true;
 

Cheers
Marco Antonio
On Thu, Mar 11, 2010 at 7:12 PM, Chad Gray  wrote:

>
> Hello, I am working with iText that comes with CF8 and I don’t see these
> methods in com.lowagie.text.pdf.PdfSignatureAppearance
> setRenderMode
> setSignatureGraphic
>
> I want to create a signature in a PDF that has an image like this example
> code is doing:
> http://itextpdf.com/examples/index.php?page=example&id=221
>
> Anyone figured out how to get an image and description into a PDF
> signature?
>
> If I use the method setImage that is in the CF8 class the image is laid on
> top of the description and you cannot read it.
>
> Thanks,
> Cha
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331637
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: iText PDF signature

2010-03-11 Thread Paul Hastings

On 3/12/2010 5:12 AM, Chad Gray wrote:
> I want to create a signature in a PDF that has an image like this example 
> code is doing:
> http://itextpdf.com/examples/index.php?page=example&id=221

that's for the latest version of iText not the one shipped with cf. you can 
drop 
the new version into cfs class path or use mark's javaLoader & away you go (but 
make sure you read the new licensing first). on the plus side is that the new 
version's class, etc names have changed so no classpath hell w/existing cf 
version.

---or---

if you want to use the existing version maybe this will help:

setRenderingMode ===> setRender "Sets the rendering mode for this signature"
setSignatureGraphic ===> setSignatureGraphic (still there), it's looking for a 
"com.lowagie.text.Image"

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331624
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: iText and CF issues

2010-03-09 Thread Arden Harrell

Thanks for replying.

We are currently running this against a CF7 environment.

I have tried a variety of parameters.
1. flags, setflags, clrflags (using PdfAnnotation constants)
2. fflags, setfflags, clrfflags (using PdfFormField constants)

No change occurs to the PDF document.

I should mention that I added a couple extra lines after "setFieldProperty" 
(even though the code above doesn't show it).
  bRet = pdfForm.regenerateField( JavaCast("string", "text1") );
  WriteOutput("regenerateField of text1 - bRet: #bRet#");

I noticed this in a few other snippets as well as the iText book examples.
Even though "bRet" return "YES".  It didn't seem to make a difference in making 
a PDF form field "Read Only". 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331461
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: iText and CF issues

2010-03-08 Thread Paul Hastings

On 3/9/2010 2:18 AM, Eric Roberts wrote:
> We were just having a talk about sending null via a java function and
> apprently that wasn't possible until cf7...we are running 6.1

write up a small java class to return a NULL? i recall this being discussed way 
back when in the forums or here

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331453
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: iText and CF issues

2010-03-08 Thread Eric Roberts

We were just having a talk about sending null via a java function and
apprently that wasn't possible until cf7...we are running 6.1

Eric

On Mon, Mar 8, 2010 at 1:31 PM, Paul Hastings wrote:

>
> On 3/9/2010 12:11 AM, Eric Roberts wrote:
> > bRet = pdfForm.setFieldProperty("text1", "flags", 68, JavaCast("null",
> ""));
>
> just glancing thru your code:
>
> - have you tried "setflags", etc.?
> - if you set it to only RO does it work?
> - have you tried w/the constant values or javaCast flags?
>
> bRet = pdfForm.setFieldProperty("text1",
>
> "flags", << off the top of my head, can't recall if it's F or FF
> entries
> that need to be set, setflags vs setfflags, etc.
>
> textField.FF_READ_ONLY, << or javacast("64","int")
>
> JavaCast("null", ""));
>
>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331451
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: iText and CF issues

2010-03-08 Thread Paul Hastings

On 3/9/2010 12:11 AM, Eric Roberts wrote:
> bRet = pdfForm.setFieldProperty("text1", "flags", 68, JavaCast("null", ""));

just glancing thru your code:

- have you tried "setflags", etc.?
- if you set it to only RO does it work?
- have you tried w/the constant values or javaCast flags?

bRet = pdfForm.setFieldProperty("text1",

"flags", << off the top of my head, can't recall if it's F or FF entries 
that need to be set, setflags vs setfflags, etc.

textField.FF_READ_ONLY, << or javacast("64","int")

JavaCast("null", ""));



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331450
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: iText and VerticalText

2007-06-21 Thread ally mccluskey
Ah ok, that has answered on eof my questions. CFDOCUMENT doesn't support the 
vertical text that i use in my CSS so i'll have to convert the whole piece of 
code to iText Gr!! Funnily enough I read somewhere that CFDOCUMENT is built 
using iText so you would think it would support some of its functions??

OK, I have found some code on the iText site  can someone give me a hand in 
converting it to CF?

/* FROM: 
http://itext.ugent.be/library/com/lowagie/examples/fonts/styles/Vertical.java
 * $Id: Vertical.java 1742 2005-05-09 11:52:51Z blowagie $
 * $Name$
 *
 * This code is part of the 'iText Tutorial'.
 * You can find the complete tutorial at the following address:
 * http://itextdocs.lowagie.com/tutorial/
 *
 * This code is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 * [EMAIL PROTECTED]
 */
package com.lowagie.examples.fonts.styles;

import java.awt.Color;
import java.io.FileOutputStream;

import com.lowagie.text.Chunk;
import com.lowagie.text.Document;
import com.lowagie.text.Element;
import com.lowagie.text.Font;
import com.lowagie.text.PageSize;
import com.lowagie.text.pdf.BaseFont;
import com.lowagie.text.pdf.PdfContentByte;
import com.lowagie.text.pdf.PdfWriter;
import com.lowagie.text.pdf.VerticalText;

/**
 * Writing Vertical Text.
 */
public class Vertical {

static String texts[] = {
"Some very long text to check if it wraps (or not).",
" In blue.",
"And now in orange another very long text.",
"", "", ""};

static String encs[] = {"UniJIS-UCS2-V", "Identity-V"};

/**
 * @param text
 * @return converted text
 */
public static String convertCid(String text) {
char cid[] = text.toCharArray();
for (int k = 0; k < cid.length; ++k) {
char c = cid[k];
if (c == '\n')
cid[k] = '\uff00';
else
cid[k] = (char)(c - ' ' + 8720);
}
return new String(cid);
}

/**
 * Writing vertical text.
 * @param args no arguments needed
 */
public static void main(String[] args) {
Document document = new Document(PageSize.A4, 50, 50, 50, 50);
try {
texts[3] = convertCid(texts[0]);
texts[4] = convertCid(texts[1]);
texts[5] = convertCid(texts[2]);
PdfWriter writer = PdfWriter.getInstance(document, new 
FileOutputStream("vertical.pdf"));
int idx = 0;
document.open();
PdfContentByte cb = writer.getDirectContent();
for (int j = 0; j < 2; ++j) {
BaseFont bf = BaseFont.createFont("KozMinPro-Regular", encs[j], 
false);
cb.setRGBColorStroke(255, 0, 0);
cb.setLineWidth(0);
float x = 400;
float y = 700;
float height = 400;
float leading = 30;
int maxLines = 6;
for (int k = 0; k < maxLines; ++k) {
cb.moveTo(x - k * leading, y);
cb.lineTo(x - k * leading, y - height);
}
cb.rectangle(x, y, -leading * (maxLines - 1), -height);
cb.stroke();
int status;
VerticalText vt = new VerticalText(cb);
vt.setVerticalLayout(x, y, height, maxLines, leading);
vt.addText(new Chunk(texts[idx++], new Font(bf, 20)));
vt.addText(new Chunk(texts[idx++], new Font(bf, 20, 0, 
Color.blue)));
status = vt.go();
System.out.println(status);
vt.setAlignment(Element.ALIGN_RIGHT);
vt.addText(new Chunk(texts[idx++], new Font(bf, 20, 0, 
Color.orange)));
status = vt.go();
System.out.println(status);
document.newPage();
}
document.close();
}
catch (Exception de) {
de.printStackTrace();
}
}


}

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281754
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: iText and VerticalText

2007-06-20 Thread Paul Hastings
ally mccluskey wrote:
> I am using font tag in a CSS file to layout a table header using vertical 
> text.
> In HTML, the vertical text looks fine. However, when I convert the table to a
> pdf using , the vertical text is displayed as horizintal text and
> does not follow the css specified font family, color or size.

not exactly sure if that's supported, can you post a simple simple example? 
does 
the rest of the CSS get applied?

> Does anyone have ideas on how to use iText and call its functions?

yes but cfdocument is infinitely simpler to use. you'd have to generate the 
whole document in iText, not just the vertical bits.

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281733
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: iText: The selected method setFontAndSize was not found.

2007-06-20 Thread James Buckingham
That's absolute perfect thanks for your help everyone.

James

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281701
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: iText: The selected method setFontAndSize was not found.

2007-06-19 Thread Janet MacKay
nm - darn lag!

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281490
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: iText: The selected method setFontAndSize was not found.

2007-06-18 Thread Janet MacKay
You're passing the wrong object types. The API is 
setFontAndSize(com.lowagie.text.pdf.BaseFont, float).

>> myObj.BaseFont = createObject("java","com.lowagie.text.pdf.BaseFont"); 
>> local.bf = myObj.BaseFont.Courier;

BaseFont.Courier is a string. What you need is a BaseFont object.  Try using 
the FontFactory class or BaseFont.createFont(...) 

//FontFactory
myObj.FontFactory = createObject("java","com.lowagie.text.FontFactory");
 
local.bf = myObj.FontFactory.getFont(myObj.FontFactory.COURIER).getBaseFont();
 
//createFont()
myObj.BaseFont = createObject("java","com.lowagie.text.pdf.BaseFont"); 
local.bf = myObj.BaseFont.createFont(myObj.BaseFont.COURIER, 
myObj.BaseFont.CP1252, myObj.BaseFont.NOT_EMBEDDED);

Then use javacast on the size like Mark mentioned.

//cast the size as a float
local.cb.setFontAndSize(local.bf, javacast("float", 12)); 



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281488
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: iText: The selected method setFontAndSize was not found.

2007-06-18 Thread Paul Hastings
Mark Mandel wrote:
> You probably need to javaCast the '12' to whatever type that the API requires.

naw, it's the font (static numbers should almost always go through ok--though i 
use a java lib that even wants strings cast). he's set it to a string 
("Courier").

>> local.bf = myObj.BaseFont.Courier;

got to go the extra mile:
BaseFont=createObject("java", "com.lowagie.text.pdf.BaseFont");
bf=baseFont.createFont(BaseFont.COURIER,BaseFont.CP1252,BaseFont.EMBEDDED);
// or whatever


~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281487
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: iText: The selected method setFontAndSize was not found.

2007-06-18 Thread Mark Mandel
You probably need to javaCast the '12' to whatever type that the API requires.

What is the API for the setFontAndSize()?

Mark

On 6/19/07, James Buckingham <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> Does anybody know why the following code is telling me that the method 
> fontandsize() doesn't exist?
>
> 
>
> myObj = structNew();
> local = structNew();
>
> myObj.document = CreateObject("java", "com.lowagie.text.Document");
> myObj.fileIO = CreateObject("java", "java.io.FileOutputStream");
> myObj.pdfWriter = CreateObject("java", 
> "com.lowagie.text.pdf.PdfWriter");
> myObj.vertText = 
> createObject("java","com.lowagie.text.pdf.VerticalText");
> myObj.pdfContentByte = 
> createObject("java","com.lowagie.text.pdf.PdfContentByte");
>
> myObj.BaseFont = createObject("java","com.lowagie.text.pdf.BaseFont");
> local.bf = myObj.BaseFont.Courier;
>
> // create a 'Document' object
> myObj.document.init();
> // get an outputstream for the PDF Writer
> // call the constructor, pass the location where you want the pdf to 
> be created
> 
> myObj.fileIO.init("C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\pdfWriter\pdf\test.pdf");
> // call the static 'getInstance' factory method
> local.writer = myObj.pdfWriter.getInstance(myObj.document, 
> myObj.fileIO);
> // open the document
> myObj.document.open();
>
> local.cb = local.writer.getDirectContent();
>
> local.cb.beginText();
> local.cb.setFontAndSize(local.bf, 12);
> local.cb.showTextAligned(1, 'THIS IS A TEST', 100, 100, 0);
> local.cb.endText();
>
> -
>
> Error Message is:
>
> The selected method setFontAndSize was not found.
> Either there are no methods with the specified method name and argument 
> types, or the method setFontAndSize is overloaded with arguments types that 
> ColdFusion can't decipher reliably. If this is a Java object and you verified 
> that the method exists, you may need to use the javacast function to reduce 
> ambiguity.
>
> The error occurred in 
> C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\pdfWriter\index.cfm: line 32
>
> 30 :
> myObj.fileIO.init("C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\pdfWriter\pdf\test.pdf");
> 31 :// call the static 'getInstance' factory method
> 32 :local.writer = myObj.pdfWriter.getInstance(myObj.document, 
> myObj.fileIO).setFontAndSize('Courier', 12);
> 33 :// open the document
> 34 :myObj.document.open();
>
> 
>
> Yet when I dump the writer methods I can see the setFontAndSize method 
> sitting in the listing.
>
> I've updated my iText.jar to the latest version (2.0.4) and that hasn't fixed 
> the problem either :(
>
> Cheers,
> James
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281457
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Itext-Coldfusion Error

2007-01-10 Thread Janet MacKay
http://java.sun.com/docs/books/tutorial/java/javaOO/accesscontrol.html

_Loosely_ translated, protected methods in the PdfWriter class can only be 
accessed by 
- another class within the (com.lowagie.text.pdf) package or
- a subclass of the com.lowagie.text.pdf.PdfWriter class

Short answer, you cannot use "protected" methods of the PdfWriter class here. 
Check the API and try using "public" methods instead.

-Janet

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266129
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: iText create bookmark for a page

2006-08-31 Thread Dan Plesse
I searched for a solution for oyu and I found another PDF java library
http://www.pdfbox.org/

This Java program allows to add structured bookmarks to an existing pdf
file. The bookmarks are defined in a separate text file.
http://www.physik.fu-berlin.de/~goerz/programme_en.html#pdfwritebookmarks

How to create bookmarks in a PDF file with Java
http://www.java-tips.org/other-api-tips/itext/how-to-create-bookmarks-in-a-pdf-file-with-java.html

I never used iText but if people are getting into java then I game to
provide solutions.

Has anyone created a jws iText master file yet for coldfusion???

PdfReader reader = new PdfReader("TDA9800_CNV_4.pdf");
java.util.List bm = SimpleBookmark.getBookmark(reader);
SimpleBookmark.exportToXML(bm, new FileOutputStream("c:\\ic.xml"),
"UTF-8", false);
System.out.println(bm.toString());


If you are only passing strings to a CFC I would suggest using jws instead.





On 8/31/06, Kris Jones <[EMAIL PROTECTED]> wrote:
>
> Another question for the iText experts:
>
> Making a copy of a PDF document (I'm actually looping through a list
> of documents, and putting them all together), after setting up my
> reader, and writer, I'm trying to add a bookmark for each page (for
> instance). I'm getting the bookmarks, but they don't link to any
> pages--not even the first page. I'm getting an Object Instantiation
> Exception on the copy.add() line, the Outline element is being added
> to the document. It just doesn't work.
>
> page=copy.getImportedPage(reader,javacast("int",p));
> copy.addPage(page);
> newdest = dest.init(dest.FITH);
> copy.add(createobject("java","com.lowagie.text.pdf.PdfOutline").init(
> copy.getRootOutline(),
> newdest, "page " & i ));
>
> I've been looking through the iText API, but can't come up with what
> objects I really need to be getting/setting/passing to make this work.
> The example on the iText Tutorials site uses a template to bookmark an
> object on a page. Is there a way to just reference a page? I'm seeing
> wondering how I can get a PdfIndirectReference for the most recent
> pdfImportedPage. If I can do that then I can set the PdfOutline to
> that indirectReference.
>
> Any thoughts?
>
> Cheers,
> Kris
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251709
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Itext Checkbox

2006-06-14 Thread Robert Everland III
I found the answer, if you do a
AcroFields.getAppearanceStates("fieldName") it will return what value it 
expects.

So the correct answer is:
setField("IMACHECKBOX", "Yes");



Bob

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243529
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Itext Checkbox

2006-06-14 Thread Paul Hastings
Robert Everland III wrote:
> I'm using a stamper to fill in the fields of PDF. I just tried 
> PdfBoolean.TRUE, that did not work. No errors, just won't check the checkbox.

pdfStamper? yeah it's setField methods want strings. i guess start dumb, does 
getFieldType on that field return FIELD_TYPE_CHECKBOX (i think 2)?

i don't recall ever dealing w/checkboxes (ie quick code search here comes up 
empty) but from the examples it looks like a button/widget that you have to 
actually draw the checkbox so i'm not exactly sure how this thing will behave 
as 
an acrofield. you might have to ask on the itext list.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243449
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Itext Checkbox

2006-06-14 Thread Robert Everland III
I'm using a stamper to fill in the fields of PDF. I just tried PdfBoolean.TRUE, 
that did not work. No errors, just won't check the checkbox.



Bob

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243443
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Itext Checkbox

2006-06-14 Thread Mark Drew
snap!

On 6/14/06, |Rens| > 0 <[EMAIL PROTECTED]> wrote:
>
> checked?
>
> Robert Everland III wrote:
> > How the heck do I set a checkbox field to be checked, I have tried
> >
> > setField("IMACHECKBOX", "TRUE");
> > setField("IMACHECKBOX", "1");
> > setField("IMACHECKBOX", "0");
> > setField("IMACHECKBOX", "On");
> >
> > Nothing works, the text fields fill in correctly, this won't
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243442
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Itext Checkbox

2006-06-14 Thread Paul Hastings
Robert Everland III wrote:
> Nothing works, the text fields fill in correctly, this won't

setField in FdfWriter? it requires a PdfObject which in this case should 
probably be com.lowagie.text.pdf.PdfBoolean.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243441
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Itext Checkbox

2006-06-14 Thread Robert Everland III
Negatory, checked and check didn't work.


Bob

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243440
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Itext Checkbox

2006-06-14 Thread |Rens| > 0
checked?

Robert Everland III wrote:
> How the heck do I set a checkbox field to be checked, I have tried
> 
> setField("IMACHECKBOX", "TRUE");
> setField("IMACHECKBOX", "1");
> setField("IMACHECKBOX", "0");
> setField("IMACHECKBOX", "On");
> 
> Nothing works, the text fields fill in correctly, this won't

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243439
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Itext Checkbox

2006-06-14 Thread Mark Drew
checked?

On 6/14/06, Robert Everland III <[EMAIL PROTECTED]> wrote:
>
> How the heck do I set a checkbox field to be checked, I have tried
>
> setField("IMACHECKBOX", "TRUE");
> setField("IMACHECKBOX", "1");
> setField("IMACHECKBOX", "0");
> setField("IMACHECKBOX", "On");
>
> Nothing works, the text fields fill in correctly, this won't
>
>
>
> Bob
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243438
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: iText - CF 6

2005-10-03 Thread Robertson-Ravo, Neil (RX)
Yeah, problem is my Java hat is more of a Java headband...Paul Hastings has
helped me decipher the Java side of things - I am no on my way with this...

Quality.






-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: 03 October 2005 16:53
To: CF-Talk
Subject: Re: iText - CF 6

> Anyone using/used iText with CF6?  Can it read a PDF (ideally form fields)
> which I can then pre-populate and write a new PDF out?
> 
> N

Yep...should be able toput on your Java hat and get creative ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219953
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iText error

2005-10-03 Thread Paul Hastings
Bryan Stevenson wrote:
> I'm not sure if you have "full access" to all that iText does (with the 
> version built-in to CF).  You MAY have to install another iText JAR file and 

no, in this case the iText distributed w/cf does what they want. i 
tested the code w/merrimack & cf7. it worked fine. maybe something to do 
w/the TTF they're using or permissions on it.

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219931
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iText error

2005-10-03 Thread Bryan Stevenson
Snake...

I'm not sure if you have "full access" to all that iText does (with the 
version built-in to CF).  You MAY have to install another iText JAR file and 
use that version.  There are some issues with doing that as CF ignores the 
new iText JAR file unless you tweak something (just can't recall what it 
wasbut the solution is in the archives...and I was part of that 
threadrecall talking about iText versions in that thread).

HTH

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219901
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iText - CF 6

2005-10-03 Thread Bryan Stevenson
> Anyone using/used iText with CF6?  Can it read a PDF (ideally form fields)
> which I can then pre-populate and write a new PDF out?
> 
> N

Yep...should be able toput on your Java hat and get creative ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219897
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: iText - CF 6

2005-10-03 Thread Robertson-Ravo, Neil (RX)
OK,

After a few oddities on installation (CFX_PDF does indeed just use iText) -
I am trying to fathom out a way I can read a PDF in (which has form fields)
- any help here mucho appreciato.

Anyone a "guru" on CF/iText?

TIA

Neil


This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219883
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iText - CF 6

2005-10-03 Thread Paul Hastings
Robertson-Ravo, Neil (RX) wrote:
> Anyone using/used iText with CF6?  Can it read a PDF (ideally form fields)
> which I can then pre-populate and write a new PDF out?

"used". i don't recall ever doing that myself (the form field bits) but 
bruno has java examples that are usually pretty easy to follow. the 
amount of control iText gives you is kind of insane, once you work w/it 
for a while you'll appreciate cfdocument more ;-)

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219868
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iText - CF 6

2005-10-03 Thread Robert Everland III
I believe this could help you 
http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=GGLG,GGLG:2005-39,GGLG:en&q=itext+coldfusion



Bob Everland

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219865
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: iTEXT

2005-08-25 Thread Robertson-Ravo, Neil (RX)
I can't believe you just said "darned" and "swell" in one sentence...

;-)


-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: 25 August 2005 09:28
To: CF-Talk
Subject: Re: iTEXT

Snake wrote:
> Lol, interesting. I guess it's not mentioned anywhere that iTEXT ships
with
> CFMX7 then. Which is a tad lame.

no, its mentioned in the 3rd party bits.

> I gues sthat effectively means it would be easy to write a better
cfdocument
> tag.

well good luck with that. the cf folks did a darned swell job reducing 
iText's complexity down to a simple tag.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216328
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: iTEXT

2005-08-25 Thread Snake
Well yes, but if you wanted to add some extra iTEXT functionality, such as
the CMYK features.

Russ 

-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: 25 August 2005 09:28
To: CF-Talk
Subject: Re: iTEXT

Snake wrote:
> Lol, interesting. I guess it's not mentioned anywhere that iTEXT ships 
> with
> CFMX7 then. Which is a tad lame.

no, its mentioned in the 3rd party bits.

> I gues sthat effectively means it would be easy to write a better 
> cfdocument tag.

well good luck with that. the cf folks did a darned swell job reducing
iText's complexity down to a simple tag.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216322
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iTEXT

2005-08-25 Thread Paul Hastings
Snake wrote:
> Lol, interesting. I guess it's not mentioned anywhere that iTEXT ships with
> CFMX7 then. Which is a tad lame.

no, its mentioned in the 3rd party bits.

> I gues sthat effectively means it would be easy to write a better cfdocument
> tag.

well good luck with that. the cf folks did a darned swell job reducing 
iText's complexity down to a simple tag.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216321
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iTEXT

2005-08-25 Thread Nick de Voil
> Lol, interesting. I guess it's not mentioned anywhere that iTEXT ships
with
> CFMX7 then. Which is a tad lame.
> I gues sthat effectively means it would be easy to write a better
cfdocument
> tag.

Not too easy to do the FlashPaper part! But if you wanted to produce RTF for
example, then yes.

Nick



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216320
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: iTEXT

2005-08-25 Thread Snake
Lol, interesting. I guess it's not mentioned anywhere that iTEXT ships with
CFMX7 then. Which is a tad lame.
I gues sthat effectively means it would be easy to write a better cfdocument
tag.

Russ

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: 24 August 2005 23:25
To: CF-Talk
Subject: Re: iTEXT

From: "Snake" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Wednesday, August 24, 2005 3:17 PM
Subject: RE: iTEXT


> So if you didn't know iTEXT was behind it, how were you accidentally 
> using it :-)

I was waiting for that one ;-)

I installed iText and thought I was using the version I installed.  I was
asking some questions on-list and it came out that iText was part of CF in
version 7.  So I pumped out the iText version onto the docs I was creating
and sure enough it was the version that shipped with CF 7 and NOT the
current version that I thought I was using.

So there's my little storyhope ya liked it ;-)

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216318
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iTEXT

2005-08-24 Thread Bryan Stevenson
From: "Snake" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Wednesday, August 24, 2005 3:17 PM
Subject: RE: iTEXT


> So if you didn't know iTEXT was behind it, how were you accidentally using
> it :-)

I was waiting for that one ;-)

I installed iText and thought I was using the version I installed.  I was 
asking some questions on-list and it came out that iText was part of CF in 
version 7.  So I pumped out the iText version onto the docs I was creating 
and sure enough it was the version that shipped with CF 7 and NOT the 
current version that I thought I was using.

So there's my little storyhope ya liked it ;-)

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216286
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: iTEXT

2005-08-24 Thread Snake
So if you didn't know iTEXT was behind it, how were you accidentally using
it :-)
 

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: 24 August 2005 21:03
To: CF-Talk
Subject: Re: iTEXT

> in particular the person who wants me to install it tells me iTEXT 
> provides a dpi and a CMYK setting which cfdocument doesn't.
> If CFMX7 actually uses iTEXT can you access it directly instead of 
> going via CFDocument ?
>
> Russ

Yes...I did it by accident before I knew iText was behind CFDOCUMENT ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216283
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iTEXT

2005-08-24 Thread Bryan Stevenson
> in particular the person who wants me to install it tells me iTEXT 
> provides
> a dpi and a CMYK setting which cfdocument doesn't.
> If CFMX7 actually uses iTEXT can you access it directly instead of going 
> via
> CFDocument ?
>
> Russ

Yes...I did it by accident before I knew iText was behind CFDOCUMENT ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216266
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: iTEXT

2005-08-24 Thread Snake
in particular the person who wants me to install it tells me iTEXT  provides
a dpi and a CMYK setting which cfdocument doesn't.
If CFMX7 actually uses iTEXT can you access it directly instead of going via
CFDocument ?

Russ



-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: 24 August 2005 19:05
To: CF-Talk
Subject: Re: iTEXT

> Are there any docs anywhere for installing it on CF, can't see 
> anything on the site
>
> Russ

If it's CF 7 then iText is built-in alreadyno need to install
anythingCFDOUMENT uses it to produce PDFs

Otherwise you need to drop iText.jar in the right path.and the right
path depends on the type of install (CF as an instance on top of J2EE,
classic install, etc.).

...so you'll need to figure out where the class path is for your
particular CF install ;-)

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216261
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iTEXT

2005-08-24 Thread Nick de Voil
Russ

> Are there any docs anywhere for installing it on CF, can't see anything on
> the site

You just need to get hold of the jar file and drop it in somewhere on the
Java classpath.

Nick



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216228
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: iTEXT

2005-08-24 Thread Snake
Are there any docs anywhere for installing it on CF, can't see anything on
the site

Russ 

-Original Message-
From: Nick de Voil [mailto:[EMAIL PROTECTED] 
Sent: 24 August 2005 18:39
To: CF-Talk
Subject: Re: iTEXT

Russ

> I have been asked to install iText on a shared server, but it seems 
> that
it
> could potentially be unsafe to do so as I would imagine iText has   the
> ability to read/file files anywhere on the server seeing as java
components
> are not affected by a security sandbox.

I don't think iText itself does any file access. If your customers aren't
allowed to use CFOBJECT or CreateObject, then they won't be able to do much
with it. If they are, then they will have access to the java.io classes
anyway. It's those classes that do the actual file reading & writing - iText
just adds functionality which understands how certain types of files are
structured.

Nick





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216220
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iTEXT

2005-08-24 Thread Bryan Stevenson
> Are there any docs anywhere for installing it on CF, can't see anything on
> the site
>
> Russ

If it's CF 7 then iText is built-in alreadyno need to install 
anythingCFDOUMENT uses it to produce PDFs

Otherwise you need to drop iText.jar in the right path.and the right 
path depends on the type of install (CF as an instance on top of J2EE, 
classic install, etc.).

..so you'll need to figure out where the class path is for your 
particular CF install ;-)

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216225
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iTEXT

2005-08-24 Thread Nick de Voil
Russ

> I have been asked to install iText on a shared server, but it seems that
it
> could potentially be unsafe to do so as I would imagine iText has   the
> ability to read/file files anywhere on the server seeing as java
components
> are not affected by a security sandbox.

I don't think iText itself does any file access. If your customers aren't
allowed to use CFOBJECT or CreateObject, then they won't be able to do much
with it. If they are, then they will have access to the java.io classes
anyway. It's those classes that do the actual file reading & writing - iText
just adds functionality which understands how certain types of files are
structured.

Nick



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216214
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


SOLVED: Re: iText and TIFF2PDF

2005-07-19 Thread Bryan Stevenson
NevermindI've figured out and the CFC will be done shortly.love that 
package ;-)

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212270
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: iText (calling Paul Hastings)

2004-02-14 Thread Paul Hastings
> Does anybody using iText to produce PDFs have an example of a complex
> header/footer??

well there's chapter 12 in the iText tutorial.  then there's the examples
found on itextpdf.sf.net, specifically head_foot.java. it looks like you'll
have to work w/PdfWriter's setPageEvent (PdfPageEvent: onStartPage &
onEndPage). might actually require you to write some java (might not i
haven't tried using this technique on headers/footers yet). btw this class
gives you a large amount of granular control of the PDF creation process.

> So far all I can do is add a simple phrase to the header (with the
> horizontal line under that).  It seems way to limited if you ask meany
> thoughts?  I'm only about 4 or 5 days into messing with the package ;-)

no, the com.lowagie.text.HeaderFooter class is for your basic header/footer.
its dead simple to use but is limited in what you can control. i think that
might summarzie iText's style of doing things. easy classes for 99% of your
needs but they have more complex, more powerful classes when there's a need
for that kind of complexity.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: iText (was Re: CFDJ isn't exactly kicking bootay)

2004-01-12 Thread Thomas Chiverton
On Friday 09 Jan 2004 16:16 pm, Dave Carabetta wrote:
> scp usage:

WinSCP provides a very nice GUI (either local/remote two pane, or single 
'remote') to SCP / SFTP for Windows.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: iText (was Re: CFDJ isn't exactly kicking bootay)

2004-01-09 Thread Bryan Stevenson
Matt...you are da man...the binary option was the issue.  Now all classes are recognized and the code works!!!

Many many many thanks ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Matt Liotta 
  To: CF-Talk 
  Sent: Thursday, January 08, 2004 6:23 PM
  Subject: Re: iText (was Re: CFDJ isn't exactly kicking bootay)

  Oh yeah, possibly you were uploading the JAR/class files via FTP and 
  didn't transfer them as binary if they work on Windows and not on 
  Linux. Of course, if you are using FTP; stop right now and move over to 
  SCP. You life will be easier and your machines will be more secure.

  -Matt

  On Jan 8, 2004, at 9:17 PM, Matt Liotta wrote:

  > > Why don't you immensely bright opinionated people help us out.  I've
  > > got a hell of a problem with trying to get the iText library working
  > > on Linux with CFMX Standardplease see "Re: iText.jar/CFMX 6.1
  > > Std/Linux"  any insight would be greatly appreciated...and 
  > hey...mabye
  > > you could all write an article about it when you're done ;-)
  > >
  > The errors you are getting can only come from malformed class files. I
  > suggest you retry your download and/or get support for the author(s).
  > Be aware that there are only solutions besides iText for PDF
  > generation. Additionally, there are resources --such as myself-- that
  > are available on a contract basis to take care of these sorts of things
  > for you.
  >
  > -Matt
  >
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: iText (was Re: CFDJ isn't exactly kicking bootay)

2004-01-09 Thread Dave Carabetta
>Yeah I have Putty and use it for root level access (nice and 
>secure)still learning my Linux commands...but scp is a command right?  
>secure copy?
>

scp usage:

scp -v localfile.txt [EMAIL PROTECTED]:localfile.txt

You will then be prompted for a password and it will copy the file out there 
for you with the name localfile.txt. (The -v option is for verbose so that 
you can see exactly what's going on. Not necessary, but sometimes useful.)

If you're talking about directories, you should just be able to do

scp -vr localdir [EMAIL PROTECTED]:localdir

Note that the -r option makes it recursive such that sub-directories are 
copied out as well.

Regards,
Dave.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: iText (was Re: CFDJ isn't exactly kicking bootay)

2004-01-09 Thread Matt Liotta
prompt> pscp -r somedir [EMAIL PROTECTED]:/home/username/somedir

-Matt

On Jan 9, 2004, at 11:04 AM, Bryan Stevenson wrote:

> ooo...hey...if you can fire me the command to grab an entire local dir 
> and scp it up I'd be one happy camper ;-)
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> t. 250.920.8830
> e. [EMAIL PROTECTED]
>
> -
> Macromedia Associate Partner
> www.macromedia.com
> -
> Vancouver Island ColdFusion Users Group
> Founder & Director
> www.cfug-vancouverisland.com
>   - Original Message -
>   From: Matt Liotta
>   To: CF-Talk
>   Sent: Friday, January 09, 2004 8:01 AM
>   Subject: Re: iText (was Re: CFDJ isn't exactly kicking bootay)
>
>   > Another good point.  The Secure FTP app was set to "auto", but I'll
>   > try again with binary forced
>   >
>   Again, I would check out SCP as it is much nicer for transferring 
> files
>   and more secure too.
>
>   -Matt
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: iText (was Re: CFDJ isn't exactly kicking bootay)

2004-01-09 Thread Matt Liotta
SCP is secure copy or the cp command over SSH. Putty has a program 
named pscp or Putty SCP that will allow you to do SCP from the 
command-line on Windows. For example, transferring a file is as 
follows.

prompt> pscp somefile.txt 
[EMAIL PROTECTED]:/home/username/somefile.txt

-Matt

On Jan 9, 2004, at 11:03 AM, Bryan Stevenson wrote:

> Yeah I have Putty and use it for root level access (nice and 
> secure)still learning my Linux commands...but scp is a command 
> right?  secure copy?
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> t. 250.920.8830
> e. [EMAIL PROTECTED]
>
> -
> Macromedia Associate Partner
> www.macromedia.com
> -
> Vancouver Island ColdFusion Users Group
> Founder & Director
> www.cfug-vancouverisland.com
>   - Original Message -
>   From: Matt Liotta
>   To: CF-Talk
>   Sent: Friday, January 09, 2004 8:01 AM
>   Subject: Re: iText (was Re: CFDJ isn't exactly kicking bootay)
>
>   > Another good point.  The Secure FTP app was set to "auto", but I'll
>   > try again with binary forced
>   >
>   Again, I would check out SCP as it is much nicer for transferring 
> files
>   and more secure too.
>
>   -Matt
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: iText (was Re: CFDJ isn't exactly kicking bootay)

2004-01-09 Thread Bryan Stevenson
ooo...hey...if you can fire me the command to grab an entire local dir and scp it up I'd be one happy camper ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Matt Liotta 
  To: CF-Talk 
  Sent: Friday, January 09, 2004 8:01 AM
  Subject: Re: iText (was Re: CFDJ isn't exactly kicking bootay)

  > Another good point.  The Secure FTP app was set to "auto", but I'll 
  > try again with binary forced
  >
  Again, I would check out SCP as it is much nicer for transferring files 
  and more secure too.

  -Matt
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: iText (was Re: CFDJ isn't exactly kicking bootay)

2004-01-09 Thread Bryan Stevenson
Yeah I have Putty and use it for root level access (nice and secure)still learning my Linux commands...but scp is a command right?  secure copy?

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Matt Liotta 
  To: CF-Talk 
  Sent: Friday, January 09, 2004 8:01 AM
  Subject: Re: iText (was Re: CFDJ isn't exactly kicking bootay)

  > Another good point.  The Secure FTP app was set to "auto", but I'll 
  > try again with binary forced
  >
  Again, I would check out SCP as it is much nicer for transferring files 
  and more secure too.

  -Matt
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: iText (was Re: CFDJ isn't exactly kicking bootay)

2004-01-09 Thread Matt Liotta
> Another good point.  The Secure FTP app was set to "auto", but I'll 
> try again with binary forced
>
Again, I would check out SCP as it is much nicer for transferring files 
and more secure too.

-Matt
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: iText (was Re: CFDJ isn't exactly kicking bootay)

2004-01-09 Thread Matt Liotta
> Did you mean "other" solutions?
>
I did mean other, sorry for the typo.

-Matt
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: iText (was Re: CFDJ isn't exactly kicking bootay)

2004-01-09 Thread Bryan Stevenson
Another good point.  The Secure FTP app was set to "auto", but I'll try again with binary forced

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Matt Liotta 
  To: CF-Talk 
  Sent: Thursday, January 08, 2004 6:23 PM
  Subject: Re: iText (was Re: CFDJ isn't exactly kicking bootay)

  Oh yeah, possibly you were uploading the JAR/class files via FTP and 
  didn't transfer them as binary if they work on Windows and not on 
  Linux. Of course, if you are using FTP; stop right now and move over to 
  SCP. You life will be easier and your machines will be more secure.

  -Matt

  On Jan 8, 2004, at 9:17 PM, Matt Liotta wrote:

  > > Why don't you immensely bright opinionated people help us out.  I've
  > > got a hell of a problem with trying to get the iText library working
  > > on Linux with CFMX Standardplease see "Re: iText.jar/CFMX 6.1
  > > Std/Linux"  any insight would be greatly appreciated...and 
  > hey...mabye
  > > you could all write an article about it when you're done ;-)
  > >
  > The errors you are getting can only come from malformed class files. I
  > suggest you retry your download and/or get support for the author(s).
  > Be aware that there are only solutions besides iText for PDF
  > generation. Additionally, there are resources --such as myself-- that
  > are available on a contract basis to take care of these sorts of things
  > for you.
  >
  > -Matt
  >
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: iText (was Re: CFDJ isn't exactly kicking bootay)

2004-01-09 Thread Bryan Stevenson
Thanks Matt...I was starting to think that might be the problem.

BTWwhat did you mean by this line??:
Be aware that there are only solutions besides iText for PDF 
generation.

Did you mean "other" solutions?

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  - Original Message - 
  From: Matt Liotta 
  To: CF-Talk 
  Sent: Thursday, January 08, 2004 6:17 PM
  Subject: iText (was Re: CFDJ isn't exactly kicking bootay)

  > Why don't you immensely bright opinionated people help us out.  I've 
  > got a hell of a problem with trying to get the iText library working 
  > on Linux with CFMX Standardplease see "Re: iText.jar/CFMX 6.1 
  > Std/Linux"  any insight would be greatly appreciated...and hey...mabye 
  > you could all write an article about it when you're done ;-)
  >
  The errors you are getting can only come from malformed class files. I 
  suggest you retry your download and/or get support for the author(s). 
  Be aware that there are only solutions besides iText for PDF 
  generation. Additionally, there are resources --such as myself-- that 
  are available on a contract basis to take care of these sorts of things 
  for you.

  -Matt
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: iText (was Re: CFDJ isn't exactly kicking bootay)

2004-01-08 Thread Matt Liotta
Oh yeah, possibly you were uploading the JAR/class files via FTP and 
didn't transfer them as binary if they work on Windows and not on 
Linux. Of course, if you are using FTP; stop right now and move over to 
SCP. You life will be easier and your machines will be more secure.

-Matt

On Jan 8, 2004, at 9:17 PM, Matt Liotta wrote:

> > Why don't you immensely bright opinionated people help us out.  I've
> > got a hell of a problem with trying to get the iText library working
> > on Linux with CFMX Standardplease see "Re: iText.jar/CFMX 6.1
> > Std/Linux"  any insight would be greatly appreciated...and 
> hey...mabye
> > you could all write an article about it when you're done ;-)
> >
> The errors you are getting can only come from malformed class files. I
> suggest you retry your download and/or get support for the author(s).
> Be aware that there are only solutions besides iText for PDF
> generation. Additionally, there are resources --such as myself-- that
> are available on a contract basis to take care of these sorts of things
> for you.
>
> -Matt
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]