薬袋印刷がおかしい

新規投稿者

金魚
投稿日 2018/06/19 16:19:39
金魚です

以下の処方を入力後、薬袋印刷をしてみてください。
プログラフカプセル0.5mg 2C
プログラフ顆粒0.2mg   8包
テプレノン細粒10%     1g
ウルソ顆粒5%       1g 2X朝夕食後 28日分
テプレノン、ウルソはそれぞれ分包しており混合ではありません

先月までは異常なかったのですが、現在このまま薬袋印刷すると
プログラフカプセルと顆粒はちゃんと表示されますが、テプレノンと
ウルソの部分が重なり合ってしまいますし、何故かカプセルの表示に
成ってしまいます。
プログラフカプセルを外してみるとカプセル表示から粉表示に成り
それぞれがちゃんと分かれて表示されます。ご検証ください。

返信 5

投稿日 2018/08/13 15:48:45
Version:20180802版
System.ArgumentOutOfRangeException: インデックスが範囲を超えています。負でない値で、コレクションのサイズよりも小さくなければなりません。
パラメーター名:index
場所 System.Collections.ArrayList.get_Item(Int32 index)
場所 System.Windows.Forms.DataGridViewRowCollection.SharedRow(Int32 rowIndex)
場所 System.Windows.Forms.DataGridViewRowCollection.get_Item(Int32 index)
場所 WindowsApplication1.Models.YakutaiDataGridView.get_Item(Int32 index)
場所 WindowsApplication1.Print.DocumentNormal.gaiyou()
場所 WindowsApplication1.Print.DocumentNormal.Draw外用明細(IPrintPageEventArgs e, Int32 ページ内の薬品種類数, Single& y)
場所 WindowsApplication1.Print.DocumentNormal.OnPrintPage(IPrintPageEventArgs e)
場所 WindowsApplication1.Print.BaseDocument.OnPrintPage(PrintPageEventArgs e)
場所 System.Drawing.Printing.PrintDocument._OnPrintPage(PrintPageEventArgs e)
場所 System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
場所 System.Drawing.Printing.PrintController.Print(PrintDocument document)
場所 System.Drawing.Printing.PrintDocument.Print()
場所 WindowsApplication1.EditForm.PrintNormalDocument(BaseDocument document, PageSetupDialog pageSetup, Action printAction)
場所 WindowsApplication1.EditForm.ButtonA6Print_Click(Object sender, EventArgs e)
場所 System.Windows.Forms.Control.OnClick(EventArgs e)
場所 System.Windows.Forms.Button.OnClick(EventArgs e)
場所 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
場所 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
場所 System.Windows.Forms.Control.WndProc(Message& m)
場所 System.Windows.Forms.ButtonBase.WndProc(Message& m)
場所 System.Windows.Forms.Button.WndProc(Message& m)
場所 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
場所 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
RPPMAN, Version=2.99.6788.20570, Culture=neutral, PublicKeyToken=null
System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
GalaSoft.MvvmLight, Version=5.3.0.19038, Culture=neutral, PublicKeyToken=0e453835af4ee6ce
System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
SimpleInjector, Version=3.2.2.0, Culture=neutral, PublicKeyToken=984cb50dea722e99
System.Runtime, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
RPPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Microsoft.Practices.ServiceLocation, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
mscorlib.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=b77a5c561934e089
Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
SimpleInjector.Compiled, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
PresentationFramework.Aero, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Threading.Tasks, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
PresentationFramework-SystemXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
PresentationCore.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=31bf3856ad364e35
UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Deployment.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Data.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=b77a5c561934e089
System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Windows.Forms.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=b77a5c561934e089
Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
WindowsFormsIntegration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
RPPMAN薬袋, Version=2.6.6788.20566, Culture=neutral, PublicKeyToken=null
PresentationFramework.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=31bf3856ad364e35
PresentationFramework-SystemCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
PresentationFramework-SystemData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35

返信 4

ken
投稿日 2018/06/22 19:35:23
いつもお世話になっております。

薬袋編集画面での小児用量監査が出来なくなってしまいました。

返信 3

谷口 英一
投稿日 2018/06/22 13:13:40
金魚さん、おおたさん、

いつも情報、ありがとうございます。
修正をお願いしていますので、しばらくお待ちください。

返信 2

おおた
投稿日 2018/06/22 10:53:46
軟膏の混合と混合でない単品の処方が重なったときにエラーになるようです。

Version:20180620版
System.ArgumentOutOfRangeException: インデックスが範囲を超えています。負でない値で、コレクションのサイズよりも小さくなければなりません。
パラメーター名:index
場所 System.Collections.ArrayList.get_Item(Int32 index)
場所 System.Windows.Forms.DataGridViewRowCollection.SharedRow(Int32 rowIndex)
場所 System.Windows.Forms.DataGridViewRowCollection.get_Item(Int32 index)
場所 WindowsApplication1.Models.YakutaiDataGridView.get_Item(Int32 index)
場所 WindowsApplication1.Print.DocumentNormal.gaiyou()
場所 WindowsApplication1.Print.DocumentNormal.Draw外用明細(IPrintPageEventArgs e, Int32 ページ内の薬品種類数, Single& y)
場所 WindowsApplication1.Print.DocumentNormal.OnPrintPage(IPrintPageEventArgs e)
場所 WindowsApplication1.Print.BaseDocument.OnPrintPage(PrintPageEventArgs e)
場所 System.Drawing.Printing.PrintDocument._OnPrintPage(PrintPageEventArgs e)
場所 System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
場所 System.Drawing.Printing.PrintController.Print(PrintDocument document)
場所 System.Drawing.Printing.PrintDocument.Print()
場所 System.Windows.Forms.PrintPreviewControl.ComputePreview()
場所 System.Windows.Forms.PrintPreviewControl.CalculatePageInfo()
場所 System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
場所 System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
場所 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
場所 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
場所 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
場所 System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
場所 System.Windows.Forms.Control.InvokeMarshaledCallbacks()

mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
RPPMAN, Version=2.99.6745.30199, Culture=neutral, PublicKeyToken=null
System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
GalaSoft.MvvmLight, Version=5.3.0.19038, Culture=neutral, PublicKeyToken=0e453835af4ee6ce
System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
SimpleInjector, Version=3.2.2.0, Culture=neutral, PublicKeyToken=984cb50dea722e99
System.Runtime, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
RPPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Microsoft.Practices.ServiceLocation, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
mscorlib.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=b77a5c561934e089
Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
SimpleInjector.Compiled, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
PresentationFramework.Aero, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Threading.Tasks, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
PresentationFramework-SystemXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
PresentationCore.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=31bf3856ad364e35
UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Deployment.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Data.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=b77a5c561934e089
System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
RPPMAN薬袋, Version=2.6.6745.30117, Culture=neutral, PublicKeyToken=null
System.Windows.Forms.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=b77a5c561934e089

返信 1

おおた
投稿日 2018/06/21 12:53:00
エラーがでます。印刷できません。

Version:20180619版
System.ArgumentOutOfRangeException: インデックスが範囲を超えています。負でない値で、コレクションのサイズよりも小さくなければなりません。
パラメーター名:index
場所 System.Collections.ArrayList.get_Item(Int32 index)
場所 System.Windows.Forms.DataGridViewRowCollection.SharedRow(Int32 rowIndex)
場所 System.Windows.Forms.DataGridViewRowCollection.get_Item(Int32 index)
場所 WindowsApplication1.Models.YakutaiDataGridView.get_Item(Int32 index)
場所 WindowsApplication1.Print.DocumentNormal.gaiyou()
場所 WindowsApplication1.Print.DocumentNormal.Draw外用明細(IPrintPageEventArgs e, I印刷薬品 薬品, Int32 ページ内の薬品種類数, Single& y)
場所 WindowsApplication1.Print.DocumentNormal.OnPrintPage(IPrintPageEventArgs e)
場所 WindowsApplication1.Print.BaseDocument.OnPrintPage(PrintPageEventArgs e)
場所 System.Drawing.Printing.PrintDocument._OnPrintPage(PrintPageEventArgs e)
場所 System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
場所 System.Drawing.Printing.PrintController.Print(PrintDocument document)
場所 System.Drawing.Printing.PrintDocument.Print()
場所 System.Windows.Forms.PrintPreviewControl.ComputePreview()
場所 System.Windows.Forms.PrintPreviewControl.CalculatePageInfo()
場所 System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
場所 System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
場所 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
場所 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
場所 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
場所 System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
場所 System.Windows.Forms.Control.InvokeMarshaledCallbacks()

mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
RPPMAN, Version=2.99.6744.16840, Culture=neutral, PublicKeyToken=null
System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
GalaSoft.MvvmLight, Version=5.3.0.19038, Culture=neutral, PublicKeyToken=0e453835af4ee6ce
System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
SimpleInjector, Version=3.2.2.0, Culture=neutral, PublicKeyToken=984cb50dea722e99
System.Runtime, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
RPPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Microsoft.Practices.ServiceLocation, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
mscorlib.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=b77a5c561934e089
Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
SimpleInjector.Compiled, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
PresentationFramework.Aero, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Threading.Tasks, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
PresentationFramework-SystemXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
PresentationCore.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=31bf3856ad364e35
UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Deployment.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Data.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=b77a5c561934e089
System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
RPPMAN薬袋, Version=2.6.6744.16836, Culture=neutral, PublicKeyToken=null
System.Windows.Forms.resources, Version=4.0.0.0, Culture=ja, PublicKeyToken=b77a5c561934e089

返信する