Skip to content

Commit 356fd62

Browse files
authored
Merge branch 'master' into akw-fix-1883-clos-browser
2 parents 60195c4 + 499e3ab commit 356fd62

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

library/PDFSTREAM

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
(DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "INTERLISP" BASE 10)
22

3-
(FILECREATED "23-Feb-2025 12:18:57" {WMEDLEY}<library>PDFSTREAM.;62 14729
3+
(FILECREATED " 5-Jun-2025 08:42:11" {WMEDLEY}<library>PDFSTREAM.;64 14885
44

55
:EDIT-BY rmk
66

77
:CHANGES-TO (FNS OPEN-PDF-STREAM)
88

9-
:PREVIOUS-DATE "25-Dec-2024 14:26:23" {WMEDLEY}<library>PDFSTREAM.;60)
9+
:PREVIOUS-DATE "23-Feb-2025 12:18:57" {WMEDLEY}<library>PDFSTREAM.;62)
1010

1111

1212
(PRETTYCOMPRINT PDFSTREAMCOMS)
@@ -153,7 +153,8 @@
153153
(DEFINEQ
154154

155155
(OPEN-PDF-STREAM
156-
[LAMBDA (FILE OPTIONS) (* ; "Edited 23-Feb-2025 12:18 by rmk")
156+
[LAMBDA (FILE OPTIONS) (* ; "Edited 5-Jun-2025 08:41 by rmk")
157+
(* ; "Edited 23-Feb-2025 12:18 by rmk")
157158
(* ; "Edited 23-Sep-2023 15:38 by rmk")
158159
(* ; "Edited 22-Sep-2023 11:04 by rmk")
159160
(* ; "Edited 24-Jun-2023 14:49 by rmk")
@@ -165,8 +166,6 @@
165166
(* ;;
166167
 "Simplest thing for now is to just add an extra field at the end of the \POSTSCRIPTDATA record.")
167168

168-
(* ;; "")
169-
170169
(if [AND NIL (EQ 'LPT (FILENAMEFIELD FILE 'HOST]
171170
then
172171
(* ;; "If FILE is on the LPT device, we could just ssume that it can be printed directly, no point in converting. But then we would alo have to lie and give it a PDF extension so it thinks that we are heading to a PDF printer.")
@@ -178,8 +177,9 @@
178177
(* ;; "Device NULL used by TMAX, maybe others, to get page number for table of contents, index. Nothing to convert")
179178

180179
(OPENPOSTSCRIPTSTREAM FILE OPTIONS)
181-
elseif (SETQ FILE (OR (AND (NEQ FILE T)
182-
(OUTFILEP FILE))
180+
elseif (SETQ FILE (OR [AND (NEQ FILE T)
181+
(OR (OUTFILEP FILE)
182+
(OPENSTREAM FILE 'OUTPUT]
183183
(ERROR "PDF target file not found" FILE)))
184184
then (CL:UNLESS (ASSOC (PDFCONVERTER)
185185
PDF-CONVERTER-TEMPLATES)
@@ -293,7 +293,7 @@
293293
)
294294
(DECLARE%: DONTCOPY
295295
(FILEMAP (NIL (3263 5877 (PDFFILEP 3273 . 4187) (PDF.HARDCOPYW 4189 . 4787) (PDF.TEXT 4789 . 5506) (
296-
PDF.TEDIT 5508 . 5875)) (6317 13806 (OPEN-PDF-STREAM 6327 . 8892) (CLOSE-PDF-STREAM 8894 . 10181) (
297-
PS-TO-PDF 10183 . 13804)) (13807 14371 (SEE-PDF 13817 . 14369)) (14422 14706 (PDFCONVERTER 14432 .
298-
14704)))))
296+
PDF.TEDIT 5508 . 5875)) (6317 13962 (OPEN-PDF-STREAM 6327 . 9048) (CLOSE-PDF-STREAM 9050 . 10337) (
297+
PS-TO-PDF 10339 . 13960)) (13963 14527 (SEE-PDF 13973 . 14525)) (14578 14862 (PDFCONVERTER 14588 .
298+
14860)))))
299299
STOP

library/PDFSTREAM.LCOM

42 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)