Print Command Types

There are three types of commands that you can use to send print jobs from Calyx RIM to the printer:

  • lpr - Copy a volume .prn file to a network printer that uses a line printer dæmon.
  • copy - Copy a volume .prn file to a Windows Printer Port which has been set up using the Windows printer driver, on shared Windows printers.
  • ftp - Use an ftp (file transfer protocol) service to transfer .prn files to a printer.

lpr command

Use the lpr (line printer requester) command to copy a volume .prn file to a network printer, which is running a line printer dæmon ( lpd) process.

In the following examples, the -o l argument (lowercase O, space, lowercase L) designates a binary file. Use this argument to send all Calyx RIM output to any network printer.

This is the format for the lpr command line: lpr -o l -S <printer name or IP Address> -P print <Printable output file name>

lpr -o l -S 10.224.140.8 -P print C:\MyOutout\v0000001.prnlpr -o l -S Ecopy2.us.liquent.com -P print v0000001.prn

copy command

Use the copy command to copy a volume .prn file to a shared Windows printer port that has been set up using the Windows printer driver for the target printer.

This is the format for the copy command line: copy /B < Printable output file name> <Windows Printer Port>

copy /B C:\MyOutout\v0000001.prn \\LIQUENTPRINT\Ecopy2
Note: The /B argument designates binary file. This argument should be used for sending all Calyx RIM output to any network printer.

ftp command

Use ftp (File Transfer Protocol) to exchange files over your network between your computer and your printer. You can use ftp with the Windows Command Prompt or with an ftp client program that offers a graphical user interface to transfer files from Calyx RIM to an ftp-capable printer.

To use ftp to transfer files to the printer, an ftp service must be running on the printer controller. Before transferring files using put, mput or send, set the transfer type to binary by sending the binary command.

For additional information about high-speed printing, refer to the instruction manual for your printer.