ADC Home > Reference Library > Technical Notes > Legacy Documents > Printing >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Spooler Queries?

CONTENTS

[Jul 01 1987]






Introduction

When the LaserShare spooler is on an AppleTalk network, it acts like a LaserWriter-type device, which can be chosen and communicated with much like a real LaserWriter. Some applications, however, must communicate with a LaserWriter directly, not a spooler. If this is true for your application, you can check whether you are actually talking to a real LaserWriter by sending to the LaserWriter the following query:

    %!PS-Adobe-1.2 Query
    %%Title: Query to Spooler/Non-Spooler status
    %%?BeginSpoolerQuery
    (0) = flush
    %%?EndSpoolerQuery 1

(The query has to be sent using the Printer Access Protocol (PAP). The object code for PAP is available from Licensing.) If the string returned begins with a "%%" then it is a status string, and you can ignore it and wait for another string. If the LaserWriter is actually a LaserShare spooler, then the string that is returned will be "1." If the LaserWriter is a real LaserWriter then the string returned will be "0."

Back to top

References

PostScript Language Reference Manual

Adobe Systems Document Structuring Conventions

Back to top

Downloadables

Acrobat gif

Acrobat version of this Note (36K).

Download



Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.