0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

rex0220 印刷屋プラグイン QRコード表示

Last updated at Posted at 2025-02-27

rex0220 印刷屋プラグインで、QRコードを表示してみます。

概要

rex0220 印刷屋プラグイン テーブル複数ページに、QRコードを追加しています。

今回の QRコードは、名称を google 検索する URL です。
URL("https","www.google.com/search?q="&名称)

#{&q()} で、囲んだテキストを QRコードに変換し、img として配置します。

<img src="#{&q(abc)"}>

2025-02-27_21h07_34.png

  • プレビューイメージ

2025-02-27_21h16_24.png

印刷屋プラグイン設定

2025-02-27_21h11_50.png

2025-02-27_21h12_36.png

.row-no,
.value-image {
  text-align: center;
}
.pcraft-table-td-value {
  max-width: 300px;
}
.pcraft-table-td-value img {
  width:150px;
}
TABLE_HTML(テーブル,
  OPT("title","時計","pagination","Y"),
  OPT("perPage","5"),
  ARRAY("#",ROWNO(テーブル)+1,"row-no"),
  名称,
  ARRAY("QR", "<img src='#{&q(" & URL("https","www.google.com/search?q="&名称) & ")}'>", "value-image"),
  ARRAY("画像", IMGSRC(添付ファイル,0,"img"), "value-image")
)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?