Commit 7691f9df authored by Alistair Rodger's avatar Alistair Rodger
Browse files

Added call PDriver_Command not supported in ps and passed to the dumper in DP

parent be692109
......@@ -4,10 +4,10 @@
GBLS CurrentDate
GBLS CurrentTime
CurrentDate SETS "7 Aug 1997"
CurrentDate SETS "13 Aug 1997"
CurrentTime SETS "16:00:00"
GBLA VersionNumber
VersionNumber SETA 445
VersionNumber SETA 446
......@@ -114,6 +114,7 @@ SWI_branch_table
B miscop ;PDriver_MiscOpForDriver
B configure_setdriver ;PDriver_SetDriver
B jpegswi ;PDriver_JPEGSWI
B command ;PDriver_Command
......@@ -14,6 +14,15 @@
; > Sources.PDriverDP.Private
;AR this simply calls the dumper with the Command Reason Code
Push "r11,lr"
MOV r11, #PDumperReason_Command
BL CallPDumper
Pull "r11,pc"
;aims to dump chunk of about 32 rows, subject to remaining height
;and chunk being multiple of dump depth (except last chunk)
......@@ -13,6 +13,16 @@
; limitations under the License.
; > Sources.PDriverPS.Private
;AR PostScript at present does not do Command so an error is raised here.
Push "lr"
; Raise an error "Command Not Supported"
ADRL r0, ErrorBlock_PrintBadFeatures ;BadCommandOption
BL LookupSingle ;this sets the V bit
Pull "pc"
; Private subroutines only needed for the PostScript printer driver
......@@ -148,6 +148,10 @@
;; 07 May 97 JRC 4.41 Enable escapes round all calls to PDumper, and also replace the escape handler
;; with a NOP (otherwise, we end up calling the current escape handler when we
;; acknowledge the escape, which has potentially horrible consequences).
;; 07 Aug 97 AR Moved the final redirection to the screen to after the call to abort code
;; Abort code can ( on escapes ) send reset info to the printer.
;; 13 Aug 97 AR Added code to handle the command SWI. This essentially passes control to
;; the dumper that is connected. The handler is kept in the private file
GBLS PrinterType
PrinterType SETS "bit image"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment