Solved

Printer Questions

Posted on 1998-10-06
4
316 Views
Last Modified: 2010-04-21
We've got a printer(printer1) set-up through a tty device(tty01).  lpstat showed the printer as not accepting data.  An 'accept tty01' was done which changed the status to accepting data, however, that should have been an 'accept printer1' instead.  All the data is now queueing up instead of printing.  It appears as though the accept changed some property of the printer (it now thinks it's a tty instead of a printer?) so it no longer prints.  Any idea what needs to be changed so it can print again?

We've got a down printer(see above :).  It has a queue of print jobs.  An lpmove (lpmove printer1 printer2) was done to a working printer.  The jobs all disappeared from the original printer1 queue, however, they never printed from the new printer - nor are they now queued up there.  None of them required any special forms, permissions or processing.  Any idea what happened?
0
Comment
Question by:alweiner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Expert Comment

by:plebras
ID: 2007226
Hie !

1 - tty01 must be disable from login. Use disable tty01 oun SCO or admintool on SOLARIS or sam on HPUX to disable login on this port.

2 - Verify the connection by typing the following "echo HELLO\f >/dev/tty01". You printer must print HELLO if not check the cable.  By default your printer must be configured in 9600b/s, 8b, 1 Stop BIT, NO PARITY.

3 - Type "lpstat -tr" . The scheduler must running if not type "/usr/lib/lpsched" (the directory may differ with the UNIX versions eg  /usr/bin). The scheduler must accept the requests for the printer if not  type "accept printer". The printer must be idle if not type "enable printer"

4 Make a test by " lp -d printer /etc/passwd". If it is a laser printer, you may have to press form feed to eject the page or send : echo \f >/dev/tty01

5 Make the printer by default if you need by " /usr/bin/lpadmin -d printer" (or /usr/lib/..)
Bye
0
 
LVL 1

Author Comment

by:alweiner
ID: 2007227
lpmove?
0
 
LVL 1

Expert Comment

by:plebras
ID: 2007228
Hi

Is the direct printing "echo Hello\f" >/dev/tty01 ok ?

What kind of UNIX and Printer ?

are the files to print correctly formated for the printer (Postcript, raster... HPGL, PCL..)?

is printer1 identical to printer2 (eg file ascii or raster on printer1 and postcript on printer2
0
 
LVL 5

Accepted Solution

by:
tfabian earned 50 total points
ID: 2007229
how about deleting the printer by using the "reject" command.. It's teh inverse/reverse of the "accept" command..

then repeat the "accept" command with the proper printer queue name, remembering to use the "enable" command to actually turn on the queue..


good luck


0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question