From owner-freebsd-questions@FreeBSD.ORG Sun Jan 26 19:09:11 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 01E73BD for ; Sun, 26 Jan 2014 19:09:11 +0000 (UTC) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C302311C2 for ; Sun, 26 Jan 2014 19:09:10 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id s0QJ93NG011320 for ; Sun, 26 Jan 2014 12:09:03 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: <52E55D4F.8060803@dreamchaser.org> Date: Sun, 26 Jan 2014 12:09:03 -0700 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130730 Thunderbird/17.0.7 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: ps problem Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Sun, 26 Jan 2014 12:09:03 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: freebsd@dreamchaser.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jan 2014 19:09:11 -0000 I'm trying to debug a duplex printing issue with my printer. I've got cups installed. The following file, when printed with lpr filename.ps goes through the duplexing motions, but never prints anything. Not being much of a ps geek... hints? %!PS-Adobe-3.0 %cupsJobTicket: media=Letter sides=two-sided-long-edge %%BoundingBox: 36 36 576 756 %%Pages: 2 %%LanguageLevel: 2 % This file has two pages, with the second supposed to be printed back to back in proper orientation; % i.e. not upside down. %%Requirements: duplex %%DocumentNeededResources: font Times-Roman %%EndComments %%BeginDefaults %%PageOrientation: Portrait 1.0 setgray /Times-Roman findfont 60 scalefont setfont %%EndDefaults %%BeginSetup %%BeginFeature: *Duplex DuplexNoTumble << /Duplex true /Tumble false >> setpagedevice %%EndFeature %%EndSetup %%Page: (Front Page (1)) 1 % Page 1 text 1.0 setgray /Times-Roman findfont 60 scalefont setfont newpath 100 200 moveto (This is page (1).) %%Page: (Back Page (2)) 2 % Page 2 text /Times-Roman findfont 1.0 setgray 60 scalefont setfont newpath 100 200 moveto (This is page (2).) showpage %%EOF %