How do you send printer codes to an IP printer


 
Thread Tools Search this Thread
Special Forums IP Networking How do you send printer codes to an IP printer
# 1  
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
# 2  
Old 06-09-2005
Please read the rules:
(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post where your goal is to get an answer more quickly.

This is an exact duplicte of this thread.
# 3  
Old 10-20-2005
I have had similar problems myself. It turns out that if you are using an HP Jetdirect of any type (internal or external) that the "raw" port is 9100. If you copy a file to that port on the jetdirect it will print. You can test this by telneting to the printer with the following command:
telnet printer_name_or_ip_here 9100
Type some stuff here
^L (for a page feed)
^d (to end, or for my telnet, you can also use ^]quit )
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

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

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

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

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

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

7. 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
Login or Register to Ask a Question