cDatenserver, StartOpt, Mitarbeiter, etc.
This commit is contained in:
@@ -272,7 +272,7 @@ Public Class cUIDPruefung
|
||||
If counter Mod 100 = 0 OrElse errorCounter > 10 Then
|
||||
If errorCounter > 10 Then errorCounter = 0
|
||||
FO.Call_Web_Service_MethodUID_Logout_NEU2020()
|
||||
Thread.Sleep(2000)
|
||||
Thread.Sleep(5000)
|
||||
FO.Call_Web_Service_MethodUID_Login_NEU2020()
|
||||
r("Re-Login") = "1"
|
||||
End If
|
||||
|
||||
@@ -1398,9 +1398,9 @@ Public Class cFormularManager
|
||||
|
||||
If doc.Pages.Count = 0 Then Continue For
|
||||
Dim size = doc.Pages(0).Size
|
||||
If size.Width <= 0 OrElse size.Height <= 0 Then Continue For
|
||||
' --- Druckeinstellungen ---
|
||||
doc.PrintSettings.PrinterName = printerName
|
||||
If size.Width <= 10 OrElse size.Height <= 10 Then Continue For 'zu kleine Seiten überspringen
|
||||
' --- Druckeinstellungen ---
|
||||
doc.PrintSettings.PrinterName = printerName
|
||||
doc.PageSettings.Size = Spire.Pdf.PdfPageSize.A4
|
||||
doc.PageSettings.Orientation = Spire.Pdf.PdfPageOrientation.Landscape
|
||||
doc.PrintSettings.SelectSinglePageLayout(PdfSinglePageScalingMode.FitSize, True)
|
||||
|
||||
Reference in New Issue
Block a user