Sponsored Content
Special Forums IP Networking How do you send printer codes to an IP printer Post 74390 by jeffbugfree on Thursday 9th of June 2005 11:16:39 AM
Old 06-09-2005
How do you send printer codes to an IP printer

We were printing to a serial laser printer with all the HP codes to generate a form (i.e. lines, boxes, etc.) Thus the file is filled w/ control codes. We are switching to an IP printer and we can no longer print directly to the device (i.e. cp text /dev/tty11). It looks like we have to use the lp spooler now. When we do this the codes are ignored as the line is too long. Is there away to send raw text to an IP printer that is using the Jet Direct card to setup the queues? I saw an stty option on the lp command, can that be used to put it in raw mode?

Thanx for your help
Jeff
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

HP Printer

Dear Experts How can I configure my workstation in order to be able to sent print? I am working on a sun workstation with Solaris 8 as its OS. My printer is an HP8000 series and is connected somewhere to our network. I know the IP address of the printer and I have put it in /etc/hosts file. So I... (8 Replies)
Discussion started by: Reza Nazarian
8 Replies

2. Linux

know I do for to printer in printer deskjet 80colun

I want to print some thing in HP Deskjet 692.? (1 Reply)
Discussion started by: edvaldo
1 Replies

3. Solaris

how can i send to printer ?

Hello how can i send simple txt file to printer from sun ? tnx (1 Reply)
Discussion started by: umen
1 Replies

4. Solaris

Configuring Printer with Printer Manager

Hi All, I am trying to configure printer in solaris 10 with the help of print manager. There is no printer attached to my system, ia m doing it for test purpose. However I am unable to do so coz its pops up window - Heading as error with option as dismiss and cancel. Kindly help as I am... (3 Replies)
Discussion started by: kumarmani
3 Replies

5. AIX

Check printer queue on Windows printer server

Hello Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running. I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies

6. Linux

Find printer location and printer type

Hi, Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ? Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies

7. Solaris

Printer printing control codes

Solaris 10: Having some trouble with a new printer printing control codes. This is an HP MFP M632. Tried a few ppd files and without a ppd file using commands similar to the follow: lpadmin -p L4102A -v /dev/null -m netstandard -n... (1 Reply)
Discussion started by: kuliksco
1 Replies
slp(1)							      General Commands Manual							    slp(1)

NAME
slp - set printing options for a non-serial printer SYNOPSIS
cols] indent] lines] pages] pages] DESCRIPTION
sets printer formatting options such as the number of lines per page, number of characters per line, and indentation. These characteris- tics are controlled by the printer driver as described in lp(7). acts on the current standard output. Options recognizes the following options and arguments: Report all option settings. Specify a character printer where backspace characters pass through the driver unchanged. The absence of this option indicates a line printer. The driver takes the necessary action to accommodate backspace characters. Resets the printer back to line-printer mode. Limit the number of columns to be printed to cols. Characters beyond the specified limit are truncated. Reset options to default for the device. This action is not taken until the next open occurs on the device. Indent indent columns before printing the first column. Select cooked mode. Cooked mode must be used with a cooked device special file which is identified by an lp mnemonic that is not preceded by the character Specify the number of lines per page. The last new-line character of each page is changed to a form-feed. Set the page size to infinity. Since the last new-line of the page is never encountered, no new-line characters are changed to form-feeds. Select a raw mode for graphics dumps. All other options are ignored except If the option is not given, is assumed. Eject zero or more pages after the final close of the device. Eject zero or more pages when the device is opened. EXAMPLES
In a typical case, the printer is set to 80 columns, no indentation, with no form-feeds between pages: WARNINGS
Use of the command in conjunction with the spooler (see lp(1)) might cause undesirable side effects. The spooler model files make assump- tions regarding the configuration and can get confused when the default values are altered. Although most options can be altered without difficulty, special problems sometimes result from adjusting the number of lines and the number of columns per page. AUTHOR
was developed by HP. SEE ALSO
lp(1), ioctl(2), lp(7). slp(1)
All times are GMT -4. The time now is 07:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy