From owner-freebsd-current@FreeBSD.ORG Thu Feb 12 12:38:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6850416A4CE for ; Thu, 12 Feb 2004 12:38:12 -0800 (PST) Received: from mail.tellme3times.com (dsl-yul-102.e-scape.net [209.47.218.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 380E643D2F for ; Thu, 12 Feb 2004 12:38:12 -0800 (PST) (envelope-from chris@tellme3times.com) Received: from tellme3times.com (charge [192.168.7.23]) by mail.tellme3times.com (Postfix) with ESMTP id 146F94245 for ; Thu, 12 Feb 2004 15:36:50 -0500 (EST) Message-ID: <402BE4C0.3090604@tellme3times.com> Date: Thu, 12 Feb 2004 15:40:32 -0500 From: Chris User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031210 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Parallel port printing on 5.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2004 20:38:12 -0000 I'm trying to get ghostscript running on my 5.1. I took the same script I had on 4.7 which has the following line that calls gs; /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=ljet4 \ -sOutputFile=/dev/fd/3 - && exit 0 I get the following in lpd-errs; Error: /invalidfileaccess in --.outputpage-- Operand stack: 1 true Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 0 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1059/1123(ro)(G)-- --dict:0/20(G)-- --dict:108/200(L)-- Current allocation mode is local Last OS error: 45 GNU Ghostscript 7.07: Unrecoverable error, exit code 1 Feb 12 15:37:04 charge lpd[1787]: lp: job could not be printed Now in /dev/fd/ I only have 0 1 2 and no 3 I can print simple text to the printer but nothing formated in postscript... Do I need to create 3? If so how? Chris