From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97559947521152.tru64-unix-managers.marc@archive.invalid> From: Tru64 User Date: Thu, 30 Nov 2000 15:52:06 +0000 To: tru64-unix-managers Subject: (SUMMARY)Postscript/Landscape Printing X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97559947521152 I received one main response on this, which enlightned me. But, in the meantime, printing the postscript problem was fixed by gslp printing. Search the archives for gslp script (5-6 line script, requires ghostscript to be installed on your machine), it helped 'save the day'. **********Collin Walters wrote:************* There is only limited support for the additional features offered by third party printers. (That is, printers supplied by vendors other than Compaq). The onus is on the printer vendor to supply a filter for their model, along with the correct printcap settings. Many vendors do not supply filters for Digital (Tru64) UNIX but their filteres are often generic enough to work on most models. You should re-run lprsetup or printconfig and test the different hp* filters that we supply in /usr/lbin. Also, test the general-purpose print filters such as pcfof. There is no guarantee that all the printer features are available when using these filters. Another method is to look up the printer control characters on the HP web site and embed the appropriate escape sequences in a file. You can send the file to the printer to set it up for a given job, or add escape codes file that is to be printed. This strategy usually enables all the features on a given printer. In recent releases we have added support for PPD files, which works for any printer supporting the PPD standard. See the following URL for an explanation of how they work: http://www.tru64unix.compaq.com/faqs/publications/best_practices/BP_3PPP/TIT LE.HTM Regards, Colin Walters Compaq UNIX Business Segment - Tru64 UNIX Publications Group System Administration Documentation Nashua, NH USA Tel: 603-884-0440 http:\\www.zk3.dec.com\~walters (firewalled) ONLINE DOCUMENTATION AT: http://www.unix.digital.com/faqs/publications/pub_page/doc_list.html See our new Best Practices -----Original Message----- From: tru64-unix-managers-owner@ornl.gov [mailto:tru64-unix-managers-owner@ornl.gov]On Behalf Of Tru64 User Sent: Wednesday, November 29, 2000 12:31 PM To: tru64-unix-managers@ornl.gov Subject: Postscript/Landscape Printing Having problems printing .ps files and -Olandscape (anyfile). Using DU 4.0F, and printer is Laserjet HP8000DN. Printer is hooked up locally on lp0, and here is my printcap portion for this printer, trying to print to "fancy": # Duplex printer in ### degas|simplex:\ :lp=/dev/lp0:\ :sh:mx#0:\ :sd=/usr/spool/lpd/degas:\ :if=/opt/printfilter/bin/ifhp -Z simplex:\ :of=/opt/printfilter/bin/ofhp:\ :lf=/usr/spool/lpd/degas/errorlog: lp|fancy:\ :lp=/dev/lp0:\ :sh:mx#0:\ :if=/opt/printfilter/bin/lj8000-filter:\ :sd=/usr/spool/lpd/fancy:\ :lf=/usr/spool/lpd/fancy/errorlog: duplex:\ :lp=/dev/lp0:\ :sh:mx#0:\ :sd=/usr/spool/lpd/degas:\ :if=/opt/printfilter/bin/ifhp -Z duplex:\ :of=/opt/printfilter/bin/ofhp:\ :lf=/usr/spool/lpd/degas/errorlog: Problems: 1. When I send a .ps printjob regularly, thru regular lpr command and Letter paper, I get "Can't select requested paper size for Frame print job!" So, I went ahead and did a manual feed for legal paper. Then it prints, but potrait. This way it chops of the document both sides. Looks like it will fit right if I print landscape. So I use "lpr -Olandscape filename", it still comes out portrait. 2. Another postscript file, within a large document. Using Ghostview (gv), and selecting "print current/selected page", the following comes up: ERROR: undefined OFFENDING COMMAND: mF STACK: /Times-Roman true /Type1 /Times-Roman 0.905 /F0 When I print the whole document, there is no problem!! (but it is a 30 page doc, and I only needed 1!!) I will really appreciate all the hints I get can get. I checked archives, found something about :lp@aaa.bbb.ccc.ddd/hpjd and using of=/usr/lbin/hplaserof:\ but since in my case this printer is hooked up to lp0, I was not sure of how to cordinate this. Although it is hooked up to lp0 on machine A, all other machines access it as a network printer. I tried printing remotely and locally, same results. ===== Richard F. MollelSystems AdministratorSAIC Greenbelt, MD Experience is what allows you to recognize a mistake the second time you make it. ===== Richard F. MollelSystems AdministratorSAIC Greenbelt, MD Experience is what allows you to recognize a mistake the second time you make it. __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/