Speicherung der PDFs auf C:\VeragTMP\USER_ gelegt
This commit is contained in:
@@ -934,7 +934,7 @@ Public Class usrcntlFiskaluebersicht
|
||||
|
||||
If Not checkWebsite(txtHomepage.Text) Then Exit Sub
|
||||
|
||||
Dim pdf = VERAG_PROG_ALLGEMEIN.cFormularManager.getPDFViaSpirePDF_FromURL(txtHomepage.Text) 'UU langsam....
|
||||
Dim pdf = VERAG_PROG_ALLGEMEIN.cFormularManager.getPDFViaSpirePDF_FromURL(txtHomepage.Text, DATENVERVER_OPTIONS.TMP_PATH & Guid.NewGuid().ToString() & ".pdf") 'UU langsam....
|
||||
|
||||
DS = New VERAG_PROG_ALLGEMEIN.cDATENSERVER("DOKUMENTE", "FISKALKUNDENANHAENGE", fk.FK_Datum, "", "", "Website", kdNr)
|
||||
Dim fi As New System.IO.FileInfo(pdf)
|
||||
|
||||
@@ -1354,9 +1354,10 @@ Public Class cFormularManager
|
||||
|
||||
doc.PageSettings.Orientation = Spire.Pdf.PdfPageOrientation.Landscape
|
||||
doc.PrintSettings.SelectSinglePageLayout(PdfSinglePageScalingMode.FitSize, True)
|
||||
|
||||
' doc.PrinterName = printerName
|
||||
' doc.PrintDocument.Print()
|
||||
|
||||
doc.SaveToFile(targetPath)
|
||||
End If
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user