Technical article 107429

Get "copy file too large" error when initiating remote print job.

OpenServer 6.0.0OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7

Written · Last revised

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:

From the Xinuos technical article database, record 107429. Reproduced with permission. The original is at www.sco.com/ta/107429, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.