I'm trying to use the code below to add a barcode to a document.
The variable cRtn is set to '1234' by an earlier script.
SyntaxError: syntax error
The console gives an error and nothing appears on the document.
Any idea what's going wrong?
Did you select the entire code before running it?
On Fri, 23 Nov 2018 at 14:35, adcocko87332857 <firstname.lastname@example.org>
Hi Try 67,
Yes I select the whole script.
The problem seems to be with the font. I am trying to use a truetype font for the barcode.
I am using the postscript font name, but it seems not able to use it.
Any ideas what i could try ?
That's not the issue, at least not the one causing this error message... This message means there's something wrong with the syntax of your code. I ran it on my machine, without having this font installed, and it worked just fine. It just used Courier as the font, by default.
Maybe instead of running it from the console attach it to the mouse up event of a button field and then click it...
Weird, but glad to hear it's working!
On Fri, 23 Nov 2018 at 16:01, adcocko87332857 <email@example.com>