From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Navneet Verma Newsgroups: gmane.os.tru64.managers Subject: Landscape printing on a network printer using SYS V Date: Tue, 12 Aug 2003 18:40:42 -0400 Organization: MCI Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <000201c36122$c37f2d60$7c5823a6@wcomnet.com> Reply-To: navneet.verma@mci.com NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1060728326 24569 80.91.224.253 (12 Aug 2003 22:45:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2003 22:45:26 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Aug 13 00:45:24 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19mhtM-0007ED-00 for ; Wed, 13 Aug 2003 00:45:24 +0200 Original-Received: (qmail 879 invoked by uid 5); 12 Aug 2003 22:45:14 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 870 invoked by uid 49493); 12 Aug 2003 22:45:13 -0000 Original-Received: from navneet.verma@mci.com by sws1 by uid 49491 with qmail-scanner-1.16 (clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(0.0/5.0):. Processed in 0.488904 secs); 12 Aug 2003 22:45:13 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 12 Aug 2003 22:45:13 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HJJ00D4D37CGI@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 12 Aug 2003 18:45:13 -0400 (EDT) Original-Received: from dgesmtp02.wcom.com (dgesmtp02.wcom.com [199.249.16.17]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HJJ00AIX36TNB@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 12 Aug 2003 18:44:53 -0400 (EDT) Original-Received: from dgismtp01.wcomnet.com ([166.38.58.141]) by firewall.wcom.com (Iplanet MTA 5.2) with ESMTP id <0HJJ00FGJ30MV1@firewall.wcom.com> for tru64-unix-managers@ornl.gov; Tue, 12 Aug 2003 22:41:10 +0000 (GMT) Original-Received: from dgismtp01.wcomnet.com by dgismtp01.wcomnet.com (iPlanet Messaging Server 5.1 HotFix 0.7 (built May 7 2002)) with SMTP id <0HJJ00C0130M6W@dgismtp01.wcomnet.com> for tru64-unix-managers@ornl.gov; Tue, 12 Aug 2003 22:41:10 +0000 (GMT) Original-Received: from navneet ([166.35.88.124]) by dgismtp01.wcomnet.com (iPlanet Messaging Server 5.1 HotFix 0.7 (built May 7 2002)) with ESMTP id <0HJJ00C0A30L4E@dgismtp01.wcomnet.com> for tru64-unix-managers@ornl.gov; Tue, 12 Aug 2003 22:41:09 +0000 (GMT) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:5099 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5099 I have an AS4100 TRU64 v4.0g system with System V installed on it. I would like to print text to a network attached HP LaserJet printer in landscape mode. I am able to print regular text files in portrait modes thru the queue already defined. I have tried a number of options with lpadmin but have been unsuccessful till now. #Lpsystem sys_name #lpadmin -p printer_name -T hplaser -I hplaserof,simple -s sys_name #accept printer_name #enable printer_name #lpshut #start lpsched #lpr -P printer_name /etc/motd (works fine) # lpr -P printer_name -O landscape /etc/motd UX:lpr: ERROR: There is no filter to convert the file content. TO FIX: Use the lpstat -p -l command to find a printer that can handle the file type directly, or consult with your system administrator. #lpstat -p -l printer printer_name is idle. enabled since Tue Aug 12 18:22:15 EDT 2003. available. Content types: hplaserof, simple Printer types: hplaser Description: Users allowed: (all) Forms allowed: (none) Banner not required Character sets: (none) Default pitch: 10 CPI 6 LPI Default page size: 80 wide 60 long Am I missing something? Are there some different switches that I have to use to define in the lpadmin? I will summarize. Regards, Navneet Verma