UnixWare printing


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users UnixWare printing
# 1  
Old 06-18-2003
UnixWare printing

I have a Unixware OS and a HP Business Inkjet printer. I am unable to print from Unixware in landscape mode. I have tried filters and have failed every time. Any advice would be greatly appreciated.
# 2  
Old 06-18-2003
Try this faq on www.aplawrence.com.
# 3  
Old 06-19-2003
Thanks. I did read this article and it did not provide the solution that I was seeking. I think that I need to know how to write a filter that will allow me to use the lp -y landscape option, but my filter creation attempts have failed every time.
# 4  
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)
# 5  
Old 06-19-2003
Thanks. I will read these articles again and attempt to solve my problem.
# 6  
Old 06-20-2003
I am using a Deskjet printer that is not a network printer so the interface scripts are different from those of the HP network printers. There is no mention of the landscape option in the script that my printer is using.

I tried repeatedly to create a filter for the landscape option but I am not doing it correctly. The article did not really explain about how to create a printer filter.
# 7  
Old 06-20-2003
Try this information on Providing filters - read all the documentation - especially the one about setting up a printer with multiple names (once you get the filter working)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question