Sponsored Content
Operating Systems SCO Modifying serial printers device Post 302613789 by herot on Wednesday 28th of March 2012 02:14:35 PM
Old 03-28-2012
Well, that def changed the dev to /dev/ttyr014 (verified with a lpstat -s). I will have to verify that it is going to the correct printer tomorrow when I get back in the office. NOW, can you tell me what I missed when trying to do that manually? What file did scoadmin change?SmilieSmilie


The reason I need to know is because not all of the printers that I am planning on changing are Local. scoadmin will not let you change dev's on remote printers... unless you find the file and change it with vi.

---------- Post updated 03-28-12 at 08:04 AM ---------- Previous update was 03-27-12 at 08:58 PM ----------

Well, even after using scoadmin to make the tty change, it still prints to the wrong tty. Do I need to do a lpshut -> lpstart?

---------- Post updated at 12:58 PM ---------- Previous update was at 08:04 AM ----------

Nevermind lpshut, lpsched did not help.

---------- Post updated at 02:14 PM ---------- Previous update was at 12:58 PM ----------

***SOLVED***

PREVIOUS admin had labeled the RIO's backwards so sticker port 8 was actually port 1... etc...

Thanks for help.

BTW, you can edit the files manually. You just have to do a lpstop , lpsched after.Smilie
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

serial port device path

hi. Im trying to install a switch. And the manual says i should type a command including a SerialPortDevicePath. which is the filepath to serial port used for connection. However.. nothing about how to find this info. Could anyone help me where to find this path? thx mr.T (6 Replies)
Discussion started by: tyskertøs
6 Replies

2. Programming

Accessing device with Prolific USB-serial controller.

I am trying to access DG-100 gps logger on Mac OS X with POSIX API. The device uses a Prolific usb-serial controller, and connect to the usb port on my mac. After I install the Prolific driver, it shows up as /dev/tty.usbserial and /dev/cu.usbserial. The vendor has published the data format. So... (1 Reply)
Discussion started by: monkeybiz
1 Replies

3. Linux

Device serial number

Hey! I'm trying to figure out a sollution for a problem I have at my company with an Iomega MiniMax 500 GB USB disk. If i run cat /proc/bus/usb/devices I get this information: T: Bus=01 Lev=02 Prnt=04 Port=00 Cnt=01 Dev#= 5 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00... (2 Replies)
Discussion started by: noratx
2 Replies

4. Ubuntu

Ubuntu 9.04 Serial application to telnet to serial device

Hello! I am working on an application which reads environmental instruments which have serial ports. The application requires a serial port to be present to talk to the device (i.e. /dev/ttyS0 ). In some instances the environmental devices will be 100's of yards away from the computer, so a... (5 Replies)
Discussion started by: mvona
5 Replies

5. Programming

Problem with read data from serial device

I have problem with C programming. I want to send & receive data through serial communication. I send data(command) to device to get data from device but when receive data, it can't get altogether of data. It get only some data. What should I do to get altogether of data? If all of... (7 Replies)
Discussion started by: noppon_s
7 Replies

6. Solaris

"Device busy" When Reopening Serial Port

Any help much appreciated. I am a Java developer, not a Solaris adept. I'm having an issue reopening serial port with the Java app I am developing. I develop in Windows and deploy the app on Solaris 10 (Sunfire X4170 with Xeon.) On the target machine my app uses the two serial ports... (11 Replies)
Discussion started by: Jim Ryan
11 Replies

7. Red Hat

Unable To Activate Ethernet Network Device in RHEL 5.5 - e100 device eth0 does not seem to be presen

Hi All, Could anyone please help to resolve the below problem. I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error. I spent 2 days for the above and go through with several suggestion found by googling. But no luck. ... (0 Replies)
Discussion started by: Tanmoy
0 Replies

8. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

9. Shell Programming and Scripting

Read line from serial device with BASH

I'm new to Linux (Ubuntu 16.04), and very new to BASH scripting. I have a Numato 8-channel USB GPIO device, which is a DAQ that appears in the system as a serial port. In Linux it appears as ttyACM0. I can easily manipulate a GPO with, for example: echo "gpio set 7" > /dev/ttyACM0 ...followed... (12 Replies)
Discussion started by: Chalk-X
12 Replies
lpshut(1M)						  System Administration Commands						lpshut(1M)

NAME
lpshut - stop the LP print service SYNOPSIS
lpshut DESCRIPTION
The lpshut command stops the LP print service. Printers that are printing when lpshut is invoked stop printing. Start or restart printers using lpsched(1M). EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. FILES
/var/spool/lp/* LP print queue. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |Availability |SUNWpsu | +-----------------------------+-----------------------------+ SEE ALSO
lp(1), lpstat(1), lpadmin(1M), lpmove(1M), lpsched(1M), attributes( 5) System Administration Guide: Basic Administration SunOS 5.10 8 Jan 1998 lpshut(1M)
All times are GMT -4. The time now is 08:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy