Sponsored Content
Full Discussion: UnixWare printing
Top Forums UNIX for Advanced & Expert Users UnixWare printing Post 37468 by RTM on Thursday 19th of June 2003 10:45:20 AM
Old 06-19-2003
The link does provide an answer (from what I'm reading).

Quote:
Problem Solution description :

In a nutshell , the problem was ultimately solved firstly by using the interface script /usr/lib/hpnp/hpnpIS.model as a default interface and then adding the printer. Then , the new script in /etc/lp/interfaces was amended slightly so as to use the landscape mode as the default.

At line 314 of the /etc/lp/interfaces/[printer] script there should be a CASE statement that handles the control codes that get sent to the printer based on the required mode of printing.

314 case "$orientation" in
315 landscape)
316 echo "\033&l1O\c"
317 ;;
318
319 *)
3 echo "\033&l0O\c"
321 ;;
322 esac

I solved the problem by setting the landscape option as the default. Remove the line 3 and add a copy of the line of code at 316. This was necessary to do because currently the script , like many others , sets landscape or portrait options based on what the user specifies on the command line using 'lp'. What is not mentioned in most existing hardcopy SCO documentations is that Even although you do NOT need filters to print in landscape mode , a filter defined by the UNIX command 'lpfilter' needs to be associated with the relevant printer if you are going to use the '-y landscape' or equivalent option to the lp command. If you try to use the '-y landscape' option with the lp command for a printer that does not have a filter , you will get the following error message :


# lp -d hotkey -y landscape /etc/hosts
UX:lp: ERROR: There is no filter to convert the file content.
UX:lp: 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.
#


Because of this , the solution you have outlined in /SCOFAQ/scotec7.html#defaults will not work if the printer does not have a filter , at least in UW7 systems ; I cannot vouch for others.
And this seems to be supported by the referenced Technical Article found at SCO (TA111121 which has step by step instruction.

(FYI - I can only assume this will work in your environment - I don't have a SCO box to do testing on)
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Printing Problems in unix ... ( Bar-cdoe - Ip Printing)

Hi guys ... i need ur help with some printing problem in unix ... first prob. : i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) . My issue , is it possible to print directly to an Ip address from unix ? How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies

2. SCO

Performance issue from Unixware 2.1 to Unixware 7

Hello, I am having performance problem when , i ported a c code from Unixware 2.1 to Unixware 7.0.0. My program establishes a synchornous connection with the client in a windows OS and then sends and receives messsages using the recv and send calls. What i hyave noticed is that after a... (0 Replies)
Discussion started by: Amith
0 Replies

3. UNIX for Dummies Questions & Answers

please help me about unixware 7.1.3

msg: vfs_mountroot:cannot mount root %%%%%% system don't start (0 Replies)
Discussion started by: hushboy
0 Replies

4. SCO

Unixware problem

Dear All, I have a HP Netserver LH3 server which has unixware 7 os with oracle. Suddenly it shows a error message that " Raw Stack Dump beigns at 0xFFFDABIC... Generating Selective dump Storing system memory image for crash analysis.... #scanning memory....dumping to disk (Press any key to... (0 Replies)
Discussion started by: mr.chiranjib
0 Replies

5. SCO

unixware 2.0

High, I have a simulator application running on unixware 2.1, there are no original installation CDs for the application. is it possible to copy directories and configuration files, related to the installed application, from unixware 2.1 to other system running Unixware 7.1.1 (replacing Unixware... (0 Replies)
Discussion started by: fareedah
0 Replies

6. SCO

Installing UNIXWARE 7.1.1

I want to install unixware 7.1.1 on a server which does not have a on board floppy drive. I have got a USB floppy drive. Can anybody please help me...how could I provide HBA disk using this USB floppy drive???? (0 Replies)
Discussion started by: siddhartha7m
0 Replies

7. News, Links, Events and Announcements

Are the UnixWare 7.1.1 sources available?

So, I was browsing groklaw.net, and I was surprised to read that Pamela Jones was reading the copyright notices in the UnixWare 7.1.1 source code files... Groklaw - Santa Cruz Listed Novell as Owning the Copyrights in 1999 How can that be? Are the UnixWare 7.1.1 sources available to the... (1 Reply)
Discussion started by: pepinox
1 Replies

8. SCO

Unixware Crash ...

Hi, I need help, one of our servers is down, and all data in that Server are critical: The Scenario: ------------- I have a computer with the next architecture: architecture=IA32 bus_types=PCI2.10,ISA,PnP1.0 hostname=xxx.xxx.xxx (the real name is hidden) hw_provider=Generic AT... (2 Replies)
Discussion started by: danilosevilla
2 Replies

9. Windows & DOS: Issues & Discussions

Linux to Windows Printing: PDF starts printing from middle of page.

We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies

10. UNIX for Dummies Questions & Answers

Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts). This is the configuration file : Code: root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies
GIMPPRINT-MEDIATYPES(7) 				      Gimp-Print Manual Pages					   GIMPPRINT-MEDIATYPES(7)

NAME
gimpprint-mediatypes - Gimp-Print media types DESCRIPTION
Gimp-Print supports many different media types, which are printer type specific. The option names are case sensitive. Two names are listed for each resolution; the first (short) name is the mediatype, and the second (long) name is descriptive. Not all media types are supported on all printers. MEDIA TYPES
Epson and Lexmark (other than the 4076) inkjet printers Media Type Description ------------------------------------------ Plain Plain Paper PlainFast Plain Paper Fast Load Postcard Postcard GlossyFilm Glossy Film Transparency Transparencies Envelope Envelopes BackFilm Back Light Film Matte Matte Paper Inkjet Inkjet Paper Coated Photo Quality Inkjet Paper GlossyPhoto Premium Glossy Photo Paper Luster Premium Luster Photo Paper Photo Photo Paper Glossy Photo Quality Glossy Paper Ilford Ilford Heavy Paper Other Other We have found that glossy photo papers not specifically designed for Epson printers generally perform poorly in Epson printers. The ink tends to pool on the paper, causing muddy shadows and possibly leaving ink on the printer rollers. Use of the highest quality printing modes (1440x720 highest quality and 2880x720 unidirectional) produces the best result on such papers, probably because printing is slower and there is more time for the ink to dry. Canon printers Media Type Description ------------------------------------- Plain Plain Paper Transparency Transparencies BackFilm Back Print Film Fabric Fabric Sheets Envelope Envelope Coated High Resolution Paper TShirt T-Shirt Transfers GlossyFilm High Gloss Film GlossyPaper Glossy Photo Paper GlossyCards Glossy Photo Cards GlossyPro Photo Paper Pro PCL (Hewlett-Packard and Lexmark 4076) inkjet printers Media Type Description ---------------------------------------- Plain Plain Bond Bond Premium Premium Glossy Glossy/Photo Transparency Transparency GlossyQD Quick-dry Photo TransparencyQD Quick-dry Transparency PCL laser printers do not allow specification of any media type. COPYRIGHT
Copyright (C) 2001 Michael Sweet (mike@easysw.com) and Robert Krawitz (rlk@alum.mit.edu) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This manual page was written by Roger Leigh (roger@whinlatter.uklinux.net) SEE ALSO
gimpprint-color(7), gimpprint-dithers(7), gimpprint-imagetypes(7), gimpprint-inktypes(7), gimpprint-mediasizes(7), gimpprint-media- sources(7), gimpprint-models(7), gimpprint-resolutions(7). Version 4.2.4 25 Nov 2002 GIMPPRINT-MEDIATYPES(7)
All times are GMT -4. The time now is 03:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy