The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how can i send to printer ? umen SUN Solaris 1 02-08-2006 02:40 AM
know I do for to printer in printer deskjet 80colun edvaldo Linux 1 07-13-2004 01:20 AM
Printer hassan2 UNIX for Dummies Questions & Answers 4 02-14-2003 10:54 AM
Printer hassan2 UNIX for Advanced & Expert Users 2 09-17-2002 03:43 PM
printer plusran UNIX for Dummies Questions & Answers 3 09-05-2001 04:15 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 06-09-2005
Registered User
 

Join Date: Jun 2005
Posts: 2
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
Reply With Quote
Forum Sponsor
  #2  
Old 06-09-2005
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,590
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.
Reply With Quote
  #3  
Old 10-20-2005
Registered User
 

Join Date: Oct 2005
Posts: 1
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 )
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:23 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0