printing devices


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers printing devices
# 8  
Old 12-22-2003
Details, Details would be nice. The more we know the more we can help.

sysadmsh, is a SCO command I believe. If Perderabo is right in assuming you are using HP UX then that command will most likely not work, but I'm not positive.

Tell us what platform you are running on.
# 9  
Old 12-22-2003
It can't be HP-UX. The lp subsystem seems too different and HP-UX has no sysadmsh.

I don't think that a getty should be running on a printer port. Not sure if this will work, but ...

Find the line in /etc/inittab for the getty. Change "respawn" to "off". Then try:
telinit q
if there is no telinit, just try:
init q
This should get rid of that getty you were trying to kill.

On my system, the model/interface script is where the baud rate gets set. I have no idea how your system works. But bear in mind, if you change baud rate on the computer you must change it on the printer too. This could be switches or menu setting...each printer is different.
# 10  
Old 12-22-2003
HN19,

Please login to your system and type this command:


uname -a


and cut and paste the results into your next post.

Thanks, Neo
# 11  
Old 12-22-2003
NEO,

Here it is: SCO_SV asia2002 3.2 5.0.6 i386.

Well you needed details... I am running SCO unix (you can tell now), I have about 5 computers in a network. I use netterm, that simulates unix terminals.
Some printers are connected directly to the pc, I use a program called omniprint so they can be able to print from unix to win.
Some other are connected to a jack that leads to the unix network. That's the one I am having problems with. The printers are okidata.

I have one that works pretty good (connected to another jack) that has a speed of 9600 baud. The one printing garbled has a speed of 38400 baud.

Think this might help?

Last edited by HN19; 12-22-2003 at 08:26 PM..
# 12  
Old 12-22-2003
That is a very good start. The port that is working at 9600 baud....does it have a getty running? Also, are any processes running that reference it?

This command:
ps -ef | grep ttys12

should answer that second question.
# 13  
Old 12-23-2003
Perderabo,

The port working doesn't have a getty running nor a process running that references it.

The one that doesn't work, does have a getty running and the following appears when I type the command that you gave me:

root 1078 1 0 09:17:59 ttys12 00:00:00 /etc/getty ttys12 o
# 14  
Old 12-23-2003
A few posts back in this thread I made a suggestion to get rid of the getty. How did that go? Did you try it? Or did something do wrong? If so, what?
 
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. Programming

Raw devices in C

Hi guys. what is the benefits of using raw devices in programming? which applications mostly use raw devices? how can i use raw devices in C programs? is there any system calls or library functions? (1 Reply)
Discussion started by: majid.merkava
1 Replies

4. UNIX for Dummies Questions & Answers

/dev X /devices

Hi folks, I am trying to learn Unix based in Linux... In Linux, in /Dev are files related to cards, mouse, etc.. how about Unix? What is the difference between /Dev and /Devices? Thanks, Fernanda (0 Replies)
Discussion started by: ffpradella
0 Replies

5. UNIX for Dummies Questions & Answers

passthrough devices vs. named devices

I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment. As an example, we have a tape library and giving the command "camcontrol devlist" gives the following output: akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies

6. Solaris

what is /devices/pseudo/ ??

Hi all, what does this mean? if then <something> fi here is what i know.. it checks if the specified argument no($devid) in some function call is made into a block device and then proceeds with the execution of the loop. However am not understand what lofi@0:means? also is there... (3 Replies)
Discussion started by: wrapster
3 Replies

7. UNIX for Dummies Questions & Answers

Devices in Unix

How can I display the devices attached to my computer through the command line? And, how do I get information about each device listed? I'm looking to make sure that my DLT drive is recognized by the computer. Using FreeBSD, if that helps. Thanks! (1 Reply)
Discussion started by: derekc132002
1 Replies

8. UNIX for Dummies Questions & Answers

Unix devices

Hi I am trying to determine the access to unix devices. I found the follow access description which I have been told is a symbolic link and is not the actual file. I was also told that all symbolic links will have rwxrwxrwx access. kmem: lrwxrwxrwx 1 root 27 May 28 16:06 /dev/kmem ->... (2 Replies)
Discussion started by: GW01
2 Replies

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

10. HP-UX

HP-UX 10.20 devices

Is it possible to create the CDROM device file for a drive attached to the parallel port? I have a removable CDROM drive (gift - I'm trying not to return it, but may have to anyways) that attaches via parallel port. The only device that I can attach to that hardware address is /dev/c1t0d0_lp, a... (9 Replies)
Discussion started by: LivinFree
9 Replies
Login or Register to Ask a Question