Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to do landscape print to an AIX print queue.

272 views
Skip to first unread message

west...@accessus.net

unread,
Apr 24, 2000, 3:00:00 AM4/24/00
to
I tried to perform landscape to an AIX print queue but it still prints
portrait. The command I used from an earlier posting from "Paul" was;
qprt -Pqueuename -z+ /your/file.

I made no change to the /etc/qconfig file.

Thanks in advance.

Ray.


LAIX Software Consulting

unread,
Apr 25, 2000, 3:00:00 AM4/25/00
to
What is the queue's backend program?
How is the printer attached?

If you're using a remote queue with standard processing for example, there
is no virtual printer to understand what "-z+" means.

Regards,
Paul

west...@accessus.net

unread,
Apr 25, 2000, 3:00:00 AM4/25/00
to

It is a standard remote print queue via LPD. I'm remote from the
office now - I'm not sure there is a backend program.

LAIX Software Consulting

unread,
Apr 25, 2000, 3:00:00 AM4/25/00
to
A standard remote print queue (rembak backend program) doesn't have a virtual
printer to understand the -z flag and thus would pass the flag to the server to
interpret. Add the queue with local filtering instead.

Regards,
Paul

Kate Juliff

unread,
Apr 30, 2000, 3:00:00 AM4/30/00
to
I print from AIX to a printer on an NT network. Is that what you're
doing? If you want to print landscape you could try what I did. I
wrote a script thatat echos the escape sequence for landscape for the
printer in question and echoes the file to be printed onto that. Then
it sends the whole lot to the NT queue.

Works fine.

Kate

In article <39058C78...@flash.net>,


Sent via Deja.com http://www.deja.com/
Before you buy.

Michael McEwen

unread,
May 3, 2000, 3:00:00 AM5/3/00
to
Kate;

I have an RS6000 running AIX 3.x on an NT network, and I need to print to an
NT printer. How did you do that? BTW, I'm not a unix person, I kind of
inherited the RS6000 from the previous person.

Thanks,

-Michael

Kate Juliff wrote in message <8ehpa8$nvp$1...@nnrp1.deja.com>...

LAIX Software Consulting

unread,
May 4, 2000, 3:00:00 AM5/4/00
to
On AIX 4.x it's pretty easy - "smit mkpq" and pick "remote" and use "local
filtering" to create a queue that formats the job (including escape codes for
landscape) before sending it to the NT server. This is done by the backend
shell script piorlfb, which calls piobe to format the print job, and then calls
rembak to send the formatted file. On AIX 3.x however, this little jewel
piorlfb didn't exist. You could create something similar. Most folks on AIX
3.x used a method called "double queueing" in which you create a standard
processing (only option in AIX 3.x) remote queue, then create a virtual printer
queue to do the formatting, and then modify that queue to requeue the jobs to
the remote queue. Very messy - and lots of queues potentially. Basically:

1) Create a remote print queue to the NT server via smit
2) Create a bogus file in /dev
3) Use "mkvirprt" to create a queue that prints to the file created in step 2
4) Use "lsvirprt" and select the queue created in step 3
5) Do a "mo~v" and at the bottom of the file "o"pen a new line like:
'|/usr/bin/enq -P remoteQueue'
where remoteQueue is the queue created in step 1.

Very messy but it works. If the printer is on the network - not physically
attached via serial or parallel connection to the NT server, consider printing
to the printer directly instead.

Best regards,
Paul Laymon
laix...@flash.net
http://www.flash.net/~laixsoft

Andy Helsby

unread,
May 6, 2000, 3:00:00 AM5/6/00
to
On Wed, 03 May 2000 23:48:47 GMT, "Michael McEwen"
<mikem...@mcewenconsulting.com> wrote:

>Kate;
>
>I have an RS6000 running AIX 3.x on an NT network, and I need to print to an
>NT printer. How did you do that? BTW, I'm not a unix person, I kind of
>inherited the RS6000 from the previous person.

you will need to install tcpip printing on NT - control
panel,network, services (I think off the top of my head).
see also laix's reply
Andy

--
Remove your brain to reply

0 new messages