dbTalk Databases Forums  

QR Codes

comp.databases.filemaker comp.databases.filemaker


Discuss QR Codes in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Captain Guy
 
Posts: n/a

Default QR Codes - 02-21-2012 , 02:49 PM






Anyone using qr codes in a FM DB? is there any plug-ins to generate unique
code for a batch of records?


----------------------------------------------------------------------------------------
Capt. Guy
s/v Island Time
386-689-5088
Beneteau 352#277
AICW 845.5

Reply With Quote
  #2  
Old   
Philippe Manet
 
Posts: n/a

Default Re: QR Codes - 03-01-2012 , 03:29 PM






ursus <ursus.kirk (AT) ziggo (DOT) nl> wrote:

Quote:
Or you can use a web-view object and one of the free online API-s. Like
the google one. You need an active internet connection.
I've tried some SVG functions, or other graphic ones (cf infra). But I
didn't succed, surely by a faulty implementation in the web-viewer :
what to write in ?

I tried this :
MacOSX 10.6.8 FMP 11.4
------------------------------------
<html>
<head>
<script type="text/javascript"
src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = new google.visualization.DataTable();
data.addColumn('number', 'Age');
data.addColumn('number', 'Weight');
data.addRows([
[8, 12],
[4, 5.5],
[11, 14],
[4, 4.5],
[3, 3.5],
[6.5, 7]
]);

var options = {
title: 'Age vs. Weight comparison',
hAxis: {title: 'Age', minValue: 0, maxValue: 15},
vAxis: {title: 'Weight', minValue: 0, maxValue: 15},
legend: 'none'
};

var chart = new
google.visualization.ScatterChart(document.getElem entById('chart_div'));
chart.draw(data, options);
}
</script>
</head>
<body>
<div id="chart_div" style="width: 900px; height: 500px;"></div>
</body>
</html>
-----------------------------------------

other :
-------------------------------------------
<?xml version=\"1.0\" standalone=\"no\"?>
<svg xmlns=\"http://www.w3.org/2000/svg\"
xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.0\"
width=\"900\" height=\"900\">
<defs>
<symbol id=\"s\" viewBox=\"0 0 3 3\">
<rect fill=\"#fff\" width=\"1\" height=\"1\"
x=\"1\" y=\"1\"/>
</symbol>
<symbol id=\"s1\" viewBox=\"0 0 900 900\">
<use xlink:href=\"#s\" x=\"0\" y=\"0\"
width=\"900\" height=\"900\"/>
<use xlink:href=\"#s\" x=\"0\" y=\"0\"
width=\"300\" height=\"300\"/>
<use xlink:href=\"#s\" x=\"300\" y=\"0\"
width=\"300\" height=\"300\"/>

</symbol>
</defs>
<rect width=\"900\" height=\"900\" fill=\"#000\"/>
<use xlink:href=\"#s\" x=\"0\" y=\"0\" width=\"900\"
height=\"900\"/>
<use xlink:href=\"#s4\" x=\"0\" y=\"0\" width=\"300\"
height=\"300\"/>

</svg>

---------------------------------------------

works nice in a inddependant file

--
Philippe Manet
en fait, c'est manet avant @

Reply With Quote
  #3  
Old   
Howard Schlossberg
 
Posts: n/a

Default Re: QR Codes - 03-01-2012 , 10:15 PM



Try preceding your HTML with this:
"data:text/html, " & quote($HTML)
where $HTML is the HTML that you have.


On 3/1/2012 1:29 PM, Philippe Manet wrote:
Quote:
works nice in a inddependant file

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg
FM Professional Solutions, Inc. Los Angeles

FileMaker Certified Developer
Associate Member, FileMaker Business Alliance

Reply With Quote
  #4  
Old   
Philippe Manet
 
Posts: n/a

Default SVG graphing feature (was : QR Codes - 03-05-2012 , 06:34 PM



Howard Schlossberg <howard (AT) nospam (DOT) fmprosolutions.com> wrote:

Quote:
Try preceding your HTML with this:
"data:text/html, " & quote($HTML)
where $HTML is the HTML that you have.
excellent !!!

one good exemple is typing exactly :


"data:text/html, "&"<html><body>
<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">

<rect width=\"300\" height=\"300\" fill=\"#888\" />
<rect x=\"35\" y=\"70\" width=\"3\" height=\"3\" fill=\"#F00\" />

</svg>
</body></html>"


it's a little complication, because one must preceed each " with \ but a
"find replace" in the original html page save lot of work.

replacing all numbers with FMP datas gives very powerful graphing
ressources.

Thank you very much Howard !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
svg functions are very simple to use.

--
Philippe Manet
en fait, c'est manet avant @

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.