Problem
I received the error message "copy file too large" when I initiated a remote print job from the client.
Cause
This error comes from the line printer daemon (lpd) when it prints a file larger than 1 megabyte.
Solution
You should specify the mx parameter in /etc/printcap to allow the line printer daemon to print files larger than 1 megabyte.
(A) Edit /etc/printcap file on the client and find a line similar to the following:
printerl:\
:lp=rm=host2:rp=printerl:sd=/usr/spool/lpd/printerl:where:"printerl" is the name used on the client when referring to this printer.
"lp=" is used to specify the device name for a local printer.
"rm=" specifies the remote machine name or network name for the remote printer.
"rp=" is the remote machine name or the name of the print server.
"sd=" is the name of the spool directory on the client.
Add the mx parameter as follows:printerl:\
:lp=rm=host2:rp=printerl:sd=/usr/spool/lpd/printerl:mx#0:(B) Edit /etc/printcap file on the print server and find a line similar to the following:
printerl:\
:lp=/dev/lp0:sd=/usr/spool/lpd/printerl:where:printerl is the name to be used on the print server when referring to this printer.
lp= specifies the device name for the local printer.sd= is the name of the spooling directory on the print server.
Add the mx parameter as follows:printerl:\
:lp=/dev/lp0:sd=/usr/spool/lpd/printerl:mx#0: