On May 7, 5:14 am, rockingred <willsteve2
...@yahoo.ca> wrote:
> On most PICK like systems you can use SP-ASSIGN ? to find out which
> printer a port is currently assigned to. Then you can capture that
> information and use it for printer settings. I have a specific
> printer that I want to print in compressed mode for certain reports
> and landscaped for others, but the SP-ASSIGN ? command doesn't work in
> UNIX.
> What is the equivalent to SP-ASSIGN ? command? (Or is there a way to
> set up the printer to always be compressed for one queue and
> landscaped for another?)
Hi Rockingred,
Not to be picky (no pun intended), but on most PICK like systems you
can use SP-ASSIGN ? to find out which *print queue* a port is
currently assigned to.
Unidate does not have a generic Pick print spooler like you a used to
using on the other generic Pick(R) databases you work on.
The SP-ASSIGN command on Unidata simply provides a "Pick(R) -like
syntax to achieve SETPTR operations" according to the Unidata
Commands Reference Manual.
In other words, it performs a SETPTR operation using SP-ASSIGN syntax
but, in Unidata, it does assign your port's output to a printer, not
to a print queue.
You can interrogate the current setting of any print unit assigned to
your port by issueing the SETPTR command followed by the print unit
number. No number is interpreted at the default print unit number
zero.
SETPTR (without a number) will show you the print settings on print
unit zero.
SETPTR 1 will show you the print settings on print unit 1, etc.
<AD> If you would like to have a generic Pick print spooler running on
either UniData or on UniVerse, check out our SpoolerPlus product at
www.sysmarkinfo.com or call me at 800-SYSMARK (800-797-6275) or email
me at davet at sysmarkinfo dot com.
SpoolerPlus will give you the queues, printers, hold file, commands
and functionality that your are used to using on generic Pick
databases. </AD>
Let me know if you have any other questions.
Rgds,
Dave Taylor
Sysmark Information Systems, Inc.
Authorized IBM Business Partner