• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 549
  • Last Modified:

Printing and form feed between jobs on AIX

Not really an AIX wizard asking this.
How can I add an form-feed between print-jobs on a AIX network line-printer (BSD) definition is pioattr, something...
1 Solution
AIX manage printers thru virtual printers that are views of physical printers;
so, a request to print is queued thru the enq command (called by lp, or lpr, or enq));
queues are managed with infos on /etc/qconfig file; then qdaemon process pass the request at the virtual printer reqiested, which is connected to a physical printer (can be somewhere, even thru tcpip, a daemon lpd)

When you want to add a form-feed between jobs, you must add it on the logical printer;
you can read characteristics of logical printer with the lsvirprt command (for list virtual printers), that is an interactive program: you must choose the virtual printer you want to list;
at the beginning of the listing you will see the _Z parameter (aroud the 27th param)
here, a ! means no form feed, + means yes;

If you are familiar to this, you can edit directly the file of the logical printer (in /vas/spool/lpd/pio/custom/mame_of_virtimp)
otherwise, you must add a new virtual printer based on the already existing, just modifying the _Z parameter: the command is mkvirprt (or smit virprt to operate thru smit)

hwillekensAuthor Commented:
Found it already, but thanks for the effort : 100 Points..
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now