The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

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 05:40 AM
know I do for to printer in printer deskjet 80colun edvaldo Linux 1 07-13-2004 04:20 AM
Printer hassan2 UNIX for Dummies Questions & Answers 4 02-14-2003 01:54 PM
Printer hassan2 UNIX for Advanced & Expert Users 2 09-17-2002 06:43 PM
printer plusran UNIX for Dummies Questions & Answers 3 09-05-2001 07:15 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-09-2005
jeffbugfree jeffbugfree is offline
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
  #2 (permalink)  
Old 06-09-2005
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,206
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 (permalink)  
Old 10-20-2005
Chris123 Chris123 is offline
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 )
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:32 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0