Google Groups Home
Help | Sign in
Unidata on Unix SP-ASSIGN ? command
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
rockingred  
View profile
 More options 7 May, 13:14
Newsgroups: comp.databases.pick
From: rockingred <willsteve2...@yahoo.ca>
Date: Wed, 7 May 2008 05:14:35 -0700 (PDT)
Local: Wed 7 May 2008 13:14
Subject: Unidata on Unix SP-ASSIGN ? command
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?)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Gravagno  
View profile
 More options 7 May, 22:44
Newsgroups: comp.databases.pick
From: Tony Gravagno <address.is.in.po...@removethis.com.invalid>
Date: Wed, 07 May 2008 14:44:25 -0700
Local: Wed 7 May 2008 22:44
Subject: Re: Unidata on Unix SP-ASSIGN ? command
Unless you get another good response, check out PrintWizard, which can
do what you ask:
remove.pleaseNebula-RnD.com/products/printwizard.htm


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave  
View profile
 More options 8 May, 18:36
Newsgroups: comp.databases.pick
From: Dave <da...@sysmarkinfo.com>
Date: Thu, 8 May 2008 10:36:08 -0700 (PDT)
Local: Thurs 8 May 2008 18:36
Subject: Re: Unidata on Unix SP-ASSIGN ? command
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rockingred  
View profile
 More options 9 May, 19:20
Newsgroups: comp.databases.pick
From: rockingred <willsteve2...@yahoo.ca>
Date: Fri, 9 May 2008 11:20:11 -0700 (PDT)
Local: Fri 9 May 2008 19:20
Subject: Re: Unidata on Unix SP-ASSIGN ? command
On May 8, 1:36 pm, Dave <da...@sysmarkinfo.com> wrote:

Thanks Dave, but what if I don't know which printer/printer queue the
port is currently assigned to?  Basically I want to find out which is
in use before using specific ESC codes.  So if port 10 is using
printer 0 it needs the ESC code set for the Lexmark printer.  If it's
using printer 1 it requires the ESC code set for the HP printer.

I'm assuming when SETPTR is used it actually assigns the printer to
the current port, which is not what I want to do in this instance.

Sincerely,
Marianne.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google