× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Sorry I left that out, use the number followed 3 blanks. Such as '1 ' or '2 '.

Bill Scott
Océ North America, Inc.
Tel.: (561) 997-3256
e-mail: Bill.Scott@xxxxxxx

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Bill Reger
Sent: Thursday, January 15, 2009 2:34
To: Midrange Systems Technical Discussion
Subject: RE: Print files and Tray/Drawer selection

Okay, I'm sure this is a stupid question.

The Drawer Number program defined field (&DW) is alpha 4 bytes long. What value do I store if I want the "DRAWER(&DW)" keyword to use Drawer 2?

Perhaps "0002"?

Bill

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Scott, Bill
Sent: Wednesday, January 14, 2009 3:57 PM
To: Midrange Systems Technical Discussion
Subject: RE: Print files and Tray/Drawer selection



The DDS for an *AFPDS file doing drawer selection looks like this:
A*
A R DRAWR1 DRAWER(1) CDEFNT(X0GT10)
A DRAW 16A 30SPACEB(8)
A TXTA 16A 30SPACEB(1)
A R DRAWR2 DRAWER(2) CDEFNT(X0GT10)
A DRAW 16A 30SPACEB(8)
A TXTA 16A 30SPACEB(1)
A R DRAWRV DRAWER(&DW) CDEFNT(X0GT10)
A DRAW 16A 30SPACEB(8)
A TXTA 16A 30SPACEB(1)
A DW 4A P
A R ENDPAGE ENDPAGE

Note the drawer number can be a program defined field.

Older versions, before V5, seemed to get less confused if an ENDPAGE command was sent as a separate print record at the end of every page so that is still my coding practice.


This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law.

If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.

If you have received this communication in error, please notify the sender immediately by telephone and with a 'reply' message.

Thank you for your co-operation.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.