Printer Error(the Object Instance Test Does Not Exist)


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Printer Error(the Object Instance Test Does Not Exist)
# 1  
Old 09-04-2002
Printer Error(the Object Instance Test Does Not Exist)

Hello, i need some help about how to set up a high velocity impact printer in UNIX SCO 5.05,

this printer is attached with a parallel port in a PC(host), the host use tunemul to access unix.(this reference is just to ask you if this is a local or remote connection, just to be sure),

so, i was using mkdev lp
and following all the steps


when i finished all appears right

the command lpstat -t says :
printer test is idle. enabled since Wed Sep 04 12:44:36 2002. available.

at this point all looks good

but, when i send the print job nothing happens

lp -d test .profile // example
# 2  
Old 09-22-2002
Hi there,

I have gone through the streps, the only thing you have missed is that first you have to accept the printer for printing and then enable the printer for printing.

Syntax : #accept -d printer name
#enable -d printer name
This will activate ur printer.

When u give the command lpstat -t
it gives the output as
#printername on port ans the status as enable.

Here the -d symbol stands for Default printer. This should most probably be a serial printer. For a printer connected as parallel printer from a PC, you neednot
# 3  
Old 09-24-2002
Let me make sure I have this straight...

You have a printer attached to your PC. You connect to the Unix server via telnet/SSH or some other emulation. You want it to print to your printer?

If the above is correct, you cannot just makedev on the Unix server. You'd need to set your workstation up as a print server, then configure the Unix box to forward print requests...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to test if remote dir exist?

Hello, :) I'm trying to test if a remote directory exist per ssh, I have already made a ssh key and it works : #!/bin/bash HOST="10.10.1.22" FILE_PATH="/var/wwww/html" ssh -q $HOST ] && echo "Directory exists" || echo "Directory does not exist"; Output : ... (4 Replies)
Discussion started by: Arnaudh78
4 Replies

2. Programming

How to initialize an object with another object of different class?

How to initialize an object of class say "A", with an object of type say "B". The following code give the error message "error: conversion from âAâ to non-scalar type âBâ requested" #include <iostream> using namespace std; class B; class A{ public: A() { cout <<"\nA()" << endl; } ... (1 Reply)
Discussion started by: techmonk
1 Replies

3. Shell Programming and Scripting

Test variables exist using a for loop

I am setting a number of variables in my script and I would like to test they exist by using a for loop. e.g. VAR1=abc VAR2=xyz for i in VAR1 VAR2; do if ; then echo Alert fi done But of course the $i doesn't refer to the variable itself, rather to the strings VAR1 & VAR2. Does... (2 Replies)
Discussion started by: Catullus
2 Replies

4. Programming

Kernel module - How to test if file doesn't exist

Hey, I'm currently getting into some kernel module progamming. As a little exercise I want to read the headers out of an ELF file. My code is very simple, here is the important part: struct file *fp; /* ... */ fp = filp_open("some/file/on/my/pc", O_RDONLY, 0); if(fp == NULL) { ... (15 Replies)
Discussion started by: disaster
15 Replies

5. Virtualization and Cloud Computing

Amazon CloudFront / S3 Small Object Test Results

After some initial confusing results measuring "before-and-after CloudFront/S3" performance, Dennis Opacki, Systems Operations Manager for Amazon Cloudfront offered to help. Working with the test results from a number of members of The UNIX and Linux Forums pulling a small 1623 byte gif object... (3 Replies)
Discussion started by: Neo
3 Replies

6. UNIX for Dummies Questions & Answers

Object reference not set to an instance of an object

I am new to PHP and UNIX. I am using Apache to do my testing on a Windows Vista machine. I am getting this error when I am trying to connect to a web service. I did a search and did not see any posts that pertain to this. Here is my function: <?php function TRECSend($a, $b, $c, $d,... (0 Replies)
Discussion started by: EddiRae
0 Replies

7. Shell Programming and Scripting

File exist test

Can someone please shed light on why this may not be working, file does exist, but I get an error if ] then echo "No ${source_path}/${file_mask} found - ">> ${logfile} result=1 check_result ${result} "Failed to find file... (4 Replies)
Discussion started by: Pokermad
4 Replies

8. Linux

Error Mismatched object file

Dear All, Need your help to rectify this error. Recently I have upgraded my Linux server from 32 bit to 64 bit server. OS details are Red Hat Enterprise Linux Server release 5.3 Kernel 2.6.18-120.el5 on an x86_64 After upgradation, when i try to compile or catalog any program, it is... (2 Replies)
Discussion started by: mysmileforu
2 Replies

9. Programming

Object File Error

Hi, I've tried to compile a program I wrote with a Makefile, yet it returns an error: <<<test_log>>> itest_log.o /sr/local/bin/gcc -o test_log.o -I ../../../include -L ../../../lib -llog_mgr sh: itest_log.o: execute permission denied Error code 1 make: Fatal error: Command failed for... (3 Replies)
Discussion started by: Stevhp
3 Replies
Login or Register to Ask a Question