From owner-freebsd-questions Tue May 25 16: 3:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from WEBBSD1.turnaround.com.au (webbsd1.turnaround.com.au [203.39.138.49]) by hub.freebsd.org (Postfix) with ESMTP id 44D3F15AB9 for ; Tue, 25 May 1999 16:03:10 -0700 (PDT) (envelope-from A_Johns@TurnAround.com.au) Received: from TurnAround.com.au (dhcp64.turnaround.com.au [192.168.1.64]) by WEBBSD1.turnaround.com.au (8.8.7/8.8.7) with ESMTP id JAA28956; Wed, 26 May 1999 09:16:14 +1000 (EST) (envelope-from A_Johns@TurnAround.com.au) Message-ID: <374B2C29.9EFA6F1E@TurnAround.com.au> Date: Wed, 26 May 1999 09:03:05 +1000 From: Andrew Johns Organization: TurnAround Solutions P/L X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Fabrizio Invernizzi Cc: FreeBSD QUESTIONS Subject: Re: Printing Postscript file References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Fabrizio Invernizzi wrote: > > Hi > > I am tring to configure my printer to print postscript files, but I have > some problems and some questions. > > My system configuration: > > OS : FreeBSD 3.1-RELEASE > Printer:HP laserjet series II > > I edited a filter to resolve the CR/LF and form feed problems > and I configured /etc/printcap to use this filter . > With this configuration I have no problem to print ASCII files. > > Then I install ghostscript (as my priinter is not a postscript one) to > translate ps or pdf file , and I use gs with the driver "laserjet" (the > only one that works with my printer). > This configuration works, but when I try to print with the line command > /usr/local/bin/gs -sDEVICE=laserjet -sOutputFile=\|lpr quickguide.pdf > after some messsages from gs, I obtain > > lpr: : copy file is too large > Broken pipe > You need to set the mx parameter in /etc/printcap. This entry (default 1000 blocks = 500k if not specified) controls the maximum size of a print job. See the manual page for printcap for more info. -- Regards | _/\_/\ Andrew Johns BSc (Comp Sci) | / \ TurnAround Solutions Pty Ltd | \_...__/ http://www.turnaround.com.au/ | \/ "The box said 'Requires Windows 98, NT, Linux or better' so I installed FreeBSD." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message