Examples for the -o flag

This section describes examples for the -o flag:
  • To submit the ASCII file myfile to the InfoPrint logical destination called Xserv-lp with four copies printed on one side of hole-punched paper, which is stored in the secondary bin of the printer device, enter:
    enq -P Xserv-lp -obin=2 -ocopies=4 -oduplex=n myfile

    InfoPrint includes a form definition that specifies single-sided printouts of hole-punched paper from bin 2. If this form definition (F1H10120) is installed in the default directory, you could alternatively type:

    enq -P Xserv-lp -ocopies=4 -oformdef=F1H10120 myfile

  • To submit AFP data stream files file1 and file2 to the InfoPrint logical destination called dtsrv-lp, with a search path for fonts of /home/afpfonts, enter:
    lp -d dtsrv-lp -osrchfontlib=/home/afpfonts file1 file2
  • To submit the PostScript file myfile to the InfoPrint logical destination called servB-lp (which has a resolution of 300 pels), with a form definition of F1PP0120, with no reported block-positioning errors for the resulting image, and with a maximum of 100 printed messages, enter:
    qprt -P servB-lp -o-r300 -odatac=blkpos -odatat=ps -of=F1PP0120
       -omsgc=100 myfile