RajeshN
19th January 2004, 20:46
Hi

We are running BaanIVa on HPUX11.W
We have a Fax App which can only monitor Windows Queues and fax out stuff.
We are trying to redirect some of the reports to the Fax App.
Basically while printing from any Baan session the user would select the device as the Fax App and the output should be redirected to the Fax App..
So I guess the first task would be to direct the output to the windows queues.

Would appreciate any suggestions on how this can be done.

Thanks

t.leijdens
3rd February 2004, 19:29
Hello,

i did this on IBM-AIX, the command i used:

/usr/lib/lpd/pio/etc/piomisc_ext mkpq_remote_ext -q 'AIXQUEUE' -h 'SERVER' -r 'WINQUEUE' -t 'bsd' -d 'HP LaserJet 4050 Series PCL 6'

which means create a remote printqueue with queuename (-q) AIXQUEUE to server (-h) SERVER, attach it to the remote queue (-r) WINQUEUE of type (-t) bsd (= bsd unix printserver) with description (-d) HP Laserjet 4050 Series PCL 6

Try to find the the HP-UX command for creating a remote printqueue in the HP-UX manuals.

Hope this helps.

t.leijdens
4th February 2004, 20:19
Hi,

i have been looking in the hp-ux System Administrator manual and found the following:

Assuming a printer lp on a remote system system2, the command:
/usr/sbin/lpadmin -plp3 -v/dev/null -mrmodel -ocmrcmodel -osmrsmodel
-ormsystem2 -orplp
causes the spool system to use the local line printer lp3 and the model rmodel. The spool system also
uses the model rcmodel to cancel remote requests and rsmodel to get status from system2. In
addition, the remote system name system2 and the remote printer lp are used.
The following command performs the same operation as above.
/usr/sbin/lpadmin -plp3 -v/dev/null -mrmodel -ormsystem2 -orplp
Here the default remote cancel model rcmodel and the default remote status model rsmodel are used.