Source/StdFileSaver.a

;
; Copyright 1991-1996 Apple Computer. All rights reserved.
;
;   You may incorporate this sample code into your applications without
;   restriction, though the sample code has been provided "AS IS" and the
;   responsibility for its operation is 100% yours.  However, what you are
;   not permitted to do is to redistribute the source as "DSC Sample Code"
;   after having made changes. If you're going to re-distribute the source,
;   we require that you make it clear in the source that the code was
;   descended from Apple Sample Code, but that you've made changes.
;
 
; all functions just say that everything is fine and nothing else
; see also StdFileSaver.c for an alternate version of the driver
;
; a printer driver related to a physical device would do more
 
 
_Debugger   OPWORD  $A9FF
 
XPRINT  PROC    EXPORT
    
    DC.W    $0C00
    DC.W    $0000
    DC.W    $0000
    DC.W    $0000
    DC.W    DRVROPEN
    DC.W    DRVRPRIME
    DC.W    DRVRCONTROL
    DC.W    DRVRSTATUS
    DC.W    DRVRCLOSE
    DC.B    '.Print'
    DC.B    $20
 
DRVROPEN
    MOVE.B  $0A,$0007(A1)   ; this sets the version to 0xa
            ; this version is used by PrDrvrVers()
 
DRVRPRIME
DRVRSTATUS
DRVRCLOSE
    MOVEQ   #$00,D0
    RTS
DRVRCONTROL
    MOVEQ   #$00,D0
    MOVE.L  $08FC,-(A7) ; $08FC is JIODone
    RTS
 
    ENDPROC
    END