Groups
Groups
Sign in
Groups
Groups
RapidReportサポート QAフォーラム
Conversations
About
Send feedback
Help
直接印刷だとバーコードが印字されない件
82 views
Skip to first unread message
YK
unread,
Jun 9, 2026, 2:30:03 AM
Jun 9
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RapidReportサポート QAフォーラム
お世話になります。
C# (.NET Framework 4.8) および RapidReport v5.17 の環境にて
帳票出力を行っています。
実行環境:Windows Server 2022
以下の2パターンで出力を行ったところ、
バーコード(Code39)の出力結果が異なっています。
① PDFファイル出力
PdfRenderer renderer = new PdfRenderer(fs, pdfSetting);
pages.Render(renderer);
→ 生成されたPDFファイルにはバーコードが正常に出力されます。
② 直接印刷
Printer printer = new Printer(pages);
printer.PrintDocument.PrinterSettings.PrinterName = printerName;
printer.PrintDocument.Print();
→ 印刷結果において、バーコード部分のみ空白となります。
(文字やロゴ画像は正常に印刷されます)
なお、①で生成したPDFファイルを表示するとバーコードは正常に表示されています。
RapidReportのバーコード(Code39)を直接印刷する際に必要な設定や、
既知の制限事項等がございましたらご教示いただけますでしょうか。
よろしくお願いいたします。
RapidReport
unread,
Jun 10, 2026, 8:08:16 PM
Jun 10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RapidReportサポート QAフォーラム
直接印刷でバーコードを出力するためには、
RapidReportのインストールフォルダのlib/dotnetにあるsystembase.barcode.dll
を参照に追加する必要があります。
このファイルが追加されているかをご確認ください。
2026年6月9日火曜日 15:30:03 UTC+9 YK:
YK
unread,
Jun 10, 2026, 9:37:37 PM
Jun 10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RapidReportサポート QAフォーラム
systemBase.Barcode.dll (2020/07/31 11:07 ファイルバージョン1.4.0 となっています)はプロジェクトの参照には追加されています。
Debug/Releaseにも配置されています。
2026年6月11日木曜日 9:08:16 UTC+9 RapidReport:
RapidReport
unread,
Jun 11, 2026, 8:17:05 PM (14 days ago)
Jun 11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RapidReportサポート QAフォーラム
本現象が
・ライブラリ参照などのプロジェクト設定の問題
・バーコード化しようとしているデータの問題
のどちらが原因なのかを切り分けたいので、
以下を試していただけますでしょうか。
バーコード要素を帳票上に配置し、式を'12345'という定数とする。
この要素を含んだサンプルをお送りします。
2026年6月11日木曜日 10:37:37 UTC+9 YK:
example.rrpt
YK
unread,
Jun 11, 2026, 9:43:33 PM (14 days ago)
Jun 11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RapidReportサポート QAフォーラム
サンプルのrrptで試したところ
PDF出力ではバーコードが表示されましたが、直接印刷ではバーコード部分含めすべて白紙の紙が印刷されました。
2026年6月12日金曜日 9:17:05 UTC+9 RapidReport:
RapidReport
unread,
Jun 15, 2026, 7:59:48 PM (10 days ago)
Jun 15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RapidReportサポート QAフォーラム
返答遅くなりすみません。
バーコードを表示する際は他にNugetでZxing.NETを追加する必要があります。
(すみません、初回返答にこの内容も含めるべきでした)
こちらで、v5.17を用いて 直接印刷で code39バーコードを出力する最小限のプロジェクトを
作成してみましたので、内容をご確認ください。
http://rapidreport.systembase.co.jp/support/example20260615.zip
2026年6月12日金曜日 10:43:33 UTC+9 YK:
YK
unread,
Jun 16, 2026, 4:15:40 AM (9 days ago)
Jun 16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RapidReportサポート QAフォーラム
NugetでZxing.NETを追加にて、直接印刷でバーコードの表示が可能となりました!
ご対応いただきありがとうございます。
2026年6月16日火曜日 8:59:48 UTC+9 RapidReport:
Reply all
Reply to author
Forward
0 new messages